]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/cli/npm-ls.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / cli / npm-ls.md
1 npm-ls(1) -- List installed packages
2 ======================================
3
4 ## SYNOPSIS
5
6     npm list [[@<scope>/]<pkg> ...]
7     npm ls [[@<scope>/]<pkg> ...]
8     npm la [[@<scope>/]<pkg> ...]
9     npm ll [[@<scope>/]<pkg> ...]
10
11 ## DESCRIPTION
12
13 This command will print to stdout all the versions of packages that are
14 installed, as well as their dependencies, in a tree-structure.
15
16 Positional arguments are `name@version-range` identifiers, which will
17 limit the results to only the paths to the packages named.  Note that
18 nested packages will *also* show the paths to the specified packages.
19 For example, running `npm ls promzard` in npm's source tree will show:
20
21     npm@@VERSION@ /path/to/npm
22     └─┬ init-package-json@0.0.4
23       └── promzard@0.1.5
24
25 It will print out extraneous, missing, and invalid packages.
26
27 If a project specifies git urls for dependencies these are shown
28 in parentheses after the name@version to make it easier for users to
29 recognize potential forks of a project.
30
31 When run as `ll` or `la`, it shows extended information by default.
32
33 ## CONFIGURATION
34
35 ### json
36
37 * Default: false
38 * Type: Boolean
39
40 Show information in JSON format.
41
42 ### long
43
44 * Default: false
45 * Type: Boolean
46
47 Show extended information.
48
49 ### parseable
50
51 * Default: false
52 * Type: Boolean
53
54 Show parseable output instead of tree view.
55
56 ### global
57
58 * Default: false
59 * Type: Boolean
60
61 List packages in the global install prefix instead of in the current
62 project.
63
64 ### depth
65
66 * Type: Int
67
68 Max display depth of the dependency tree.
69
70 ### prod / production
71
72 * Type: Boolean
73 * Default: false
74
75 Display only the dependency tree for packages in `dependencies`.
76
77 ### dev
78
79 * Type: Boolean
80 * Default: false
81
82 Display only the dependency tree for packages in `devDependencies`.
83
84 ## SEE ALSO
85
86 * npm-config(1)
87 * npm-config(7)
88 * npmrc(5)
89 * npm-folders(5)
90 * npm-install(1)
91 * npm-link(1)
92 * npm-prune(1)
93 * npm-outdated(1)
94 * npm-update(1)