百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

profanities

> 编程语言
开源

不雅词汇列表 (可能包含)

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

不雅词汇列表 (可能包含)

profanities

Build Coverage Downloads Size

List of profane words.

Contents

  • What is this?
  • When should I use this?
  • Install
  • Use
  • API
    • profanities
  • Data
  • Types
  • Compatibility
  • Related
  • Contributing
  • Security
  • License

What is this?

This package exposes lists of profane words in several languages.

When should I use this?

This is a flat list of 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. In Node.js (version 14.14+, 16.0+), install with npm:

bash
npm install profanities

In Deno with esm.sh:

javascript
import {profanities} from 'https://esm.sh/profanities@3'

In browsers with esm.sh:

xml

Use

javascript
import {profanities} from 'profanities'
import {profanities as profanitiesFr} from 'profanities/fr'

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

API

profanities exports the following entries:

  • profanities — English
  • profanities/ar-latn — Arabic (Latin)
  • profanities/es — Spanish
  • profanities/fr — French
  • profanities/it — Italian
  • profanities/pt — Portuguese
  • profanities/pt-pt — European Portuguese

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

profanities

List of strings (Array).

Data

The data includes many profane words and phrases in different languages. In many contexts, those words are not profane though. See cuss for the terms (and a rating of sureness).

Types

This package is fully typed with TypeScript. It exports no additional types.

Compatibility

This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+, 16.0+, and 18.0+. It also works in Deno and modern browsers.

Related

  • buzzwords — list of buzzwords
  • cuss — map of profane words to a rating of sureness
  • dale-chall — list of familiar English words (1995)
  • fillers — list of filler words
  • hedges — list of hedge words
  • spache — list of easy English words (1974)
  • weasels — list of weasel words

Contributing

Yes please! See How to Contribute to Open Source.

Words and new languages can be added to cuss. After they are added there, this project can be built to include the changes.

Security

This package is safe.

License

MIT © Titus Wormer

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptbuttdirtyfoulindecent

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言