Skip to content

onweer/svg-captcha

Repository files navigation

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

Releases

No releases published

Packages