check-bad-word
v1.0.8
Published
Checks for bad words
Downloads
471
Maintainers
Readme
Bad Word Checker
This is a simple Node.js module that checks if a given input is a bad or curse word. It returns a Promise that resolves to true
if a bad word is found, and false
otherwise.
Installation
To install this module, run the following command:
npm install bad-word-checker
import {checkBadWord} from 'check-bad-word'
// Check if the input string is a bad word
const isBadWord = await checkBadWord(inputText)
// true for bad word
// false for good word