egg-reqp

1.0.2 • Public • Published

egg xss过滤

plugin.js中配置

exports.reqp = {
  enable: true,
  package: 'egg-reqp'
};

使用

this.ctx.reqp.params.xxx;
this.ctx.reqp.query.xxx;
this.ctx.reqp.body.xxx;

Package Sidebar

Install

npm i egg-reqp

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

3.26 kB

Total Files

6

Last publish

Collaborators

  • zyyou