New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coparenter-cuss

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coparenter-cuss

Map of English profane words to a rating of sureness based off of cuss

  • 1.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cuss Build Status

Map of 1700+ 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.

Installation

npm:

npm install cuss

Usage

var cuss = require('cuss');

console.log(Object.keys(cuss).length); // 1768

console.log(cuss.beaver); // 0
console.log(cuss.asshat); // 2

API

cuss

Type: 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.

RatingUse as a profanityUse in clean textExample
2likelyunlikelyasshat
1maybemaybeaddict
0unlikelylikelybeaver

Support

cuss supports 1768 English profane words and phrases from profanities.

License

MIT © Titus Wormer

Keywords

FAQs

Package last updated on 16 Oct 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc