Welcome to mirror list, hosted at ThFree Co, Russian Federation.

list.1 « man1 - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ee91977aa50197d094815666cee6e3b1f75e6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LIST" "1" "January 2011" "" ""
.
.SH "NAME"
\fBnpm-list\fR \-\- List installed packages
.
.SH "SYNOPSIS"
.
.nf
npm list
npm ls
.
.fi
.
.SH "DESCRIPTION"
This command will print to stdout all the versions of packages that are
either installed or available in the registry, with their tags and whether
or not they\'re active and/or stable\.
.
.P
To filter a single package or state, you can provide words to filter on
and highlight (if appropriate)\.  For instance, to see all the stable
packages, you could do this:
.
.IP "" 4
.
.nf
npm ls stable
.
.fi
.
.IP "" 0
.
.P
Another common usage is to find the set of all packages that are 
installed\. This can be accomplished by doing this:
.
.IP "" 4
.
.nf
npm ls installed
.
.fi
.
.IP "" 0
.
.SH "CONFIGURATION"
.
.SS "registry"
Default: https://registry\.npmjs\.org/
.
.P
The base URL of the npm package registry\.
.
.SS "listopts"
Default: ""
.
.P
A whitespace\-separated list of extra args that are always passed to npm ls
.
.P
For example: \fBlistopts = remote\fR
.
.P
\fBnpm ls\fR
.
.P
The output here will always filter by remote
.
.SS "description"
Default: true
.
.P
Show the package description in npm ls\.
.
.SS "outfd"
Default: Standard Output FD (1)
.
.P
The file descriptor (integer) or stream object where npm will write
"normal" output\.  For instance, the \fBls\fR and \fBview\fR commands write their
output here\.
.
.P
When using npm programmatically, you may want to provide a
FileWriteStream, or some other form of WritableStream\.
.
.SS "color"
Default: true
.
.P
Set to false to disable colorized output\.
.
.P
In versions of node that expose the \fBisatty\fR function, npm will never
write colorized output to a non\-terminal file descriptor\.