v3.0.4 · Node.js 22+, Bun, Deno, Edge

NextRush

TypeScript-first HTTP stack for Node.js and other runtimes.

Composable middleware, radix routing, optional DI and decorators. Benchmarks use a fixed setup so you can reproduce numbers on your own hardware.

src/index.ts
import { createApp, createRouter, listen } from 'nextrush';

const app = createApp();
const router = createRouter();

router.get('/', (ctx) => {
 ctx.json({ message: 'Hello NextRush!' });
});

app.route('/', router);
listen(app, 3000);

What you get

Explicit wiring, readable request flow, and packages you enable only when you need them.

Lean request path

Segment-trie routing and a small core. Measure throughput on your machine — see the Benchmarks docs for methodology.

Type Safe

Full TypeScript with zero `any`. Catch errors at compile time, not in production.

Modular

30 packages in the monorepo. Install what you need. Core is under 3,000 lines of code.

Multi-Runtime

Node.js, Bun, Deno, and Edge. Write once, deploy anywhere.

Plugin System

Controllers, WebSocket, static files, and more register through the plugin interface.

Security middleware

Helmet, CORS, rate limiting, and CSRF as installable packages — wire what your deployment needs.


Start building in seconds

Install the package and follow the getting-started guide.

$ pnpm add nextrush