###Install
npm install verify-code
###Usage
var verifyCode = require('verify-code');
var result = verifyCode.Generate();
var vcode = result.code;
var imgDataURL = result.dataURL;
<img src="imgDataURL">
###Example
6 回复
@ouyangcode 安装出错,到canvas那边看看如何安装: https://github.com/Automattic/node-canvas/wiki 在linux下最好先sudo到root,然后再sudo npm install一下