mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
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>
32 lines
776 B
JSON
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"
|
|
}
|
|
}
|