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

weixiao-code-plugin

v1.0.0

Published

小程序插件

Downloads

6

Readme

小程序组件

小程序码组件(微卡)+ 应用签约组件(人脸集采)

小程序码组件

  • 组件名:小程序码组件(微卡)
  • 宿主小程序:腾讯微卡
  • appid: wx7c768908974e4f8d
  • 文档
  • 环境:线上
  • 对应体验环境组件
    • 组件名:小程序码组件体验版(体验微卡码组件)
    • 宿主小程序:微卡测试
    • appid: wx15949dc6d9b035d2
    • 文档

应用签约组件

  • 组件名:微卡签约组件(微卡签约组件)
  • 宿主小程序:腾讯微卡人脸集采
  • appid: wx6619baa0879c5ae6
  • 文档
  • 环境:体验/线上

运行

npm run start

  • 初次运行需要前置 npm i
  • 只有应用组件需要调整选择 体验/线上 环境。因为码组件体验环境本来就是拆开的,小程序端的可用域名设置也是拆开的

注意点

  • mpflow + 自定义 loader 构建,初次构建会比较慢
    • loader 发版由于 ts 的编译问题,需要手动调整 _this 的位置
  • 应用级组件里面没有码组件,且有自己独特的 request
    • 构建会通过修改 env.js 的形式,来控制 request 文件的输出和组件接口运行环境
    • 应用级组件里面不应该存在码,因此 plugin.json 中不会存在 qr-code