1.1.1 • Published 8 years ago
has-swear v1.1.1
has-swear
Lightweight module to check if a given string has a swear word in it
Inspired by has-emoji
Installation
npm i -s has-swearUsage
let check = swear('test')
console.log(check) // falseLightweight module to check if a given string has a swear word in it
Inspired by has-emoji
npm i -s has-swearlet check = swear('test')
console.log(check) // false