terlik.js 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -107
- package/dist/index.d.mts +16 -14
- package/dist/index.d.ts +16 -14
- package/dist/index.js +495 -32
- package/dist/index.mjs +495 -32
- package/package.json +14 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "terlik.js",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Ultra-fast, zero-dependency
|
|
3
|
+
"version": "2.4.1",
|
|
4
|
+
"description": "Ultra-fast, zero-dependency profanity detection engine. Ships with Turkish, English, Spanish & German — extensible to any language. Lazy compilation, deep agglutination support, ReDoS-safe regex patterns",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -28,27 +28,35 @@
|
|
|
28
28
|
"bench": "tsx benchmarks/bench.ts",
|
|
29
29
|
"bench:accuracy": "tsx benchmarks/accuracy.ts",
|
|
30
30
|
"typecheck": "tsc --noEmit",
|
|
31
|
-
"dev:live": "tsx watch
|
|
31
|
+
"dev:live": "tsx watch tools/server.ts",
|
|
32
32
|
"prepare": "husky"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"profanity",
|
|
36
36
|
"profanity-filter",
|
|
37
|
+
"profanity-detection",
|
|
37
38
|
"filter",
|
|
38
39
|
"content-filter",
|
|
40
|
+
"content-moderation",
|
|
39
41
|
"moderation",
|
|
40
42
|
"nsfw",
|
|
41
43
|
"censor",
|
|
42
44
|
"badwords",
|
|
45
|
+
"bad-words",
|
|
46
|
+
"swear-words",
|
|
47
|
+
"word-filter",
|
|
48
|
+
"chat-filter",
|
|
49
|
+
"text-moderation",
|
|
50
|
+
"offensive-language",
|
|
43
51
|
"turkish",
|
|
44
|
-
"english",
|
|
45
|
-
"spanish",
|
|
46
|
-
"german",
|
|
47
52
|
"multi-language",
|
|
53
|
+
"extensible",
|
|
48
54
|
"kufur",
|
|
55
|
+
"küfür",
|
|
49
56
|
"turkce",
|
|
50
57
|
"zero-dependency",
|
|
51
58
|
"typescript",
|
|
59
|
+
"nodejs",
|
|
52
60
|
"isomorphic",
|
|
53
61
|
"regex-engine"
|
|
54
62
|
],
|