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

1.5.11 • Public • Published

profane-words

A semi-comprehensive list of profanity in English.

Donate


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. Note because this project started out as a compilation of other lists, there may still be false positives that I missed here! If you come across something that doesn't make sense, please open an issue or a PR!

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.5.11
    215
    • latest

Version History

Package Sidebar

Install

npm i profane-words

Weekly Downloads

1,075

Version

1.5.11

License

WTFPL

Unpacked Size

43 kB

Total Files

10

Last publish

Collaborators

  • zacanger