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:
authorisaacs <i@izs.me>2010-07-05 00:29:03 +0400
committerisaacs <i@izs.me>2010-07-25 05:51:07 +0400
commite937a72f38f359a47977d7e9ade1a2e3bf75fa4a (patch)
tree09b75265e56543ce10f5e371022f13e5becd6c7b /man/cache.1
parentc4aea02bfa76b6cb5ac9afd0ecea08b4ff017cd2 (diff)
Update all man pages using new version of ronn
Diffstat (limited to 'man/cache.1')
-rw-r--r--man/cache.142
1 files changed, 18 insertions, 24 deletions
diff --git a/man/cache.1 b/man/cache.1
index 8623eb072..5f2c49fa9 100644
--- a/man/cache.1
+++ b/man/cache.1
@@ -1,19 +1,22 @@
-.\" 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\-CACHE" "1" "May 2010" "" ""
.
.SH "NAME"
-\fBnpm\-cache\fR \-\- install a package
+\fBnpm\-cache\fR \- install a package
.
.SH "SYNOPSIS"
.
.nf
+
npm cache add <tarball file>
npm cache add <folder>
npm cache add <tarball url>
npm cache add <name> <version>
+
npm cache ls [<path>]
+
npm cache clean [<pkg> [<version>]]
.
.fi
@@ -22,45 +25,36 @@ npm cache clean [<pkg> [<version>]]
.
.TP
add
-Access the local cache of package data. This command is primarily
-intended to be used internally by npm, but it can provide a way to
-add data to the local installation cache explicitly.
+Access the local cache of package data\. This command is primarily intended to be used internally by npm, but it can provide a way to add data to the local installation cache explicitly\.
.
.IP
-If two arguments are provided, then npm will fetch the data from the
-registry. This allows npm to use the filesystem as a local proxy to
-the registry.
+If two arguments are provided, then npm will fetch the data from the registry\. This allows npm to use the filesystem as a local proxy to the registry\.
.
.TP
ls
-Show the data in the cache. Additional arguments are joined together
-in a path\-like fashion, but something like \fBnpm cache ls npm/0.1.5\fR is
-acceptable as well.
+Show the data in the cache\. Additional arguments are joined together in a path\-like fashion, but something like \fBnpm cache ls npm/0\.1\.5\fR is acceptable as well\.
.
.TP
clean
-Delete data out of the cache for a specific package and version, all
-versions of a package, or all data for all packages, depending on the
-arguments supplied.
+Delete data out of the cache for a specific package and version, all versions of a package, or all data for all packages, depending on the arguments supplied\.
.
.IP
-This can be used if invalid data gets into the cache.
+This can be used if invalid data gets into the cache\.
.
.SH "DETAILS"
-npm stores data for a version of a package in\fB$ROOT/.npm/.cache/<name>/<version>\fR. Three pieces of data are stored
-in this folder:
+npm stores data for a version of a package in \fB$ROOT/\.npm/\.cache/<name>/<version>\fR\. Three pieces of data are stored in this folder:
.
.TP
package/
-A folder containing the package contents as they appear in the tarball.
+A folder containing the package contents as they appear in the tarball\.
.
.TP
-package.json
-The package.json file, as npm sees it, with overlays applied and a _id attribute.
+package\.json
+The package\.json file, as npm sees it, with overlays applied and a _id attribute\.
.
.TP
-package.tgz
-The tarball for that version.
+package\.tgz
+The tarball for that version\.
.
.SH "HISTORY"
-Added in npm version 0.1.6
+Added in npm version 0\.1\.6