-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.56 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.56 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
{
"name": "limitkit",
"version": "0.2.0",
"description": "Rate limiting as a decision, not a middleware: fixed and sliding windows over an injectable store, a bounded in-memory store, standard RateLimit headers, and client-IP extraction. No HTTP client, no framework.",
"license": "MIT",
"author": "Mao Nakamoto",
"homepage": "https://github.com/catomean/limitkit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/catomean/limitkit.git"
},
"bugs": {
"url": "https://github.com/catomean/limitkit/issues"
},
"keywords": [
"rate-limit",
"rate-limiting",
"sliding-window",
"fixed-window",
"throttle",
"headless"
],
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"verify": "npm run format:check && npm run lint && npm run typecheck && npm run build && npm test",
"prepare": "npm run build",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"eslint": "^10.9.1",
"globals": "^16.5.0",
"prettier": "3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
}
}