0.0.9 • Published 9 years ago

speak-no-evil v0.0.9

Weekly downloads
14
License
ISC
Repository
github
Last release
9 years ago

Codeship Status for NestedData/SpeakNoEvil

Methodology:

Searches a string for a substring match of each word/phrase in the blacklist

Usage:

# create a filter with the default list
Filter = new SpeakNoEvil()

# create a filter with a custom list
Filter = new SpeakNoEvil(["a", "b", "c"])

# check a string for profanity
result = Filter.check("a possibly profane string")
if result
  console.log "string was profane"

Running tests

npm install -g grunt mocha
npm test
0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago