1.1.4 • Published 4 years ago

think-esapi v1.1.4

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

think-esapi

npm Build Status Coverage Status

An ESAPI(Enterprise Security API) extend for ThinkJS

How to use

Install

npm install think-esapi --save

Configure extends.js

const esapi = require('think-esapi')

module.exports = [
  esapi
];

Method

  • this.encodeForHTML(data)
  • this.encodeForCSS(data)
  • this.encodeForJS(data)
  • this.encodeForURL(data)
  • this.encodeForHTMLAttribute(data)
  • this.encodeForBase64(data)
1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago