此模块是 fork 自 https://github.com/trekjs/captcha 的模块的 0.4.0 版本
npm install wb-captchaA Lightweight Pure JavaScript Captcha for Node.js. No C/C++, No ImageMagick, No canvas. Inspired By rucaptcha.
```
$ npm install git+ssh://git@gitlabce.wbiaotest.cn/nodejs/wb-captcha.git --save
`js
'use strict'
const fs = require('fs')
const captcha = require('wb-captcha')
const { token, buffer } = yield captcha({ size: 4, style: -1 });
ctx.set('Content-Type', "image/png");
ctx.body = buffer;
`
captcha({ size: 5, style: -1 })
* size: Defaults to 5.
* style: Defaults to -1 with random.
`js``
// returns
{
token,
buffer
}