next-to-fetch

JSON →
library 0.6.0 ·javascript
verified Jun 7, 2026

CLI tool to analyze Next.js App Router projects and generate static fetch() API route definitions. Version 0.6.0, updated monthly. Differentiates from other route analyzers by focusing specifically on App Router routes, detecting client vs server context, duplicate routes, unsupported dynamic fetches, and cache signals. Outputs JSON or TypeScript files for type-safe API consumption.