Narcoleptic Programmers' Medicine
Have ideas to improve npm?Join in the discussion! »

profane-words
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

profane-words

Support with PayPal Patreon ko-fi

A semi-comprehensive list of profanity in English.

Warning don't read the list if you're easily offended. I don't even know what at least half of these words mean.

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

For other languages, you may wish to check 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.')
}

All words are lowercased.

Why: disallowing words for whatever reason, probably.

License: WTFPL

Install

npm i profane-words

DownloadsWeekly Downloads

140

Version

1.4.0

License

WTFPL

Unpacked Size

44.4 kB

Total Files

11

Last publish

Collaborators

  • avatar