|
Download node_modules/badwords-list/README.md from Thrisha04/Chat: direct link, hf CLI and curl.
- Browser
- Download file 845 Bytes
-
https://huggingface.co/Thrisha04/Chat/resolve/main/node_modules/badwords-list/README.md
- Command line
-
hf download hf://Thrisha04/Chat/node_modules/badwords-list/README.md
-
curl -L -o README.md https://huggingface.co/Thrisha04/Chat/resolve/main/node_modules/badwords-list/README.md
845 Bytes
badwords-list v1.0.0
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 accessable by Jamie Wilkinson here
Inspired by badwords
This data has been exposed as an object that contains
- an array
- an object
- a regular expression
depending on what is required for your purposes.
Install
npm install badwords-list
Usage
var list = require('badwords-list'),
array = list.array,
object = list.object,
regex = list.regex;
Testing
####Requires
- Mocha
- better-assert
npm test
or
REPORTER=spec make
or
mocha