fuhk
Linux | OS X | Windows |
---|---|---|
Return all "bad words" found in a JavaScript string
Warning - parts of this are NSFW due to the nature of the module
Install
npm install --save fuhk
Usage
Node
const fuhk = ; ;//=> ['shit', 'fuck'] ;//=> []
Web
Or download it with npm install --save fuhk
and reference it as:
API
fuhk(target)
target
Type: string
return value
Type: array
Returns all "bad words" found in a JavaScript string. Strips punctuation and preserves capitalization. If none are found, an empty array is returned.
License
MIT © Dawson Botsford
If you like this, star it. If you want to follow me, follow me.