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



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


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