]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-ls.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-ls.3
1 .TH "NPM\-LS" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-ls\fR \- List installed packages
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.ls(args, [silent,] callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
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\. It will also
15 return that data using the callback\.
16 .P
17 This command does not take any arguments, but args must be defined\.
18 Beyond that, if any arguments are passed in, npm will politely warn that it
19 does not take positional arguments, though you may set config flags
20 like with any other command, such as \fBglobal\fP to list global packages\.
21 .P
22 It will print out extraneous, missing, and invalid packages\.
23 .P
24 If the silent parameter is set to true, nothing will be output to the screen,
25 but the data will still be returned\.
26 .P
27 Callback is provided an error if one occurred, the full data about which
28 packages are installed and which dependencies they will receive, and a
29 "lite" data object which just shows which versions are installed where\.
30 Note that the full data object is a circular structure, so care must be
31 taken if it is serialized to JSON\.
32 .SH CONFIGURATION
33 .SS long
34 .RS 0
35 .IP \(bu 2
36 Default: false
37 .IP \(bu 2
38 Type: Boolean
39
40 .RE
41 .P
42 Show extended information\.
43 .SS parseable
44 .RS 0
45 .IP \(bu 2
46 Default: false
47 .IP \(bu 2
48 Type: Boolean
49
50 .RE
51 .P
52 Show parseable output instead of tree view\.
53 .SS global
54 .RS 0
55 .IP \(bu 2
56 Default: false
57 .IP \(bu 2
58 Type: Boolean
59
60 .RE
61 .P
62 List packages in the global install prefix instead of in the current
63 project\.
64 .P
65 Note, if parseable is set or long isn't set, then duplicates will be trimmed\.
66 This means that if a submodule has the same dependency as a parent module, then the
67 dependency will only be output once\.
68