An ESAPI(Enterprise Security API) extend for ThinkJS
npm install think-esapi --save
const esapi = require('think-esapi')
module.exports = [
esapi
];
this.encodeForHTML(data)
this.encodeForCSS(data)
this.encodeForJS(data)
this.encodeForURL(data)
this.encodeForHTMLAttribute(data)
this.encodeForBase64(data)