@useverse/profanity-guard 1.0.0
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/LICENSE +23 -0
- package/README.md +1302 -0
- package/dist/index.d.mts +1548 -0
- package/dist/index.d.ts +1548 -0
- package/dist/index.js +12111 -0
- package/dist/index.mjs +12075 -0
- package/package.json +62 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@useverse/profanity-guard",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A flexible, production-ready TypeScript library for content moderation and profanity filtering with multiple severity levels and obfuscation detection",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"author": "fabiconcept",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"main": "dist/index.cjs",
|
|
9
|
+
"module": "dist/index.mjs",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/fabiconcept/useverse.git",
|
|
14
|
+
"directory": "packages/profanity-guard"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"clean": "rm -rf dist",
|
|
24
|
+
"build": "npm run clean && tsup src/index.ts --dts --format esm,cjs",
|
|
25
|
+
"dev": "tsup src/index.ts --watch",
|
|
26
|
+
"type-check": "tsc --noEmit",
|
|
27
|
+
"test": "jest",
|
|
28
|
+
"test:coverage": "jest --coverage"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"profanity",
|
|
32
|
+
"filter",
|
|
33
|
+
"moderation",
|
|
34
|
+
"content",
|
|
35
|
+
"bad-words",
|
|
36
|
+
"profanity-filter",
|
|
37
|
+
"content-moderation",
|
|
38
|
+
"typescript",
|
|
39
|
+
"censorship",
|
|
40
|
+
"sanitize",
|
|
41
|
+
"chat-filter",
|
|
42
|
+
"comment-moderation",
|
|
43
|
+
"obscenity",
|
|
44
|
+
"swear-words"
|
|
45
|
+
],
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": ">=16.8.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@testing-library/jest-dom": "^6.1.5",
|
|
51
|
+
"@testing-library/react": "^14.1.2",
|
|
52
|
+
"@types/jest": "^30.0.0",
|
|
53
|
+
"@types/react": "^18.2.45",
|
|
54
|
+
"jest": "^29.7.0",
|
|
55
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
56
|
+
"react": "^18.2.0",
|
|
57
|
+
"react-dom": "^18.2.0",
|
|
58
|
+
"ts-jest": "^29.1.1",
|
|
59
|
+
"tsup": "^8.0.1",
|
|
60
|
+
"typescript": "^5.3.3"
|
|
61
|
+
}
|
|
62
|
+
}
|