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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorindexzero <charlie.robbins@gmail.com>2010-06-25 06:56:24 +0400
committerisaacs <i@izs.me>2010-06-25 07:21:55 +0400
commitd6b5ec0224621086da293a82c96aedc55301937d (patch)
tree5957a9c102a0b1ed226170dd26c5f6d925db8721 /man/list.1
parent963528fb208e1c8bf10a06ac2c85d7acda8d6933 (diff)
Updated list docs
Diffstat (limited to 'man/list.1')
-rw-r--r--man/list.135
1 files changed, 22 insertions, 13 deletions
diff --git a/man/list.1 b/man/list.1
index b9cecec28..36672607b 100644
--- a/man/list.1
+++ b/man/list.1
@@ -1,32 +1,30 @@
-.\" generated with Ronn/v0.4.1
-.\" http://github.com/rtomayko/ronn/
+.\" generated with Ronn/v0.7.3
+.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "NPM\-LIST" "1" "May 2010" "" ""
+.TH "NPM\-LIST" "1" "June 2010" "" ""
.
.SH "NAME"
-\fBnpm\-list\fR \-\- List installed packages
+\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.
+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:
+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
@@ -34,6 +32,17 @@ npm ls @stable
.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.
+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
+.
+.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\.