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


License
MIT
Install
npm install fary-wechat-safe-verify@1.0.16

Documentation

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.