Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

profanities

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

profanities

List of (possible) profane words

Source
npmnpm
Version
2.14.0
Version published
Maintainers
2
Created
Source

profanities

Build Downloads Size

List of lots of profane words.

See cuss for the same words, rated for sureness: how likely they are to be used as either profanity or clean text.

Install

npm:

npm install profanities

Use

var profanities = require('profanities')

console.log(profanities.includes('butt')) // true

Use of locale versions

For example, to use French:

var profanities = require('profanities/fr')

console.log(profanities.includes('boule')) // true

API

profanities

profanities exposes a list of strings (Array.<string>).

Support

profanities supports many profane words and phrases in different languages.

Note that the words listed in profanities might not be profane in certain contexts.

See cuss for the supported terms.

  • buzzwords — List of buzzwords
  • cuss — Map of profane words to a rating of sureness
  • dale-chall — List of familiar American-English words (1995)
  • fillers — List of filler words
  • hedges — List of hedge words
  • spache — List of simple American-English words (1974)
  • weasels — List of weasel words

Contributing

Thanks, contributions are greatly appreciated! :+1: Words and new languages can be added to cuss. After they are added there, this project can be built to include the changes.

License

MIT © Titus Wormer

Keywords

offensive

FAQs

Package last updated on 22 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts