
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
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 206 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.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.