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
Lightweight module to check if a given string has a swear word in it
Inspired by has-emoji
npm i -s has-swear
let check = swear('test')
console.log(check) // false
npm i has-swear
4
1.1.1
ISC