Skip to content
Projects

About

A CommonJS version of the official WeChat JS-SDK, with TypeScript support

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
-3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

微信官方 js-sdk

说明: 仅将官方 js-sdk 发布到 npm,支持 CommonJS,便于 browserify, webpack 等直接使用,支持 TypeScript。

官方 JS 源码: https://res.wx.qq.com/open/js/jweixin-1.6.0.js

官方使用说明: https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html

安装:

npm install weixin-js-sdk

使用:

// commonjs
var wx = require('weixin-js-sdk');

// es module
import wx from 'weixin-js-sdk'

Old versions

个人主页

感谢

TypeScript 定义文件来自 wx-jssdk-ts

Explore related projects

Loading…