routup ecosystem
A small, focused set of plugins for the routup HTTP router — request parsing, decorators, rate limiting, OpenAPI generation, metrics, i18n. Each ships independently, follows the same Web-Standards conventions, and weighs only what it needs to.
One install, the things almost every API needs.
Parse what comes in. Serialize what goes out.
JSON, URL-encoded, raw, text, blobs, and decompressed streams.
Cookie parsing + Set-Cookie serialization with all attributes.
Query-string parsing into a typed map, including nested keys.
Static-file serving with cache-control, fallback, and SPA support.
Different ways to define handlers.
Serve OpenAPI documents — generate via @trapi/swagger directly.
Secure, log, throttle, observe, translate.
CORS — preflight handling and Access-Control-* response headers.
Morgan-compatible HTTP request logger built on the web-API.
Per-client request quotas with pluggable stores.
Redis-backed Store for distributed rate-limiting.
HTTP metrics + a /metrics scrape endpoint for Prometheus.
Per-request locale resolution and a translator helper, built on ilingo.