censorify-package
v0.1.1
Published
Censors words out of text
Downloads
6
Readme
censortext package
Node.js module code that implements a simple censor function and exports it for other modules using the package
The following functions are available in the censortext package.
- censor: Returns a string replacing the censored words.
- addCensoredWord: Adds a word passed as an argument to the censored words array.
- getCensoredWords: Returns an array with all censored words.
