Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.87 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 1.87 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
{
"name": "regulo",
"version": "1.5.1",
"description": "Control the heat — a priority-queue semaphore with weighted permits, a saturation circuit breaker, adaptive backoff, and built-in metrics. Zero dependencies.",
"license": "MIT",
"author": "Greenstick <benacordier@gmail.com>",
"homepage": "https://github.com/greenstick/regulo#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/greenstick/regulo.git"
},
"bugs": {
"url": "https://github.com/greenstick/regulo/issues"
},
"keywords": [
"regulo",
"semaphore",
"circuit-breaker",
"concurrency",
"concurrency-limit",
"concurrency-limiter",
"rate-limit",
"backpressure",
"bulkhead",
"ssr",
"backoff",
"priority-queue",
"queue",
"throttle",
"resilience",
"load-shedding",
"async",
"promise",
"typescript"
],
"type": "module",
"engines": {
"node": ">=20.0.0"
},
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint:package": "publint && attw --pack",
"prepublishOnly": "npm run typecheck && npm run test && npm run build && npm run lint:package"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.3",
"@vitest/coverage-v8": "4.1.9",
"publint": "0.3.21",
"tsup": "^8.0.0",
"typescript": "^5.4.0",
"vitest": "4.1.9"
}
}