0.1.1 • Published 9 years ago

censorify-package v0.1.1

Weekly downloads
6
License
-
Repository
github
Last release
9 years ago

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.