bad-words-thai
Version:
Advanced profanity filter for Thai and English with language detection, fuzzy matching, and context-aware filtering
65 lines (64 loc) • 1.61 kB
JSON
{
"name": "bad-words-thai",
"version": "2.0.3",
"description": "Advanced profanity filter for Thai and English with language detection, fuzzy matching, and context-aware filtering",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/obbaeiei/bad-words-thai.git"
},
"bugs": {
"url": "https://github.com/obbaeiei/bad-words-thai/issues"
},
"homepage": "https://github.com/obbaeiei/bad-words-thai#readme",
"scripts": {
"build": "tsc",
"test": "jest",
"dev": "ts-node src/index.ts",
"lint": "eslint src/**/*.ts",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build && npm run lint",
"prepare": "npm run build"
},
"keywords": [
"profanity",
"filter",
"thai",
"english",
"fuzzy",
"levenshtein",
"language-detection",
"karaoke",
"transliteration",
"content-moderation",
"text-filtering",
"nlp",
"thai-language",
"context-aware"
],
"author": "obbaeiei",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.0",
"@types/string-similarity": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"cld3-asm": "^4.0.0",
"fastest-levenshtein": "^1.0.16",
"string-similarity": "^4.0.4"
}
}