The basic verify module of WEIXIN.
Use it as a package:
$ npm install wxverify
And if you're using
express you can pass the
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.