hoangvvo/next-connect
The TypeScript-ready, minimal router and middleware layer for Next.js, Micro, Vercel, or Node.js http/http2 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2516
- days_rel: n/a
- days_push: 930
- n_releases_24m: 0
Adoption not part of the score
1650 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
next-connect is a lightweight, promise-based method routing and middleware layer for Next.js API routes, Edge routes, Middleware, App Router, and Node.js http/http2 servers. It supports async handlers with error catching, TypeScript, and Express middleware compatibility via a wrapper.
Use cases
- add method-based routing to Next.js API routes
- use Express middleware like passport in Next.js handlers
- chain async middleware with error handling in serverless functions
- build lightweight routers for Vercel Edge or micro services
- handle GET/PUT/POST logic in a single Next.js route file
- replace Express with a faster minimal router on Node.js
When to choose
- you use Next.js API routes or Edge runtime and want Express-style middleware chaining
- you need a tiny, fast router for serverless or Node.js http servers
- you want TypeScript-first routing with async error handling
When to avoid
- you need a full-featured web framework with built-in validation, sessions, or templating
- you are on Next.js App Router and prefer native route handlers without middleware chaining
- you need routing features like nested route params or sub-routers beyond method routing
Facets
library · maturity stable
routing middleware http-server web-framework web-development backend apis serverless nextjs express-compatible typescript-ready serverless edge-runtime nodejs web-server
2 sources
- readme: https://github.com/hoangvvo/next-connect · fetched 2026-08-28 · 07de8d3a70a6
- registry_npm: https://registry.npmjs.org/next-connect · fetched 2026-08-29 · caed0a23989d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hoangvvo/next-connect | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="hoangvvo/next-connect")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem