]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man1/npm-ls.1
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man1 / npm-ls.1
1 .TH "NPM\-LS" "1" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-ls\fR \- List installed packages
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm list [[@<scope>/]<pkg> \.\.\.]
9 npm ls [[@<scope>/]<pkg> \.\.\.]
10 npm la [[@<scope>/]<pkg> \.\.\.]
11 npm ll [[@<scope>/]<pkg> \.\.\.]
12 .fi
13 .RE
14 .SH DESCRIPTION
15 .P
16 This command will print to stdout all the versions of packages that are
17 installed, as well as their dependencies, in a tree\-structure\.
18 .P
19 Positional arguments are \fBname@version\-range\fP identifiers, which will
20 limit the results to only the paths to the packages named\.  Note that
21 nested packages will \fIalso\fR show the paths to the specified packages\.
22 For example, running \fBnpm ls promzard\fP in npm's source tree will show:
23 .P
24 .RS 2
25 .nf
26 npm@2.15.11 /path/to/npm
27 └─┬ init\-package\-json@0\.0\.4
28   └── promzard@0\.1\.5
29 .fi
30 .RE
31 .P
32 It will print out extraneous, missing, and invalid packages\.
33 .P
34 If a project specifies git urls for dependencies these are shown
35 in parentheses after the name@version to make it easier for users to
36 recognize potential forks of a project\.
37 .P
38 When run as \fBll\fP or \fBla\fP, it shows extended information by default\.
39 .SH CONFIGURATION
40 .SS json
41 .RS 0
42 .IP \(bu 2
43 Default: false
44 .IP \(bu 2
45 Type: Boolean
46
47 .RE
48 .P
49 Show information in JSON format\.
50 .SS long
51 .RS 0
52 .IP \(bu 2
53 Default: false
54 .IP \(bu 2
55 Type: Boolean
56
57 .RE
58 .P
59 Show extended information\.
60 .SS parseable
61 .RS 0
62 .IP \(bu 2
63 Default: false
64 .IP \(bu 2
65 Type: Boolean
66
67 .RE
68 .P
69 Show parseable output instead of tree view\.
70 .SS global
71 .RS 0
72 .IP \(bu 2
73 Default: false
74 .IP \(bu 2
75 Type: Boolean
76
77 .RE
78 .P
79 List packages in the global install prefix instead of in the current
80 project\.
81 .SS depth
82 .RS 0
83 .IP \(bu 2
84 Type: Int
85
86 .RE
87 .P
88 Max display depth of the dependency tree\.
89 .SS prod / production
90 .RS 0
91 .IP \(bu 2
92 Type: Boolean
93 .IP \(bu 2
94 Default: false
95
96 .RE
97 .P
98 Display only the dependency tree for packages in \fBdependencies\fP\|\.
99 .SS dev
100 .RS 0
101 .IP \(bu 2
102 Type: Boolean
103 .IP \(bu 2
104 Default: false
105
106 .RE
107 .P
108 Display only the dependency tree for packages in \fBdevDependencies\fP\|\.
109 .SH SEE ALSO
110 .RS 0
111 .IP \(bu 2
112 npm help config
113 .IP \(bu 2
114 npm help 7 config
115 .IP \(bu 2
116 npm help 5 npmrc
117 .IP \(bu 2
118 npm help 5 folders
119 .IP \(bu 2
120 npm help install
121 .IP \(bu 2
122 npm help link
123 .IP \(bu 2
124 npm help prune
125 .IP \(bu 2
126 npm help outdated
127 .IP \(bu 2
128 npm help update
129
130 .RE
131