`list include` talks about installing packages instead of listing them
documentation indicates that npm list --include installs dependencies
Option that allows for defining which types of dependencies to install.
shouldn't it say list instead of install?
this applies to multiple items:
- https://docs.npmjs.com/cli/v10/commands/npm-ls#include
- https://docs.npmjs.com/cli/v10/commands/npm-ls#omit
- https://docs.npmjs.com/cli/v10/commands/npm-ls#global
- https://docs.npmjs.com/cli/v10/commands/npm-ls#workspaces
- https://docs.npmjs.com/cli/v10/commands/npm-ls#install-links
The npm list command is used to display the dependency tree of installed packages in a Node.js project.
Also you contradict your own statement, as the command is for list and not install:
shouldn't it say list instead of install?
My intuition says this issue is invalid. Please revise & clarify your comments and close this issue if needed.
Cheers!
sorry
Also you contradict your own statement, as the command is for list and not install:
I'm not talking the install command
I'm talking about the documentation for the list command
which contradicts itself
The npm list command is used to display the dependency tree
the documentation uses the word install
but it should use the word
list or display
https://docs.npmjs.com/cli/v10/commands/npm-ls#include
many other items in the list documentation page also use the word install