-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.64 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
{
"name": "rate-limiter-algorithms",
"version": "2.1.11",
"description": "A rate limiting library that provides various algorithms",
"author": {
"name": "Eugene Shumilin",
"email": "[email protected]",
"url": "https://neirea.com"
},
"homepage": "https://github.com/Neirea/rate-limiter-algorithms",
"repository": {
"type": "git",
"url": "https://github.com/Neirea/rate-limiter-algorithms.git"
},
"keywords": [
"rate-limiter",
"rate-limit",
"token-bucket",
"sliding-window-counter",
"sliding-window-log",
"fixed-window-counter"
],
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --minify --clean",
"test": "tsc -p . && node --test ./dist/tests/**/*.test.js && rm -rf dist",
"lint": "eslint \"{src,tests}/**/*.ts\" --fix",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"license": "MIT",
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^25.4.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"prettier": "3.8.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0"
}
}