Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

check-bad-word

anilkdev14MIT1.0.8

Checks for bad words

bad, words, check, badword, check-bad-word, curse, curses, bad-word-checker, test, testBadWord

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:

`bash 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