{"_id":"@achivx/obscenity","name":"@achivx/obscenity","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@achivx/obscenity","version":"0.0.1","main":"src/index.js","scripts":{"prepack":"cp ../../README.md .","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/ACHIVX-COM/obscenity.git"},"author":{"name":"ACHIVX"},"license":"MIT","bugs":{"url":"https://github.com/ACHIVX-COM/obscenity/issues"},"homepage":"https://github.com/ACHIVX-COM/obscenity#readme","description":"Obscene language detector","_id":"@achivx/obscenity@0.0.1","gitHead":"df8c27e67b97c3ffc7892c49d8c168828be940e5","_nodeVersion":"22.0.0","_npmVersion":"10.5.1","dist":{"integrity":"sha512-79JdN8IG1vSmzKWYPVz8ZGXXrPMTT9z+ZwnPcydGszFoTBfH4IFiAuALtVEbbAEVvXZByPTJ3s4e6watSan+Eg==","shasum":"5df7f2e8a0671d99dbb99c8ec10c856cf3d7e9e9","tarball":"https://registry.npmjs.org/@achivx/obscenity/-/obscenity-0.0.1.tgz","fileCount":31,"unpackedSize":308980,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCspKFH9G1yz6eINpM9TT+F8pXCGQbXbIPfWRqwT3MBDAIhAMbIHZ6K3OudM5WuXqQzIgNMqOMlpHMYeY7a2HOa/she"}]},"_npmUser":{"name":"feseoz","email":"achivx@proton.me"},"directories":{},"maintainers":[{"name":"feseoz","email":"achivx@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/obscenity_0.0.1_1727180282987_0.15559256691952328"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-24T12:18:02.883Z","0.0.1":"2024-09-24T12:18:03.270Z","modified":"2024-09-24T12:18:03.562Z"},"maintainers":[{"name":"feseoz","email":"achivx@proton.me"}],"description":"Obscene language detector","homepage":"https://github.com/ACHIVX-COM/obscenity#readme","repository":{"type":"git","url":"git+https://github.com/ACHIVX-COM/obscenity.git"},"author":{"name":"ACHIVX"},"bugs":{"url":"https://github.com/ACHIVX-COM/obscenity/issues"},"license":"MIT","readme":"# Obscenity\n\nAn obscene language/profanity detector.\n\n> ⚠️ **WARNING:** This repository contains materials that some may find offensive. That's intentional.\n\nThis package uses the [List of Dirty, Naughty, Obscene, and Otherwise Bad Words](https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words) along with few custom dictionaries.\nIt also takes some ways of profanity obfuscation (such as leetspeak) into account.\nIt's all done to build [the worst regular expression publicly available](./packages/obscenity/src/regex/all.json).\n\n## How to use\n\nThe package is [available on npmjs.com](https://www.npmjs.com/package/@achivx/obscenity) and can be installed using `npm`:\n\n```sh\nnpm i @achivx/obscenity\n```\n\nThen it can be used as follows:\n\n```JavaScript\nconst obscenity = require(\"@achivx/obscenity\");\n\nobscenity.detect(\"Scunthorpe (/ˈskʌnθɔːrp/) is an industrial town in the North Lincolnshire district of Lincolnshire, England.\")\n// -> undefined\n\nobscenity.detect('The town\\'s name contains the substring \"cunt\".')\n// -> [\"cunt\"]\n```\n","readmeFilename":"README.md"}