fary-wechat-safe-verify
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

fary-wechat-safe-verify

A very small fary/koa2 middleware to provide wachat basic business safe verify.

NPM version build status

Note: this middleware only works directly in Node 7.6+(async/await), or you can use babel to transform the source code.

Install

npm i fary-wechat-safe-verify

Usage

const createApp = require('fary');
const wechatSafeVerify = require('fary-wechat-safe-verify');

createApp({
  middlewares: [
    wechatSafeVerify()
  ]
})

Or use with koa2 directly.

Then a request like /MP_verify_654321.txt, will get response 654321.

Readme

Keywords

none

Package Sidebar

Install

npm i fary-wechat-safe-verify

Weekly Downloads

13

Version

1.0.16

License

none

Last publish

Collaborators

  • baby31529