-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.88 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "hi-defendjs",
"version": "1.1.0",
"description": "Unified security layer for Express.js: authentication, validation, sanitization, rate limiting, CORS, lockout, CSRF protection and request tracing",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"express",
"security",
"middleware",
"authentication",
"jwt",
"google-auth",
"rate-limit",
"cors",
"validation",
"sanitization",
"rbac",
"api-security",
"nodejs",
"backend"
],
"scripts": {
"build": "tsc",
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js"
},
"peerDependencies": {
"express": "^4.17.0 || ^5.0.0"
},
"dependencies": {
"argon2": "^0.44.0",
"bcryptjs": "^3.0.3",
"compression": "^1.8.1",
"cors": "^2.8.5",
"express-rate-limit": "^8.2.1",
"express-validator": "^7.3.1",
"google-auth-library": "^10.5.0",
"helmet": "^8.1.0",
"hpp": "^0.2.3",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.1",
"nanoid": "^5.1.6",
"qs": "^6.14.0",
"rate-limiter-flexible": "^9.0.0",
"sanitize-html": "^2.17.0",
"uuid": "^13.0.0",
"winston": "^3.18.3",
"xss": "^1.0.15",
"zod": "^4.1.13"
},
"devDependencies": {
"@types/compression": "^1.8.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/hpp": "^0.2.7",
"@types/jsonwebtoken": "^9.0.10",
"@types/morgan": "^1.9.10",
"@types/node": "^24.10.1",
"@types/sanitize-html": "^2.16.0",
"@types/uuid": "^10.0.0",
"@types/winston": "*",
"express": "^5.2.1",
"tsx": "^4.19.3",
"typescript": "^5.9.3"
}
}