Analyze Your Next.js
Routing Structure
A comprehensive Next.js project introspection tool that analyzes routing structures, detects framework configurations, and provides detailed metadata about your Next.js application.
Powerful Features
Everything you need to understand, document, and work with your Next.js routing structure with enterprise-grade reliability
App Router Support
Full support for Next.js 13+ App Router with special files, route groups, intercepting routes, and parallel routes. Analyzes layouts, loading states, error boundaries, and metadata exports.
Pages Router Legacy
Complete analysis of traditional Pages Router with API routes, data fetching methods (getServerSideProps, getStaticProps), and special pages (_app, _document, _error).
Type-Safe Routes
Generate TypeScript route builders with full type safety. Enjoy IDE autocompletion, compile-time route validation, and zero runtime errors in your route usage.
Watch Mode
Real-time monitoring with intelligent file watching. Automatically re-analyzes routes when you add pages, update configurations, or modify route structures during development.
Multiple Outputs
Export in JSON, Markdown, TypeScript, or raw objects. Customize field filtering, path formatting, and nested structures for any workflow or integration.
CI/CD Ready
Integrate into your build pipeline for automated route validation, documentation generation, and migration tracking. Works with GitHub Actions, Jenkins, and any CI/CD platform.
Get Started in Seconds
Install next-introspect and start analyzing your Next.js projects immediately
💻CLI Tool
Install globally for command-line usage across all your projects.
📦Programmatic API
Install locally for programmatic usage in your applications and build tools.
⚡One-time Usage
Try next-introspect without installing it globally. Use package runners to execute commands on-demand.
bunx downloads and runs packages without global installation
npx executes packages from npm registry without installation
Perfect for Every Use Case
From development workflows to production deployments, next-introspect fits seamlessly into your process
🚀Development
- ✓Type-safe routing: Generate TypeScript route helpers for full IDE autocompletion
- ✓Watch mode: Automatically update routes as you develop
- ✓Route validation: Catch routing issues before they reach production
- ✓Documentation: Auto-generate route documentation for your team
🏭Production
- ✓CI/CD integration: Validate routes in your deployment pipeline
- ✓Route inventory: Maintain comprehensive route documentation
- ✓Migration planning: Track Pages Router to App Router migrations
- ✓Performance monitoring: Monitor route complexity and optimization opportunities
Code Examples
See how next-introspect works in real scenarios
TypeScript Route Helpers
Compile-time route validation prevents typos and ensures type safety.
Watch Mode Development
Automatically regenerates routes when you add or modify pages during development.
Programmatic API
Use the full API programmatically in build tools, scripts, and CI/CD pipelines.
CI/CD Integration
Automate route validation and documentation generation in your CI/CD pipeline.
Documentation for LLMs
Access our complete documentation in formats optimized for AI assistants
Full Documentation Text
Get the entire documentation site content in a single, LLM-optimized plain text format. Perfect for AI assistants that need comprehensive context about next-introspect.
Ready to Analyze Your Next.js Routes?
Join developers worldwide who use next-introspect to understand, document, and optimize their Next.js applications.
Our Sponsors
We're grateful to our sponsors who help make next-introspect possible
Professional web agency based in Brest, France. Experts in creating modern websites and applications for startups and businesses.
Visit WebsiteSupport open source development and showcase your brand here.
Support open source development and showcase your brand here.
Interested in Sponsoring?
Help support the development of next-introspect and get your company's logo displayed here with a link to your website.
Get in Touch