-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.62 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 2.62 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@th3hero/request-validator",
"version": "1.1.9",
"description": "🚀 Lightweight, fast & flexible request validation library for Node.js/Express/Next.js with TypeScript support. Features 20+ validation rules, database integration, file upload validation, and zero external dependencies. Perfect for API validation, form validation, and input sanitization.",
"keywords": [
"validator",
"request-validator",
"express-validator",
"validation",
"input-validation",
"form-validation",
"api-validation",
"typescript",
"nodejs",
"express",
"nextjs",
"fastify",
"koa",
"middleware",
"sanitization",
"data-validation",
"schema-validation",
"joi-alternative",
"yup-alternative",
"express-validation",
"request-sanitization",
"input-sanitization",
"database-validation",
"file-validation",
"async-validation",
"custom-validators",
"validation-rules",
"validation-middleware",
"api-security",
"input-security"
],
"homepage": "https://github.com/th3hero/request-validator#readme",
"bugs": {
"url": "https://github.com/th3hero/request-validator/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/th3hero/request-validator.git"
},
"license": "MIT",
"author": {
"name": "Alok Kumar",
"email": "thealokkumarsingh@gmail.com",
"url": "https://github.com/th3hero"
},
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"prepare": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "tsc --noEmit",
"clean": "rimraf dist coverage .idea",
"prepublishOnly": "npm run test && npm run lint",
"format": "prettier --write \"src/**/*.ts\"",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/jest": "^29.5.0",
"@types/mysql": "^2.15.21",
"@types/node": "^18.15.11",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"rimraf": "^4.4.1",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"optionalDependencies": {
"mysql": "^2.18.1"
},
"engines": {
"node": ">=14.0.0"
},
"publishConfig": {
"access": "public"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/th3hero"
},
"maintainers": [
{
"name": "Alok Kumar",
"email": "thealokkumarsingh@gmail.com"
}
]
}