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

ls.1 « man - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man/ls.1
blob: b9cecec284697104c8c263c5015c01f7ab55e471 (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
.\" generated with Ronn/v0.4.1
.\" http://github.com/rtomayko/ronn/
.
.TH "NPM\-LIST" "1" "May 2010" "" ""
.
.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
Strings are matched using the JavaScript "split" function, so regular
expression strings are ok.  However, the highlighting is a simple
split/join, so regexps probably won't get the funky colors.