1.0.2 • Published 6 years ago

textshield-node v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

TextShield for Node.js

Server-side TextShield support for Node.js

Getting started

Install TextShield for Node.js plugin with npm:

$ npm install textshield-node

Plugin is reachable through default export.

import TextShield, { DecodeCost } from "textshield-node";

To protect a text, TextShield.encode(text: string, cost: number) does a job.

TextShield.encode("example@example.com", DecodeCost.Low);

Contribution

Any kind of contributions or questions are heartly welcomed.

License

TextShield is released under the MIT License.