UNPKG

allprofanity

Version:

A blazing-fast, multi-language profanity filter with advanced algorithms (Aho-Corasick, Bloom Filters) delivering 664% faster performance on large texts, intelligent leet-speak detection, and pattern-based context analysis

71 lines (70 loc) 1.98 kB
{ "name": "allprofanity", "version": "2.2.1", "description": "A blazing-fast, multi-language profanity filter with advanced algorithms (Aho-Corasick, Bloom Filters) delivering 664% faster performance on large texts, intelligent leet-speak detection, and pattern-based context analysis", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "benchmark": "npm run build && node --expose-gc dist/benchmark/profanity-benchmark.js", "benchmark:no-gc": "npm run build && node dist/benchmark/profanity-benchmark.js", "clean": "rimraf dist coverage", "prepare": "npm run clean && npm run build", "prepublishOnly": "npm test", "preversion": "npm run test", "version": "git add -A src" }, "keywords": [ "profanity", "filter", "bad-words", "censorship", "content-moderation", "aho-corasick", "bloom-filter", "pattern-matching", "hindi", "hinglish", "multi-language", "typescript", "performance", "fast", "leet-speak" ], "author": { "name": "Ayush Jadaun", "email": "ayushjadaun6@gmail.com", "url": "https://github.com/ayush-jadaun" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/ayush-jadaun/AllProfanity.git" }, "homepage": "https://github.com/ayush-jadaun/AllProfanity#readme", "devDependencies": { "@types/jest": "^29.5.0", "jest": "^29.5.0", "rimraf": "^5.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.0.0", "typescript": "^4.0.0" }, "files": [ "dist", "bin", "LICENSE", "README.md", "allprofanity.config.example.json", "config.schema.json", "CONTRIBUTORS.md" ], "bin": { "allprofanity": "./bin/init.js" } }