1.0.1 • Published 5 years ago

hiderrisk v1.0.1

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

Hiderrisk

Hiderrisk is a library which allows you to obfuscate strings to keep sensitive information secure

Installation

npm install hiderrisk

Usage

import hiderrisk from 'hiderrisk';

//default use
const word = hiderrisk('word');
//output w*r*

//use of custom character
const word = hiderrisk('word', '%%');
//output w%%r%%

//use of setting percentage coverage of word
const word = hiderrisk('word', '%%', 100);
//output %%%%%%%%

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago