node package manager



The basic verify module of WEIXIN.

Refer to:

How To

Use it as a package:

$ npm install wxverify

And if you're using express you can pass the req param:

var wxv = require("wxverify");
var result = wxv.verifyExpress(req, "YOUR_TOKEN");

If the verify is succeed, it will return a string that you should echo to web. And if wrong, it will return false.