{ "name": "@superfunctions/middleware", "version": "0.3.1", "description": "Shared middleware utilities for Superfunctions", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./rate-limit": { "types": "./dist/rate-limit.d.ts", "default": "./dist/rate-limit.js" } }, "files": ["dist"], "scripts": { "build": "tsc", "test": "vitest run", "test:watch": "vitest --watch", "typecheck": "tsc --noEmit", "clean": "rm -rf dist" }, "keywords": ["middleware", "rate-limit", "superfunctions"], "author": "21n", "license": "MIT", "bugs": { "url": "https://github.com/21nCo/super-functions/issues" }, "repository": { "type": "git", "url": "git+https://github.com/21nCo/superfunctions.git", "directory": "packages/middleware" }, "publishConfig": { "access": "public" }, "peerDependencies": { "@superfunctions/db": "^0.2.0 || ^0.3.0" }, "peerDependenciesMeta": { "@superfunctions/db": { "optional": true } }, "dependencies": { "@superfunctions/observability": "0.0.4" }, "devDependencies": { "@superfunctions/db": "0.3.4", "@types/node": "^22.0.0", "typescript": "^5.6.0", "vitest": "^3.2.4" } }