redact-me-maybe

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i redact-me-maybe

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

1.96 kB

Total Files

4

Last publish

Collaborators

  • krstfrye