Skip to content

A highly consumable list of bad (profanity) english words

License

Notifications You must be signed in to change notification settings

MauriceButler/badwords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badwords

A highly consumable list of bad (profanity) English words based on the nice short and simple list found in Google's "what do you love" project made accessible by Jamie Wilkinson here

This data has been exposed as

  • an array
  • an object
  • a regular expression

depending on what is required for your purposes.

Install

npm install badwords

Usage

var badwordsArray = require('badwords/array');

var badwordsObject = require('badwords/object');

var badwordsRegExp = require('badwords/regexp');

Note

"Bad words" implementations are frequently prone to the Scunthorpe problem

These kind of lists can be used for flagging things, but being used as a basis for outright blocking can cause issues.

About

A highly consumable list of bad (profanity) english words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published