-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 3.08 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
{
"name": "triva",
"version": "1.0.0",
"description": "Enterprise Node.js HTTP & HTTPS framework with middleware, throttling, logging, caching, error tracking, and cookie support",
"type": "module",
"main": "lib/index.js",
"types": "./types/index.d.ts",
"exports": {
"default": "./lib/index.js",
"types": "./types/index.d.ts"
},
"scripts": {
"test": "node scripts/test.js",
"test:unit": "node scripts/test.js unit",
"test:integration": "node scripts/test.js integration",
"test:update-notifier": "node test/update-notifier.test.js",
"test:adapters": "npm run test:adapter:embedded && npm run test:adapter:sqlite && npm run test:adapter:better-sqlite3",
"test:adapter:embedded": "node test/adapters/embedded.test.js",
"test:adapter:sqlite": "node test/adapters/sqlite.test.js",
"test:adapter:better-sqlite3": "node test/adapters/better-sqlite3.test.js",
"test:adapter:mongodb": "node test/adapters/mongodb.test.js",
"test:adapter:redis": "node test/adapters/redis.test.js",
"test:adapter:supabase": "node test/adapters/supabase.test.js",
"benchmark": "node benchmark/run-benchmarks.js",
"benchmark:cache": "node benchmark/bench-cache.js",
"benchmark:routing": "node benchmark/bench-routing.js",
"benchmark:middleware": "node benchmark/bench-middleware.js",
"benchmark:throttle": "node benchmark/bench-throttle.js",
"benchmark:logging": "node benchmark/bench-logging.js",
"benchmark:http": "node benchmark/bench-http.js",
"benchmark:https": "node benchmark/bench-https.js",
"benchmark:rps": "node benchmark/bench-rps.js",
"docs": "node scripts/generate-docs.js",
"release": "node scripts/release.js",
"migrate": "node scripts/migrate.js",
"generate-certs": "bash scripts/generate-certs.sh",
"example:basic": "node examples/basic.js",
"example:http": "node examples/http-server.js",
"example:https": "node examples/https-server.js",
"example:dual": "node examples/dual-mode.js",
"example:embedded": "node examples/embedded-db.js",
"example:sqlite": "node examples/sqlite-db.js",
"example:better-sqlite3": "node examples/better-sqlite3-db.js",
"example:mongodb": "node examples/mongodb.js",
"example:redis": "node examples/redis.js",
"example:postgresql": "node examples/postgresql.js",
"example:supabase": "node examples/supabase.js",
"example:enterprise": "node examples/enterprise.js",
"test:coverage": "c8 npm test",
"test:watch": "node --watch scripts/test.js",
"pack:check": "npm pack --dry-run",
"prepublishOnly": "npm test && npm run pack:check",
"security:audit": "npm audit --audit-level=moderate",
"security:check": "npm run security:audit && npm run test"
},
"keywords": [
"http",
"https",
"ssl",
"tls",
"server",
"framework",
"middleware",
"throttle",
"rate-limit",
"logging",
"cache",
"cookies",
"error-tracking"
],
"author": "Kris Powers",
"license": "Apache-2.0",
"engines": {
"node": ">=18.0.0"
},
"files": [
"lib/",
"types/",
"README.md",
"LICENSE"
]
}