Map of profanities to sureness rating. This rating does not represent how vulgar a term is, instead, how likely it is to be used as either profanity or clean text.
npm:
npm install cussvar cuss = require('cuss')
console.log(Object.keys(cuss).length) // 1772
console.log(cuss.beaver) // 0
console.log(cuss.asshat) // 2To use the Portuguese from Brazil by example
var cuss = require('cuss/pt-br')
console.log(Object.keys(cuss).length) // 148
console.log(cuss.burro) // 1
console.log(cuss.bixa) // 2Type: Object.<number> — cuss exposes a dictionary
of phrases to ratings, where each phrase stems from profanities,
and each rating is a number between 0 and 2 (both including),
representing the certainty the word is used as a profanity depending
on context.
| Rating | Use as a profanity | Use in clean text | Example |
|---|---|---|---|
| 2 | likely | unlikely | asshat |
| 1 | maybe | maybe | addict |
| 0 | unlikely | likely | beaver |
index.json— ± 1772 English profane words and phrases fromprofanitiesar-latn.json— ± 250 Arabic (Latin-Script) profane words and phrases fromnaughty-wordsandyousweares.json— ± 590 Spanish profane words and phrases fromnaughty-words,revistagq.com,taringa.net,mundoxat.omfr.json— ± 740 French profane words and phrases fromwiktionary.orgpt-br.json— ± 148 Brazilian Portuguese profane words fromaprenderpalavras.com
MIT © Titus Wormer