From 0928584444ac6edf1ead0b93c9d05b1124183702 Mon Sep 17 00:00:00 2001
From: Forrest L Norvell Add a registry user account Create or verify a user named This will ensure that all requests to that registry (including for tarballs)
-include an authorization header. See
-
+
diff --git a/deps/npm/html/doc/cli/npm-adduser.html b/deps/npm/html/doc/cli/npm-adduser.html
index 8267923eb4f..9e34cb36408 100644
--- a/deps/npm/html/doc/cli/npm-adduser.html
+++ b/deps/npm/html/doc/cli/npm-adduser.html
@@ -12,6 +12,8 @@
npm-adduser
SYNOPSIS
npm adduser [--registry=url] [--scope=@orgname] [--always-auth]
+
+aliases: login, add-user
DESCRIPTION
<username>
in the specified registry, and
save the credentials to the .npmrc
file. If no registry is specified,
@@ -44,9 +46,11 @@ registry should include authorization information. Useful for private
registries. Can be used with --registry
and / or --scope
, e.g.npm adduser --registry=http://private-registry.example.com --always-auth
always-auth
in npm-config(7)
for more
-details on always-auth. Registry-specific configuration of always-auth
takes
-precedence over any global configuration.always-auth
in npm-config(7)
for more details on
+always-auth. Registry-specific configuration of always-auth
takes precedence
+over any global configuration.
Bugs for a package in a web browser maybe
npm bugs [<pkgname>]
+
+aliases: issues
This command tries to guess at the likely location of a package's
bug tracker URL, and then tries to open it using the --browser
@@ -53,5 +55,5 @@ a package.json
in the current folder and use the name
npm gets its config settings from the command line, environment
variables, npmrc
files, and in some cases, the package.json
file.
npm dedupe
npm ddp
+
+aliases: find-dupes, ddp
Searches the local package tree and attempts to simplify the overall structure by moving dependencies further up the tree, where they can @@ -59,5 +61,5 @@ result in new modules being installed.
npm dist-tag add <pkg>@<version> [<tag>]
npm dist-tag rm <pkg> <tag>
npm dist-tag ls [<pkg>]
+
+aliases: dist-tags
Add, remove, and enumerate distribution tags on a package:
v
.
name
property.
"notepad"
on Windows.
If true, the "long" flag will cause help-search to output context around where the terms were found in the documentation.
@@ -46,5 +46,5 @@ where the terms were found in the documentation.npm install
.
This command installs a package, and any packages that it depends on. If the package has a shrinkwrap file, the installation of dependencies will be driven @@ -84,11 +84,13 @@ after packing it up into a tarball (b).
-O, --save-optional
: Package will appear in your optionalDependencies
.
When using any of the above options to save dependencies to your -package.json, there is an additional, optional flag:
+package.json, there are two additional, optional flags:-E, --save-exact
: Saved dependencies will be configured with an
exact version rather than using npm's default semver range
operator.
-B, --save-bundle
: Saved dependencies will also be added to your bundleDependencies
list.
Further, if you have an npm-shrinkwrap.json
then it will be updated as
well.
<scope>
is optional. The package will be downloaded from the registry
@@ -104,6 +106,7 @@ npm install @myorg/privatepackage
npm install node-tap --save-dev
npm install dtrace-provider --save-optional
npm install readable-stream --save --save-exact
+npm install ansi-regex --save --save-bundle
npm-folders(
your local node_modules
folder with the same layout it uses with the
global node_modules
folder. Only your direct dependencies will show in
node_modules
and everything they depend on will be flattened in their
-node_modules
folders. This obviously will elminate some deduping.
+node_modules
folders. This obviously will eliminate some deduping.
The --legacy-bundling
argument will cause npm to install the package such
that versions of npm prior to 1.4, such as the one included with node 0.8,
can install the package. This eliminates all automatic deduping.
@@ -307,5 +310,5 @@ affects a real use-case, it will be investigated.
-
+
diff --git a/deps/npm/html/doc/cli/npm-link.html b/deps/npm/html/doc/cli/npm-link.html
index 7f1966aff47..959fe81717b 100644
--- a/deps/npm/html/doc/cli/npm-link.html
+++ b/deps/npm/html/doc/cli/npm-link.html
@@ -17,11 +17,12 @@ npm link [<@scope>/]<pkg>[@<version>]
alias: npm ln
Package linking is a two-step process.
-First, npm link
in a package folder will create a globally-installed
-symbolic link from prefix/package-name
to the current folder (see
-npm-config(7)
for the value of prefix
).
First, npm link
in a package folder will create a symlink in the global folder
+{prefix}/lib/node_modules/<package>
that links to the package where the npm
+link
command was executed. (see npm-config(7)
for the value of prefix
).
Next, in some other location, npm link package-name
will create a
-symlink from the local node_modules
folder to the global symlink.
package-name
to node_modules/
+of the current folder.
Note that package-name
is taken from package.json
,
not from directory name.
The package name can be optionally prefixed with a scope. See npm-scope(7)
.
@@ -37,7 +38,7 @@ cd ~/projects/node-bloggy # go into some other package directory.
npm link redis # link-install the package
Now, any changes to ~/projects/node-redis will be reflected in ~/projects/node-bloggy/node_modules/node-redis/. Note that the link should -be to the package name, not the directory name for that package.
+be to the package name, not the directory name for that package.You may also shortcut the two steps in one. For example, to do the above use-case in a shorter way:
cd ~/projects/node-bloggy # go into the dir of your main project
@@ -73,5 +74,5 @@ include that scope, e.g.
-
+
diff --git a/deps/npm/html/doc/cli/npm-logout.html b/deps/npm/html/doc/cli/npm-logout.html
index c5997aefcbf..c51bc9dc63a 100644
--- a/deps/npm/html/doc/cli/npm-logout.html
+++ b/deps/npm/html/doc/cli/npm-logout.html
@@ -28,13 +28,9 @@ connected to that scope, if set.
it takes precedence.
scope
Default: none
-If specified, the user and login credentials given will be associated
-with the specified scope. See npm-scope(7)
. You can use both at the same time,
-e.g.
-npm adduser --registry=http://myregistry.example.com --scope=@myco
-
This will set a registry for the given scope and login or create a user for
-that registry at the same time.
-SEE ALSO
+If specified, you will be logged out of the specified scope. See npm-scope(7)
.
+npm logout --scope=@myco
+
SEE ALSO
- npm-adduser(1)
- npm-registry(7)
@@ -55,5 +51,5 @@ that registry at the same time.
-
+
diff --git a/deps/npm/html/doc/cli/npm-ls.html b/deps/npm/html/doc/cli/npm-ls.html
index 02e3d2683c4..2dc599fb55c 100644
--- a/deps/npm/html/doc/cli/npm-ls.html
+++ b/deps/npm/html/doc/cli/npm-ls.html
@@ -21,7 +21,7 @@ installed, as well as their dependencies, in a tree-structure.
limit the results to only the paths to the packages named. Note that
nested packages will also show the paths to the specified packages.
For example, running npm ls promzard
in npm's source tree will show:
-
npm@3.7.3 /path/to/npm
+npm@3.8.3 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
It will print out extraneous, missing, and invalid packages.
@@ -104,5 +104,5 @@ project.
-
+
diff --git a/deps/npm/html/doc/cli/npm-outdated.html b/deps/npm/html/doc/cli/npm-outdated.html
index cf0460f6975..6f2d8d10bdc 100644
--- a/deps/npm/html/doc/cli/npm-outdated.html
+++ b/deps/npm/html/doc/cli/npm-outdated.html
@@ -116,5 +116,5 @@ project.
-
+
diff --git a/deps/npm/html/doc/cli/npm-owner.html b/deps/npm/html/doc/cli/npm-owner.html
index 944d1cbc64a..d7e00983743 100644
--- a/deps/npm/html/doc/cli/npm-owner.html
+++ b/deps/npm/html/doc/cli/npm-owner.html
@@ -14,6 +14,8 @@
npm owner add <user> [<@scope>/]<pkg>
npm owner rm <user> [<@scope>/]<pkg>
npm owner ls [<@scope>/]<pkg>
+
+aliases: author
DESCRIPTION
Manage ownership of published packages.
@@ -49,5 +51,5 @@ that is not implemented at this time.
-
+
diff --git a/deps/npm/html/doc/cli/npm-pack.html b/deps/npm/html/doc/cli/npm-pack.html
index 7c33af5dd4c..33af7f5630c 100644
--- a/deps/npm/html/doc/cli/npm-pack.html
+++ b/deps/npm/html/doc/cli/npm-pack.html
@@ -41,5 +41,5 @@ overwritten the second time.
-
+
diff --git a/deps/npm/html/doc/cli/npm-ping.html b/deps/npm/html/doc/cli/npm-ping.html
index e7068d8813a..5d9b5d13fd9 100644
--- a/deps/npm/html/doc/cli/npm-ping.html
+++ b/deps/npm/html/doc/cli/npm-ping.html
@@ -32,4 +32,4 @@
-
+
diff --git a/deps/npm/html/doc/cli/npm-prefix.html b/deps/npm/html/doc/cli/npm-prefix.html
index 1def6469e7b..538842f10f1 100644
--- a/deps/npm/html/doc/cli/npm-prefix.html
+++ b/deps/npm/html/doc/cli/npm-prefix.html
@@ -38,5 +38,5 @@ to contain a package.json file unless -g
is also specified.
-
+
diff --git a/deps/npm/html/doc/cli/npm-prune.html b/deps/npm/html/doc/cli/npm-prune.html
index 2529006dc10..16ae2b4fa5f 100644
--- a/deps/npm/html/doc/cli/npm-prune.html
+++ b/deps/npm/html/doc/cli/npm-prune.html
@@ -40,5 +40,5 @@ negate NODE_ENV
being set to production
.
-
+
diff --git a/deps/npm/html/doc/cli/npm-publish.html b/deps/npm/html/doc/cli/npm-publish.html
index ffb2016d635..717636afba1 100644
--- a/deps/npm/html/doc/cli/npm-publish.html
+++ b/deps/npm/html/doc/cli/npm-publish.html
@@ -72,5 +72,5 @@ it is removed with npm-unpublish(1).
-
+
diff --git a/deps/npm/html/doc/cli/npm-rebuild.html b/deps/npm/html/doc/cli/npm-rebuild.html
index 8f0a63182cd..88f7e2d89ec 100644
--- a/deps/npm/html/doc/cli/npm-rebuild.html
+++ b/deps/npm/html/doc/cli/npm-rebuild.html
@@ -35,5 +35,5 @@ the new binary.
-
+
diff --git a/deps/npm/html/doc/cli/npm-repo.html b/deps/npm/html/doc/cli/npm-repo.html
index aeb9b3217fc..159b49fa3b9 100644
--- a/deps/npm/html/doc/cli/npm-repo.html
+++ b/deps/npm/html/doc/cli/npm-repo.html
@@ -41,5 +41,5 @@ a package.json
in the current folder and use the name
-
+
diff --git a/deps/npm/html/doc/cli/npm-restart.html b/deps/npm/html/doc/cli/npm-restart.html
index 043aa30a43b..dae20aae2d8 100644
--- a/deps/npm/html/doc/cli/npm-restart.html
+++ b/deps/npm/html/doc/cli/npm-restart.html
@@ -53,5 +53,5 @@ behavior will be accompanied by an increase in major version number
-
+
diff --git a/deps/npm/html/doc/cli/npm-root.html b/deps/npm/html/doc/cli/npm-root.html
index f299ce3e7f6..c575315ce99 100644
--- a/deps/npm/html/doc/cli/npm-root.html
+++ b/deps/npm/html/doc/cli/npm-root.html
@@ -35,5 +35,5 @@
-
+
diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html
index 8dc57faaa7a..6c58e7c4ec7 100644
--- a/deps/npm/html/doc/cli/npm-run-script.html
+++ b/deps/npm/html/doc/cli/npm-run-script.html
@@ -60,5 +60,5 @@ you will be given a warning to run npm install
, just in case you
-
+
diff --git a/deps/npm/html/doc/cli/npm-search.html b/deps/npm/html/doc/cli/npm-search.html
index 49aae8f7bfc..ffb8ad88177 100644
--- a/deps/npm/html/doc/cli/npm-search.html
+++ b/deps/npm/html/doc/cli/npm-search.html
@@ -13,7 +13,7 @@
SYNOPSIS
npm search [-l|--long] [search terms ...]
-aliases: s, se
+aliases: s, se, find
DESCRIPTION
Search the registry for packages matching the search terms.
If a term starts with /
, then it's interpreted as a regular expression.
@@ -29,6 +29,14 @@ expression characters must be escaped or quoted in most shells.)
lines. When disabled (default) search results are truncated to fit
neatly on a single line. Modules with extremely long names will
fall on multiple lines.
+registry
+
+- Default: https://registry.npmjs.org/
+- Type : url
+
+Search the specified registry for modules. If you have configured npm to point to a different default registry,
+such as your internal private module repository, npm search
will default to that registry when searching.
+Pass a different registry url such as the default above in order to override this setting.
SEE ALSO
- npm-registry(7)
@@ -49,5 +57,5 @@ fall on multiple lines.
-
+
diff --git a/deps/npm/html/doc/cli/npm-shrinkwrap.html b/deps/npm/html/doc/cli/npm-shrinkwrap.html
index 941fa58724e..5262766d19f 100644
--- a/deps/npm/html/doc/cli/npm-shrinkwrap.html
+++ b/deps/npm/html/doc/cli/npm-shrinkwrap.html
@@ -169,5 +169,5 @@ contents rather than versions.
-
+
diff --git a/deps/npm/html/doc/cli/npm-star.html b/deps/npm/html/doc/cli/npm-star.html
index 353ddd2d135..b81c9be673e 100644
--- a/deps/npm/html/doc/cli/npm-star.html
+++ b/deps/npm/html/doc/cli/npm-star.html
@@ -36,5 +36,5 @@ a vaguely positive way to show that you care.
-
+
diff --git a/deps/npm/html/doc/cli/npm-stars.html b/deps/npm/html/doc/cli/npm-stars.html
index e6aa2ce1012..bbf916d660b 100644
--- a/deps/npm/html/doc/cli/npm-stars.html
+++ b/deps/npm/html/doc/cli/npm-stars.html
@@ -36,5 +36,5 @@ you will most certainly enjoy this command.
-
+
diff --git a/deps/npm/html/doc/cli/npm-start.html b/deps/npm/html/doc/cli/npm-start.html
index c8d04e881af..a93e8362cd3 100644
--- a/deps/npm/html/doc/cli/npm-start.html
+++ b/deps/npm/html/doc/cli/npm-start.html
@@ -39,5 +39,5 @@ more details.
-
+
diff --git a/deps/npm/html/doc/cli/npm-stop.html b/deps/npm/html/doc/cli/npm-stop.html
index ca950843cb4..36a954c98aa 100644
--- a/deps/npm/html/doc/cli/npm-stop.html
+++ b/deps/npm/html/doc/cli/npm-stop.html
@@ -34,5 +34,5 @@
-
+
diff --git a/deps/npm/html/doc/cli/npm-tag.html b/deps/npm/html/doc/cli/npm-tag.html
index 5ddf8ef15ad..c7203668e9c 100644
--- a/deps/npm/html/doc/cli/npm-tag.html
+++ b/deps/npm/html/doc/cli/npm-tag.html
@@ -63,5 +63,5 @@ that do not begin with a number or the letter v
.
-
+
diff --git a/deps/npm/html/doc/cli/npm-team.html b/deps/npm/html/doc/cli/npm-team.html
index 19c760366d1..c2e5c2a31ea 100644
--- a/deps/npm/html/doc/cli/npm-team.html
+++ b/deps/npm/html/doc/cli/npm-team.html
@@ -67,4 +67,4 @@ use the npm access
command to grant or revoke the appropriate permi
-
+
diff --git a/deps/npm/html/doc/cli/npm-test.html b/deps/npm/html/doc/cli/npm-test.html
index c4559b98c66..d77033da728 100644
--- a/deps/npm/html/doc/cli/npm-test.html
+++ b/deps/npm/html/doc/cli/npm-test.html
@@ -12,7 +12,8 @@
npm-test
Test a package
SYNOPSIS
npm test [-- <args>]
- npm tst [-- <args>]
+
+ aliases: t, tst
DESCRIPTION
This runs a package's "test" script, if one was provided.
To run tests as a condition of installation, set the npat
config to
@@ -37,5 +38,5 @@ true.
-
+
diff --git a/deps/npm/html/doc/cli/npm-uninstall.html b/deps/npm/html/doc/cli/npm-uninstall.html
index 81de844cbbd..9df80989e42 100644
--- a/deps/npm/html/doc/cli/npm-uninstall.html
+++ b/deps/npm/html/doc/cli/npm-uninstall.html
@@ -60,5 +60,5 @@ npm uninstall dtrace-provider --save-optional
-
+
diff --git a/deps/npm/html/doc/cli/npm-unpublish.html b/deps/npm/html/doc/cli/npm-unpublish.html
index 51e4f7966c5..1b9ff69b319 100644
--- a/deps/npm/html/doc/cli/npm-unpublish.html
+++ b/deps/npm/html/doc/cli/npm-unpublish.html
@@ -47,5 +47,5 @@ package again, a new version number must be used.
-
+
diff --git a/deps/npm/html/doc/cli/npm-update.html b/deps/npm/html/doc/cli/npm-update.html
index 2e6e115858d..d3bca7bb3c0 100644
--- a/deps/npm/html/doc/cli/npm-update.html
+++ b/deps/npm/html/doc/cli/npm-update.html
@@ -12,6 +12,8 @@
npm-update
Update a package
SYNOPSIS
npm update [-g] [<pkg>...]
+
+aliases: up, upgrade
DESCRIPTION
This command will update all the packages listed to the latest version
(specified by the tag
config), respecting semver.
@@ -24,7 +26,7 @@ packages.
or local) will be updated.
As of npm@2.6.1
, the npm update
will only inspect top-level packages.
Prior versions of npm
would also recursively inspect all dependencies.
-To get the old behavior, use npm --depth Infinity update
.
+To get the old behavior, use npm --depth 9999 update
.
EXAMPLES
IMPORTANT VERSION NOTE: these examples assume npm@2.6.1
or later. For
older versions of npm
, you must specify --depth 0
to get the behavior
@@ -33,7 +35,7 @@ described below.
on dependencies, dep1
(dep2
, .. etc.). The published versions of dep1
are:
{
"dist-tags": { "latest": "1.2.2" },
- "versions": {
+ "versions": [
"1.2.2",
"1.2.1",
"1.2.0",
@@ -43,7 +45,7 @@ on dependencies, dep1
(dep2
, .. etc.). The published
"0.4.1",
"0.4.0",
"0.2.0"
- }
+ ]
}
Caret Dependencies
If app
's package.json
contains:
@@ -116,5 +118,5 @@ be downgraded.
-
+
diff --git a/deps/npm/html/doc/cli/npm-version.html b/deps/npm/html/doc/cli/npm-version.html
index aa2b317f5a4..f4f932f0509 100644
--- a/deps/npm/html/doc/cli/npm-version.html
+++ b/deps/npm/html/doc/cli/npm-version.html
@@ -100,5 +100,5 @@ and tag up to the server, and deletes the build/temp
directory.
-
+
diff --git a/deps/npm/html/doc/cli/npm-view.html b/deps/npm/html/doc/cli/npm-view.html
index d4485a25e8e..3bbbcbe3808 100644
--- a/deps/npm/html/doc/cli/npm-view.html
+++ b/deps/npm/html/doc/cli/npm-view.html
@@ -86,5 +86,5 @@ the field name.
-
+
diff --git a/deps/npm/html/doc/cli/npm-whoami.html b/deps/npm/html/doc/cli/npm-whoami.html
index db2dd1fb32e..18d85939d29 100644
--- a/deps/npm/html/doc/cli/npm-whoami.html
+++ b/deps/npm/html/doc/cli/npm-whoami.html
@@ -33,5 +33,5 @@
-
+
diff --git a/deps/npm/html/doc/cli/npm.html b/deps/npm/html/doc/cli/npm.html
index ea2f77abaf7..517d82f53d9 100644
--- a/deps/npm/html/doc/cli/npm.html
+++ b/deps/npm/html/doc/cli/npm.html
@@ -13,7 +13,7 @@
SYNOPSIS
npm <command> [args]
VERSION
-3.7.3
+3.8.3
DESCRIPTION
npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
@@ -106,19 +106,17 @@ file in the "doc" folder. (Don't worry about generating the man p
Contributors are listed in npm's package.json
file. You can view them
easily by doing npm view npm contributors
.
-If you would like to contribute, but don't know what to work on, check
-the issues list or ask on the mailing list.
+If you would like to contribute, but don't know what to work on, read
+the contributing guidelines and check the issues list.
+- https://github.com/npm/npm/wiki/Contributing-Guidelines
- https://github.com/npm/npm/issues
-- npm-@googlegroups.com
BUGS
When you find issues, please report them:
- web:
https://github.com/npm/npm/issues
-- email:
-npm-@googlegroups.com
Be sure to include all of the output from the npm command that didn't work
as expected. The npm-debug.log
file is also helpful to provide.
@@ -128,7 +126,7 @@ will no doubt tell you to put the output in a gist or email.
Isaac Z. Schlueter ::
isaacs ::
@izs ::
-i@izs.me
+i@izs.me
SEE ALSO
- npm-help(1)
@@ -153,5 +151,5 @@ will no doubt tell you to put the output in a gist or email.
-
+
--
cgit v1.2.3