Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

profane-words

0.2.4 • Public • Published

profane-words


Aiming to be a comprehensive list of profanity in English.

This includes words from several other lists, with some 'ok words' filtered out.

For other languages, you may wish to check here and here.

Installation: npm i -S profane-words

Usage:

import words from 'profane-words'
const arg = process.argv[2]
 
if (words.includes(arg.toLowerCase())) {
  console.warn('Watch your mouth.')
}

Why: blacklisting words for whatever reason, probably. I'm using it for searches.

License: WTFPL

install

npm i profane-words

Downloadsweekly downloads

20

version

0.2.4

license

WTFPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar