{"name":"profanities","version":"0.1.2","description":"List of (possible) English profane words","license":"MIT","keywords":["profane","vulgar","word","list"],"dependencies":{"datalist-interface":"^0.2.0"},"repository":{"type":"git","url":"https://github.com/wooorm/profanities.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"devDependencies":{"eslint":"^0.10.0","istanbul":"^0.3.0","jscs":"^1.0.0","jscs-jsdoc":"^0.3.0","mocha":"^2.0.0","plain-text-data-to-json":"^0.1.0"},"scripts":{"test":"_mocha --check-leaks test.js","test-travis":"istanbul cover _mocha --report lcovonly -- --check-leaks test.js","coverage":"istanbul cover _mocha -- -- test.js","lint-api":"eslint index.js","lint-test":"eslint --env mocha test.js","lint-script":"eslint script/build-data.js script/build-support.js","lint-style":"jscs --reporter inline index.js script/build-data.js script/build-support.js test.js","lint":"npm run lint-api && npm run lint-test && npm run lint-script && npm run lint-style","make":"npm run lint && npm run coverage","scrape-data":"curl --connect-timeout 5 --max-time 10 -L http://www.cs.cmu.edu/~biglou/resources/bad-words.txt -o data/profanities.txt || exit 0","build-data":"node script/build-data.js","build-support":"node script/build-support.js","build":"npm run scrape-data && npm run build-data && npm run build-support","prepublish":"npm run build"},"gitHead":"d320ee06f19adb0caa04e571f294956c37307919","bugs":{"url":"https://github.com/wooorm/profanities/issues"},"homepage":"https://github.com/wooorm/profanities","_id":"profanities@0.1.2","_shasum":"6806b000dc460bc7dcc7ca925f5518e226c37d03","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.11.14","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"dist":{"shasum":"6806b000dc460bc7dcc7ca925f5518e226c37d03","tarball":"http://registry-npm.ywwl.com/profanities/download/profanities-0.1.2.tgz","integrity":"sha512-xJ7KjM9wS35BvLnjjMcmKxODlts3PBCMJvbndNLFsUjFAa7jb1ULXyqSquXhxzo+1jcJquQrF7h/Z/GSfdHrkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFztxtRgY46BWELsGDd2vEWdnS56h4E2smlQEAY+vaqiAiARf+6qiRjJf8ajw4D9rQbf9DZdRr2Id34J/wbzk2nsKA=="}],"size":7377,"noattachment":false,"key":"/profanities/-/profanities-0.1.2.tgz"},"directories":{},"readme":"# profanities\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nList of profane words.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`profanities`](#profanities-1)\n*   [Data](#data)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Related](#related)\n*   [Contributing](#contributing)\n*   [Security](#security)\n*   [License](#license)\n\n## What is this?\n\nThis package exposes lists of profane words in several languages.\n\n## When should I use this?\n\nThis is a flat list of words.\nSee [`cuss`][cuss] for the same words, rated for sureness: how likely they are\nto be used as either profanity or clean text.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install profanities\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {profanities} from 'https://esm.sh/profanities@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {profanities} from 'https://esm.sh/profanities@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {profanities} from 'profanities'\nimport {profanities as profanitiesFr} from 'profanities/fr'\n\nconsole.log(profanities.includes('butt')) // true\nconsole.log(profanitiesFr.includes('boule')) // true\n```\n\n## API\n\n`profanities` has exports the following entries:\n\n*   `profanities`\n    — English\n*   `profanities/ar-latn`\n    — Arabic (Latin)\n*   `profanities/es`\n    — Spanish\n*   `profanities/fr`\n    — French\n*   `profanities/it`\n    — Italian\n*   `profanities/pt`\n    — Portuguese\n*   `profanities/pt-pt`\n    — European Portuguese\n\nEach entry exports the identifier `profanities`.\nThere are no default exports.\n\n### `profanities`\n\nList of strings (`Array<string>`).\n\n## Data\n\nThe data includes many profane words and phrases in different languages.\nIn many contexts, those words are *not* profane though.\nSee [`cuss`][cuss] for the terms (and a rating of sureness).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+, 16.0+, and 18.0+.\nIt also works in Deno and modern browsers.\n\n## Related\n\n*   [`buzzwords`](https://github.com/words/buzzwords)\n    — list of buzzwords\n*   [`cuss`][cuss]\n    — map of profane words to a rating of sureness\n*   [`dale-chall`](https://github.com/words/dale-chall)\n    — list of familiar English words (1995)\n*   [`fillers`](https://github.com/words/fillers)\n    — list of filler words\n*   [`hedges`](https://github.com/words/hedges)\n    — list of hedge words\n*   [`spache`](https://github.com/words/spache)\n    — list of easy English words (1974)\n*   [`weasels`](https://github.com/words/weasels)\n    — list of weasel words\n\n## Contributing\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\nWords and new languages can be added to [`cuss`][cuss].\nAfter they are added there, this project can be built to include the changes.\n\n## Security\n\nThis package is safe.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/words/profanities/workflows/main/badge.svg\n\n[build]: https://github.com/words/profanities/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/words/profanities.svg\n\n[coverage]: https://codecov.io/github/words/profanities\n\n[downloads-badge]: https://img.shields.io/npm/dm/profanities.svg\n\n[downloads]: https://www.npmjs.com/package/profanities\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/profanities.svg\n\n[size]: https://bundlephobia.com/result?p=profanities\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[cuss]: https://github.com/words/cuss\n","publish_time":1418926091857,"_cnpm_publish_time":1418926091857,"dist-tags":{"latest":"3.0.1"}}