hiderrisk

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hiderrisk

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

2.4 kB

Total Files

4

Last publish

Collaborators

  • ddunn13