GitXplorerGitXplorer
z

profane-words

public
248 stars
82 forks
0 issues

Commits

List of commits on branch master.
Verified
3ebc6d0910d99df7d12fe1aa1749bf5f939d6a5b

1.6.0

zzacanger committed a month ago
Verified
c7fe112666f968c39a5be05e2ecfebe8b7841e10

fix: false negatives/positives

zzacanger committed a month ago
Verified
565f2fd8eb633215a09f4b774dfdd293a50e4f50

1.5.11

zzacanger committed a year ago
Verified
b1843a2ef303664c70e4cf1f0cd58735d91d5173

fix: remove another

zzacanger committed a year ago
Verified
fefb905cf5776edba81d9377fc6ca1781f0b0ddd

1.5.10

zzacanger committed a year ago
Verified
d859e9918482017dbc4932a9f89cf125c492a20e

fix: remove some false positives

zzacanger committed a year ago

README

The README file for this repository.

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