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
3.0.0
Version published
Weekly downloads
843
-46.88%
Maintainers
2
Weekly downloads
 
Created
Source

profanities

Build Coverage 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

This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

npm:

npm install profanities

Use

import {profanities} from 'profanities'

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

Use of locale versions

For example, to use French:

import {profanities} from 'profanities/fr'

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

API

profanities has the following entries in its export map: profanities (English), profanities/ar-latn (Arabic (Latin script)), profanities/es (Spanish), profanities/fr (French), profanities/it (Italian), profanities/pt-br (Portuguese (Brazillian)), profanities/pt-pt (Portuguese (Portugal)).

Each entry exports the identifier profanities. There are no default exports.

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 12 Jun 2021

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