has-swear
v1.1.1
Published
Lightweight module to check if a given string has a swear.
Downloads
14
Maintainers
Readme
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-swear
Usage
let check = swear('test')
console.log(check) // false