1.1.4 • Published 5 years ago

think-esapi v1.1.4

Weekly downloads
5
License
MIT
Repository
github
Last release
5 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

5 years ago

1.1.3

5 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

8 years ago

1.0.0

8 years ago