| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 | .TH "NPM\-LS" "1" "August 2021" "" "".SH "NAME"\fBnpm-ls\fR \- List installed packages.SS Synopsis.P.RS 2.nfnpm ls [[<@scope>/]<pkg> \.\.\.]aliases: list, la, ll.fi.RE.SS Description.PThis command will print to stdout all the versions of packages that areinstalled, as well as their dependencies, in a tree\-structure\..PPositional arguments are \fBname@version\-range\fP identifiers, which willlimit the results to only the paths to the packages named\.  Note thatnested packages will \fIalso\fR show the paths to the specified packages\.For example, running \fBnpm ls promzard\fP in npm's source tree will show:.P.RS 2.nf    npm@6\.14\.15 /path/to/npm    └─┬ init\-package\-json@0\.0\.4      └── promzard@0\.1\.5.fi.RE.PIt will print out extraneous, missing, and invalid packages\..PIf a project specifies git urls for dependencies these are shownin parentheses after the name@version to make it easier for users torecognize potential forks of a project\..PThe tree shown is the logical dependency tree, based on packagedependencies, not the physical layout of your node_modules folder\..PWhen run as \fBll\fP or \fBla\fP, it shows extended information by default\..SS Configuration.SS json.RS 0.IP \(bu 2Default: false.IP \(bu 2Type: Boolean.RE.PShow information in JSON format\..SS long.RS 0.IP \(bu 2Default: false.IP \(bu 2Type: Boolean.RE.PShow extended information\..SS parseable.RS 0.IP \(bu 2Default: false.IP \(bu 2Type: Boolean.RE.PShow parseable output instead of tree view\..SS global.RS 0.IP \(bu 2Default: false.IP \(bu 2Type: Boolean.RE.PList packages in the global install prefix instead of in the currentproject\..SS depth.RS 0.IP \(bu 2Type: Int.RE.PMax display depth of the dependency tree\..SS prod / production.RS 0.IP \(bu 2Type: Boolean.IP \(bu 2Default: false.RE.PDisplay only the dependency tree for packages in \fBdependencies\fP\|\..SS dev / development.RS 0.IP \(bu 2Type: Boolean.IP \(bu 2Default: false.RE.PDisplay only the dependency tree for packages in \fBdevDependencies\fP\|\..SS only.RS 0.IP \(bu 2Type: String.RE.PWhen "dev" or "development", is an alias to \fBdev\fP\|\..PWhen "prod" or "production", is an alias to \fBproduction\fP\|\..SS link.RS 0.IP \(bu 2Type: Boolean.IP \(bu 2Default: false.RE.PDisplay only dependencies which are linked.SS unicode.RS 0.IP \(bu 2Type: Boolean.IP \(bu 2Default: true.RE.PWhether to represent the tree structure using unicode characters\.Set it to false in order to use all\-ansi output\..SS See Also.RS 0.IP \(bu 2npm help config.IP \(bu 2npm help npmrc.IP \(bu 2npm help folders.IP \(bu 2npm help install.IP \(bu 2npm help link.IP \(bu 2npm help prune.IP \(bu 2npm help outdated.IP \(bu 2npm help update.RE
 |