mirror of
https://github.com/bitbaum/limitkit.git
synced 2026-12-04 03:47:43 +01:00
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "limitkit",
|
|
"version": "0.2.1",
|
|
"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/bitbaum/limitkit#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitbaum/limitkit.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bitbaum/limitkit/issues"
|
|
},
|
|
"keywords": [
|
|
"rate-limit",
|
|
"rate-limiting",
|
|
"sliding-window",
|
|
"fixed-window",
|
|
"throttle",
|
|
"headless"
|
|
],
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"packageManager": "pnpm@11.25.0",
|
|
"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": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test",
|
|
"prepare": "pnpm run build",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^26.4.1",
|
|
"eslint": "^10.9.1",
|
|
"globals": "^17.12.0",
|
|
"prettier": "3.9.10",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.69.0"
|
|
}
|
|
}
|