ls
List installed npm packages in a project by specifying the absolute path. Filter by depth, global, all, or production dependencies to view dependency trees.
Instructions
List installed packages in a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Show all packages, not just top-level | |
| path | Yes | Absolute path to the package directory | |
| depth | No | Dependency tree depth (default: 0) | |
| global | No | List global packages | |
| package | No | Specific package to look for | |
| production | No | Only show production dependencies |