UNPKG

deep-profanity-filter

Version:

A thorough profanity filter that considers most common circumventions. Works with your custom list of blocked and whitelisted words and phrases. Identifies and/or replaces bad words. Works with *wildcards* at *start and/or end* of words.

71 lines (70 loc) 2.05 kB
{ "name": "deep-profanity-filter", "version": "2.7.0", "description": "A thorough profanity filter that considers most common circumventions. Works with your custom list of blocked and whitelisted words and phrases. Identifies and/or replaces bad words. Works with *wildcards* at *start and/or end* of words.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "lint": "npx eslint -c .eslintrc.js --ext .ts .\\src\\", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/Zariem/deep-profanity-filter.git" }, "keywords": [ "profanity", "filter", "circumvention", "censor", "profanity-filter", "badwords", "badwords-filter", "profanity-cleaner", "bad", "word", "swearword", "curseword", "curse", "swear", "blacklist", "offensive", "sanitisation", "sanitization", "language", "chat", "chatbot", "automod", "detector" ], "author": "Zariem", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/Zariem/deep-profanity-filter/issues" }, "homepage": "https://github.com/Zariem/deep-profanity-filter#readme", "devDependencies": { "@types/jest": "^29.5.2", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jsdoc": "^48.0.2", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-react": "^7.33.2", "jest": "^29.5.0", "prettier": "^3.2.2", "ts-jest": "^29.1.0", "typescript": "^5.1.3" }, "files": [ "dist/**/*" ] }