UNPKG

swearing-filter

Version:

Multilingual profanity filter supporting English, Russian, Finnish, and more

58 lines (57 loc) 1.58 kB
{ "name": "swearing-filter", "version": "1.0.4", "description": "Multilingual profanity filter supporting English, Russian, Finnish, and more", "keywords": [ "censure", "filter", "swear", "profanity", "profane ", "vulgar", "obscene", "russian", "english" ], "author": "Konstantin Nikolaev <twozebras.nikolaev@gmail.com>", "license": "MIT", "type": "module", "exports": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js" }, "main": "./dist/cjs/lib.js", "module": "./dist/esm/lib.js", "types": "./dist/types/index.d.ts", "scripts": { "test": "jest", "build": "npm-run-all build:clean build:esm build:cjs", "build:clean": "rimraf -rf ./dist", "build:esm": "tsc --module esnext --outDir dist/esm/ && echo {\"type\": \"module\"} > dist/esm/package.json", "build:cjs": "tsc --module commonjs --outDir dist/cjs/ && echo {\"type\": \"commonjs\"} > dist/cjs/package.json", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/kpachbiu88/swearing-filter.git" }, "bugs": { "url": "https://github.com/kpachbiu88/swearing-filter/issues" }, "homepage": "https://github.com/kpachbiu88/swearing-filter#readme", "directories": { "test": "tests" }, "engines": { "node": ">=22.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.13.0", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "rimraf": "^6.0.1", "ts-jest": "^29.2.5", "ts-node": "^10.9.2" } }