Next REST Framework
JSON →Next REST Framework (NRF) is an open-source, opinionated, and lightweight set of tools designed for building type-safe, self-documenting APIs within Next.js applications. Currently at version 6.1.1, it receives active maintenance, with frequent patch and minor releases addressing fixes, security updates, and compatibility with the latest Next.js and ecosystem libraries like Zod v4. A key differentiator is its automatic generation of OpenAPI specification-compliant documents and interactive API documentation (using Redoc/SwaggerUI), leveraging TypeScript and object schemas (e.g., Zod) to ensure robust type-safety across API definitions. NRF supports various API patterns, including REST, Form, and RPC endpoints, for both the App Router and Pages Router paradigms in Next.js, and integrates with Next.js Middleware and Edge runtime, making it a flexible choice for modern Next.js API development.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · 🇺🇦 Ukraine