1.0.2 • Published 5 years ago

egg-svg-captcha v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

egg-svg-captcha

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-svg-captcha --save

Usage

// {app_root}/config/plugin.js
exports.eggSvgCaptcha = {
  enable: true,
  package: 'egg-svg-captcha',
};

Configuration

// {app_root}/config/config.default.js
exports.eggSvgCaptcha = {
  width: 256, // width of captcha
  height: 60, // height of captcha
  fontSize: 57,
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT