Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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.
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.