Skip to content

Monkey-patches the `██████` class to add a `.redact` prototype function that randomly redacts ████ ████.

License

Notifications You must be signed in to change notification settings

rye/redact-me-maybe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redact-me-maybe

npm version

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.

About

Monkey-patches the `██████` class to add a `.redact` prototype function that randomly redacts ████ ████.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published