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.
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 nextrushStart building
Read the intro, scan the framework map, open the full docs, install agent skills for AI workflows, or jump to examples.
Introduction
What NextRush is, trade-offs, and a three-step mental model.
Start hereFramework overview
Architecture, request flow, packages, styles, and benchmarks.
Read overviewDocumentation
Concepts, API reference, guides, and community.
Browse docsAgent skills
Installable guides for Cursor, Copilot, Claude, and other assistants.
View skillsExamples
Patterns you can paste and adapt.
View examples