wechat-access-token

1.1.5 • Public • Published

wechat-access-token

pop one wechat access token sometimes refresh

Install

npm install wx-access-token

Usage

var token = require("wx-access-token");

token("appid", "secret", function(err, t) {
  console.log(t);
})

You will get one result looks like

{"access_token":"ACCESS_TOKEN","expires_in":7200}

/wechat-access-token/

    Package Sidebar

    Install

    npm i wechat-access-token

    Weekly Downloads

    2

    Version

    1.1.5

    License

    ISC

    Unpacked Size

    2.83 kB

    Total Files

    3

    Last publish

    Collaborators

    • liuguili