word-sensor
Version:
A powerful and flexible word filtering library for JavaScript/TypeScript with advanced features like regex patterns, statistics, and batch processing
70 lines (69 loc) • 1.66 kB
JSON
{
"name": "word-sensor",
"version": "2.0.0",
"description": "A powerful and flexible word filtering library for JavaScript/TypeScript with advanced features like regex patterns, statistics, and batch processing",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"prepublishOnly": "npm run build && npm test",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rm -rf dist",
"type-check": "tsc --noEmit"
},
"keywords": [
"word-filter",
"bad-words",
"profanity",
"content-moderation",
"text-filtering",
"spam-detection",
"phishing-detection",
"regex-patterns",
"batch-processing",
"statistics",
"typescript",
"javascript"
],
"author": "Asrul Harahap",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/asruldev/word-sensor.git"
},
"homepage": "https://asruldev.github.io/word-sensor",
"bugs": {
"url": "https://github.com/asruldev/word-sensor/issues"
},
"files": [
"dist/"
],
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"typesVersions": {
"*": {
"index.d.ts": [
"dist/index.d.ts"
]
}
},
"devDependencies": {
"@types/jest": "^29.5.14",
"tsup": "^7.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.6",
"typescript": "^5.7.3"
}
}