You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LGX
8258b1c1e3
|
4 months ago | |
---|---|---|
.. | ||
LICENSE | 4 months ago | |
README.md | 4 months ago | |
index.d.ts | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago |
README.md
微信官方 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