npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ape-sdk-demo

v1.0.0

Published

## 前提条件 * 您的机器已经安装nodejs和npm; * 您已 <a href="https://cloud.tencent.com/document/product/378/17985">注册腾讯云</a> 账号,并完成<a href="https://cloud.tencent.com/document/product/378/3629">实名认证</a>。 * 本DEMO只是提供基础功能演示,更复杂场景请结合自身业务去定制

Downloads

3

Readme

腾讯云正版图库直通车 SDK DEMO 使用教程

前提条件

  • 您的机器已经安装nodejs和npm;
  • 您已 注册腾讯云 账号,并完成实名认证
  • 本DEMO只是提供基础功能演示,更复杂场景请结合自身业务去定制

DEMO运行步骤

步骤1:创建频道

  1. 登录腾讯云控制台,选择 云产品 > 访问管理 > API密钥管理, 获取一对密钥sceretIdsecretKey 供稍后使用;
  2. 登录正版图库直通车控制台,选择开发者中心->应用管理;
  3. 单击创建频道按钮打开新建弹窗,输入频道名称,选择绑定产品和频道分类(注意:频道分类需要至少选择一项);
  4. 根据实际需求编辑后,点击保存频道按钮,然后在频道列表中复制需要使用的channelId

步骤2:下载DEMO源码

  1. 将demo源码下载至本地
    • NPM 集成 npm i ape-js-sdk-demo --save
  2. 进入项目根文件夹,并安装npm包
    npm install

步骤3:修改配置文件

  1. 打开配置文件src/constant/index.js,将步骤一获取的三个参数进行替换
    export const SCERET_ID = 'XXX'
    export const SECRET_KEY = 'XXX'
    export const CHANNEL_ID = 'XXX'
  2. 修改 /src/api/index.js 文件中的 获取签名函数,替换为自身平台后端提供的方法

步骤4:运行demo

  1. 启动本地服务,在浏览器中打开 localhost:3000即可进行预览
    npm run dev

正式应用