UNPKG

badfilter-js

Version:

This script functions to detect and clean abusive or toxic words in text.

318 lines 8.9 kB
{ "name": "badfilter-js", "version": "2.0.13", "description": "This script functions to detect and clean abusive or toxic words in text.", "type": "module", "main": "dist/badword.js", "types": "dist/badword.d.ts", "exports": { ".": { "import": "./dist/badword.js", "require": "./dist/badword.js" }, "./js": { "require": "./js/badword.js" } }, "scripts": { "build": "tsc", "start": "node dist/badword.js", "test": "npx tsx test/test.ts" }, "files": [ "dist", "src", "js", "test" ], "devDependencies": { "@types/cacheable-request": "^8.3.2", "@types/jest": "^27.0.0", "@types/node": "^18.0.0", "jest": "^27.0.0", "ts-node": "^10.9.2", "typescript": "^5.6.3" }, "repository": { "type": "git", "url": "git+https://github.com/LcfherShell/BadFilter.js.git" }, "keywords": [ "badword", "filter", "words", "profanity", "profanity-filter", "censored", "censored-words", "abusive", "toxic", "moderation", "badword-filter", "swearword", "text-filter", "text-cleaning", "content-moderation", "badfilter" ], "author": "LcfherShell", "license": "MIT", "engines": { "node": ">=8.0.0" }, "dependencies": { "abab": "^2.0.6", "acorn": "^8.12.1", "acorn-globals": "^6.0.0", "acorn-walk": "^7.2.0", "agent-base": "^6.0.2", "ansi-escapes": "^4.3.2", "ansi-regex": "^5.0.1", "ansi-styles": "^4.3.0", "anymatch": "^3.1.3", "arg": "^4.1.3", "argparse": "^1.0.10", "asynckit": "^0.4.0", "babel-jest": "^27.5.1", "babel-plugin-istanbul": "^6.1.1", "babel-plugin-jest-hoist": "^27.5.1", "babel-preset-current-node-syntax": "^1.1.0", "babel-preset-jest": "^27.5.1", "balanced-match": "^1.0.2", "brace-expansion": "^1.1.11", "braces": "^3.0.3", "browser-process-hrtime": "^1.0.0", "browserslist": "^4.24.0", "bser": "^2.1.1", "buffer-from": "^1.1.2", "cacheable-request": "^12.0.1", "callsites": "^3.1.0", "camelcase": "^5.3.1", "caniuse-lite": "^1.0.30001668", "chalk": "^4.1.2", "char-regex": "^1.0.2", "ci-info": "^3.9.0", "cjs-module-lexer": "^1.4.1", "cliui": "^7.0.4", "co": "^4.6.0", "collect-v8-coverage": "^1.0.2", "color-convert": "^2.0.1", "color-name": "^1.1.4", "combined-stream": "^1.0.8", "concat-map": "^0.0.1", "convert-source-map": "^1.9.0", "create-require": "^1.1.1", "cross-spawn": "^7.0.3", "cssom": "^0.4.4", "cssstyle": "^2.3.0", "data-urls": "^2.0.0", "debug": "^4.3.7", "decimal.js": "^10.4.3", "dedent": "^0.7.0", "deepmerge": "^4.3.1", "delayed-stream": "^1.0.0", "detect-newline": "^3.1.0", "diff": "^4.0.2", "diff-sequences": "^27.5.1", "domexception": "^2.0.1", "electron-to-chromium": "^1.5.36", "emittery": "^0.8.1", "emoji-regex": "^8.0.0", "error-ex": "^1.3.2", "escalade": "^3.2.0", "escape-string-regexp": "^2.0.0", "escodegen": "^2.1.0", "esprima": "^4.0.1", "estraverse": "^5.3.0", "esutils": "^2.0.3", "execa": "^5.1.1", "exit": "^0.1.2", "expect": "^27.5.1", "fast-json-stable-stringify": "^2.1.0", "fb-watchman": "^2.0.2", "fill-range": "^7.1.1", "find-up": "^4.1.0", "form-data": "^3.0.2", "fs.realpath": "^1.0.0", "function-bind": "^1.1.2", "gensync": "^1.0.0-beta.2", "get-caller-file": "^2.0.5", "get-package-type": "^0.1.0", "get-stream": "^9.0.1", "glob": "^7.2.3", "globals": "^11.12.0", "graceful-fs": "^4.2.11", "has-flag": "^4.0.0", "hasown": "^2.0.2", "html-encoding-sniffer": "^2.0.1", "html-escaper": "^2.0.2", "http-cache-semantics": "^4.1.1", "http-proxy-agent": "^4.0.1", "https-proxy-agent": "^5.0.1", "human-signals": "^2.1.0", "iconv-lite": "^0.4.24", "import-local": "^3.2.0", "imurmurhash": "^0.1.4", "inflight": "^1.0.6", "inherits": "^2.0.4", "is-arrayish": "^0.2.1", "is-core-module": "^2.15.1", "is-fullwidth-code-point": "^3.0.0", "is-generator-fn": "^2.1.0", "is-number": "^7.0.0", "is-potential-custom-element-name": "^1.0.1", "is-stream": "^4.0.1", "is-typedarray": "^1.0.0", "isexe": "^2.0.0", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-instrument": "^5.2.1", "istanbul-lib-report": "^3.0.1", "istanbul-lib-source-maps": "^4.0.1", "istanbul-reports": "^3.1.7", "jest-changed-files": "^27.5.1", "jest-circus": "^27.5.1", "jest-cli": "^27.5.1", "jest-config": "^27.5.1", "jest-diff": "^27.5.1", "jest-docblock": "^27.5.1", "jest-each": "^27.5.1", "jest-environment-jsdom": "^27.5.1", "jest-environment-node": "^27.5.1", "jest-get-type": "^27.5.1", "jest-haste-map": "^27.5.1", "jest-jasmine2": "^27.5.1", "jest-leak-detector": "^27.5.1", "jest-matcher-utils": "^27.5.1", "jest-message-util": "^27.5.1", "jest-mock": "^27.5.1", "jest-pnp-resolver": "^1.2.3", "jest-regex-util": "^27.5.1", "jest-resolve": "^27.5.1", "jest-resolve-dependencies": "^27.5.1", "jest-runner": "^27.5.1", "jest-runtime": "^27.5.1", "jest-serializer": "^27.5.1", "jest-snapshot": "^27.5.1", "jest-util": "^27.5.1", "jest-validate": "^27.5.1", "jest-watcher": "^27.5.1", "jest-worker": "^27.5.1", "js-tokens": "^4.0.0", "js-yaml": "^3.14.1", "jsdom": "^16.7.0", "jsesc": "^3.0.2", "json-buffer": "^3.0.1", "json-parse-even-better-errors": "^2.3.1", "json5": "^2.2.3", "keyv": "^4.5.4", "kleur": "^3.0.3", "leven": "^3.1.0", "lines-and-columns": "^1.2.4", "locate-path": "^5.0.0", "lodash": "^4.17.21", "lowercase-keys": "^3.0.0", "lru-cache": "^5.1.1", "make-dir": "^4.0.0", "make-error": "^1.3.6", "makeerror": "^1.0.12", "merge-stream": "^2.0.0", "micromatch": "^4.0.8", "mime-db": "^1.52.0", "mime-types": "^2.1.35", "mimic-fn": "^2.1.0", "mimic-response": "^4.0.0", "minimatch": "^3.1.2", "ms": "^2.1.3", "natural-compare": "^1.4.0", "node-int64": "^0.4.0", "node-releases": "^2.0.18", "normalize-path": "^3.0.0", "normalize-url": "^8.0.1", "npm-run-path": "^4.0.1", "nwsapi": "^2.2.13", "once": "^1.4.0", "onetime": "^5.1.2", "p-limit": "^2.3.0", "p-locate": "^4.1.0", "p-try": "^2.2.0", "parse-json": "^5.2.0", "parse5": "^6.0.1", "path-exists": "^4.0.0", "path-is-absolute": "^1.0.1", "path-key": "^3.1.1", "path-parse": "^1.0.7", "picocolors": "^1.1.0", "picomatch": "^2.3.1", "pirates": "^4.0.6", "pkg-dir": "^4.2.0", "pretty-format": "^27.5.1", "prompts": "^2.4.2", "psl": "^1.9.0", "punycode": "^2.3.1", "querystringify": "^2.2.0", "react-is": "^17.0.2", "require-directory": "^2.1.1", "requires-port": "^1.0.0", "resolve": "^1.22.8", "resolve-cwd": "^3.0.0", "resolve-from": "^5.0.0", "resolve.exports": "^1.1.1", "responselike": "^3.0.0", "rimraf": "^3.0.2", "safer-buffer": "^2.1.2", "saxes": "^5.0.1", "semver": "^6.3.1", "shebang-command": "^2.0.0", "shebang-regex": "^3.0.0", "signal-exit": "^3.0.7", "sisteransi": "^1.0.5", "slash": "^3.0.0", "source-map": "^0.6.1", "source-map-support": "^0.5.21", "sprintf-js": "^1.0.3", "stack-utils": "^2.0.6", "string-length": "^4.0.2", "string-width": "^4.2.3", "strip-ansi": "^6.0.1", "strip-bom": "^4.0.0", "strip-final-newline": "^2.0.0", "strip-json-comments": "^3.1.1", "supports-color": "^7.2.0", "supports-hyperlinks": "^2.3.0", "supports-preserve-symlinks-flag": "^1.0.0", "symbol-tree": "^3.2.4", "terminal-link": "^2.1.1", "test-exclude": "^6.0.0", "throat": "^6.0.2", "tmpl": "^1.0.5", "to-fast-properties": "^2.0.0", "to-regex-range": "^5.0.1", "tough-cookie": "^4.1.4", "tr46": "^2.1.0", "type-detect": "^4.0.8", "type-fest": "^0.21.3", "typedarray-to-buffer": "^3.1.5", "undici-types": "^5.26.5", "universalify": "^0.2.0", "update-browserslist-db": "^1.1.1", "url-parse": "^1.5.10", "v8-compile-cache-lib": "^3.0.1", "v8-to-istanbul": "^8.1.1", "w3c-hr-time": "^1.0.2", "w3c-xmlserializer": "^2.0.0", "walker": "^1.0.8", "webidl-conversions": "^6.1.0", "whatwg-encoding": "^1.0.5", "whatwg-mimetype": "^2.3.0", "whatwg-url": "^8.7.0", "which": "^2.0.2", "wrap-ansi": "^7.0.0", "wrappy": "^1.0.2", "write-file-atomic": "^3.0.3", "ws": "^7.5.10", "xml-name-validator": "^3.0.0", "xmlchars": "^2.2.0", "y18n": "^5.0.8", "yallist": "^3.1.1", "yargs": "^16.2.0", "yargs-parser": "^20.2.9", "yn": "^3.1.1" } }