redact-me-maybe
v1.0.2
Published
Randomly redact your strings
Downloads
2
Readme
redact-me-maybe
Monkey-patches the String
class to add a .redact
prototype function that randomly redacts your text.
Example:
require('redact-me-maybe')
"Monkey-patches the `String` class to add a `.redact` prototype function that randomly redacts your text.".redact(0.7)
// returns 'Monkey-patches the `██████` class to add a `.redact` prototype function that randomly redacts ████ ████.'
Please don't use this in production, though if you find an actual use-case I'll be super proud.
License
redact-me-maybe
is released under the ISC license.
For more information, consult the LICENSE
file located at the root of this repository.