Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.19 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.19 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
{
"name": "flight-shield",
"version": "3.4.4",
"description": "Zero-dependency toolkit to prevent thundering herds, cache stampedes, and redundant API calls — SingleFlight, StampedeShield, and BatchFlight for Node.js.",
"keywords": [
"singleflight",
"thundering-herd",
"cache-stampede",
"stale-while-revalidate",
"swr",
"batching",
"dataloader",
"deduplication",
"coalescing",
"request-coalescing",
"request-deduplication",
"concurrency",
"backend",
"performance",
"xfetch",
"cache",
"rate-limiting",
"typescript",
"nodejs",
"serverless",
"cloudflare-workers",
"vercel",
"nextjs",
"graphql",
"n+1",
"connection-pool"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mayankcodes-dev/flight-shield.git"
},
"bugs": {
"url": "https://github.com/mayankcodes-dev/flight-shield/issues"
},
"author": {
"name": "Mayank Singh",
"url": "https://github.com/mayankcodes-dev"
},
"license": "MIT",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"engines": {
"node": ">=20.0.0"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"assets/logo.svg",
"README.md",
"LICENSE",
"CHANGELOG.md",
"AGENTS.md",
"llms.txt",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
"SECURITY.md"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"bench": "npm run build && node benchmarks/coalesce.bench.mjs",
"check:exports": "npx publint --pack false",
"check:types": "node scripts/check-exports.mjs",
"prepublishOnly": "npm run build && npm run test && npm run check:exports"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@types/node": "^26.6.6",
"mitata": "^1.0.34",
"publint": "^0.3.25",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^5.1.0"
},
"overrides": {
"esbuild": "0.28.2"
}
}