项目作者: zacanger

项目描述 :
A very long list of English profanity.
高级语言: JavaScript
项目地址: git://github.com/zacanger/profane-words.git
创建时间: 2016-11-23T23:41:31Z
项目社区:https://github.com/zacanger/profane-words

开源协议:Do What The F*ck You Want To Public License

下载


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:

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

All words are lowercased.

Why: disallowing words for whatever reason, probably.

License: WTFPL