api-amqp
Typed amqplib publisher/consumer helpers for RabbitMQ — JSON encoding, exchange/queue assertion, and ack/nack handling.
api-auth
Framework-agnostic JWT sign/verify helpers with Bearer-header and cookie token extraction.
api-auth-express
Express middleware for @rtorcato/api-auth — JWT authentication with Bearer-header and cookie support.
api-auth-hono
Hono middleware for @rtorcato/api-auth — JWT authentication with Bearer-header and cookie support.
api-config
Load and validate environment variables with dotenv + zod for Node API projects.
api-cors-express
Express CORS middleware with sane defaults (credentials, standard methods, preflight).
api-errors
Framework-agnostic HTTP error classes for Node.js APIs.
api-errors-express
Express middleware for @rtorcato/api-errors (error handler + not-found handler).
api-errors-hono
Hono middleware for @rtorcato/api-errors (error handler + not-found handler).
api-express-utils
Small Express utility helpers: client IP extraction and route logging.
api-graceful-shutdown
Framework-agnostic graceful shutdown for Node API servers — SIGTERM/SIGINT drain with ordered cleanup hooks and a hard timeout.
api-health
Framework-agnostic liveness/readiness health-check registry for Node API projects.
api-health-express
Express liveness/readiness probe handlers for @rtorcato/api-health.
api-health-hono
Hono liveness/readiness probe handlers for @rtorcato/api-health.
api-http
Typed HTTP client over native fetch — base URL, default headers, timeout, and errors normalized to @rtorcato/api-errors.
api-logger
Framework-agnostic pino logger factory for Node API projects.
api-openapi
Framework-agnostic OpenAPI 3.1 helpers — generate Scalar docs HTML from a spec object.
api-openapi-express
Express router that serves Scalar API docs from an OpenAPI spec object.
api-openapi-hono
Hono adapter for schema-first OpenAPI docs — wires @hono/zod-openapi and serves the Scalar API reference UI.
api-rate-limit
Framework-agnostic in-memory sliding-window rate limiter for Node API projects.
api-rate-limit-express
Express middleware for @rtorcato/api-rate-limit (sliding-window rate limiter).
api-rate-limit-hono
Hono middleware for @rtorcato/api-rate-limit (sliding-window rate limiter).
api-response
Consistent success-response envelope and zod schema helper for Node API projects.
api-testing
Test helpers for API projects: supertest re-export, JWT auth fixtures, and response assertion matchers.
api-ts-rest-express
Mount a ts-rest contract on Express and serve its OpenAPI docs (Scalar) — wires @ts-rest/express + @ts-rest/open-api into api-common.
api-upload
Promise-based S3 file upload for Express via multer-s3 — public/private ACL, cache-control, deterministic keys, typed errors.
api-validation
Zod request validation helpers with pretty error formatting for Node API projects.