managarten/packages/shared-hono/package.json
Till JS 408762e2d6 feat(shared-hono): add rate limiting middleware
In-memory sliding window rate limiter with per-IP tracking, configurable limits, and automatic stale entry cleanup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 14:55:22 +02:00

32 lines
776 B
JSON

{
"name": "@manacore/shared-hono",
"version": "0.1.0",
"private": true,
"description": "Shared Hono infrastructure: auth, health, admin, error handling for lightweight compute servers",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./auth": "./src/auth.ts",
"./db": "./src/db.ts",
"./health": "./src/health.ts",
"./admin": "./src/admin.ts",
"./error": "./src/error.ts",
"./credits": "./src/credits.ts",
"./rate-limit": "./src/rate-limit.ts"
},
"scripts": {
"type-check": "tsc --noEmit"
},
"dependencies": {
"hono": "^4.7.0",
"jose": "^6.0.11",
"drizzle-orm": "^0.45.1",
"postgres": "^3.4.5"
},
"devDependencies": {
"@types/node": "^24.10.1",
"typescript": "^5.9.3"
}
}