X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fhtml%2Fdoc%2Fcli%2Fnpm-cache.html;fp=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fhtml%2Fdoc%2Fcli%2Fnpm-cache.html;h=71ce4b2a80de5561c35443b89d6db22b100a2599;hb=2529be6d456deeb07c128603ce4971f1dc29b695;hp=0000000000000000000000000000000000000000;hpb=2636fc31c16c23711cf2b06a4ae8537bba9c1d35;p=simantics%2Fdistrict.git diff --git a/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/cli/npm-cache.html b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/cli/npm-cache.html new file mode 100644 index 00000000..71ce4b2a --- /dev/null +++ b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/cli/npm-cache.html @@ -0,0 +1,85 @@ + + +
Manipulates packages cache
+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 [<path>]
+
Used to add, list, or clear the npm cache folder.
+add: +Add the specified package to the local cache. 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.
+ls:
+Show the data in the cache. Argument is a path to show in the cache
+folder. Works a bit like the find
program, but limited by the
+depth
config.
clean: +Delete data out of the cache folder. If an argument is provided, then +it specifies a subpath to delete. If no argument is provided, then +the entire cache is cleared.
+npm stores cache data in the directory specified in npm config get cache
.
+For each package that is added to the cache, three pieces of information are
+stored in {cache}/{name}/{version}
:
Additionally, whenever a registry request is made, a .cache.json
file
+is placed at the corresponding URI, to store the ETag and the requested
+data. This is stored in {cache}/{hostname}/{path}/.cache.json
.
Commands that make non-essential registry requests (such as search
and
+view
, or the completion scripts) generally specify a minimum timeout.
+If the .cache.json
file is younger than the specified timeout, then
+they do not make an HTTP request to the registry.
Default: ~/.npm
on Posix, or %AppData%/npm-cache
on Windows.
The root cache folder.
+