
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
A command-line utility to explore and visualize all routes in your Next.js application, including both pages and API routes. This tool aims to simplify debugging when working in the Next.js app directory and to provide clear insights into which routes are being rendered, both for pages and API routes. Inspired by the php artisan route:list
command.
[param]
in yellow(param)
in blue[...param]
in magenta@folder
in orange(.)
and (..)
in pink[param]
) and optional segments ((param)
)"metadata"
or "generateMetadata"
npx next-list [pages|api]
npm install -g next-list
next-list [pages|api]
npm install next-list
npm run list [pages|api]
Options:
pages
: List only page routesapi
: List only API routes--full
or -f
: Show full URLs including base URL| Function Name | Route | Type | Metadata | Server Action | Dynamic | Revalidate | FetchCache | Loading | Error |
|---------------|--------------------------|-----------|----------|---------------|---------|------------|------------|---------|-------|
| HomePage | / | β’ client | β | Γ | - | 30s | force-cache| β | β |
| AboutPage | /about | β server | β | β | auto | - | - | β | Γ |
| UserProfile | /users/[id] | β’ client | β | Γ | - | - | - | Γ | β |
| Settings | /@modal/settings | β server | Γ | β | - | - | - | β | Γ |
| EditPhoto | /photos/(.)edit | β’ client | Γ | β | - | - | - | Γ | Γ |
| Method | Route |
|-------------------|-------------------------------|
| GET | POST | /api/users |
| DELETE | /api/users/[id] |
| GET | PUT | PATCH | /api/items |
Contributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
MIT Β© Pablo Lizardo https://www.pablolizardo.dev | https://www.casaa.com.ar
Made with β€οΈ for the Next.js community
FAQs
A package to render tables in CLI for Next.js routes visualization.
The npm package next-list receives a total of 66 weekly downloads. As such, next-list popularity was classified as not popular.
We found that next-list demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.