aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/doc/misc/npm-registry.md
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2016-12-18 20:22:09 -0800
committerMyles Borins <myles.borins@gmail.com>2016-12-28 15:30:50 -0500
commit9946519fba73687d34dccd5813808252a1973f3c (patch)
tree74d7194d2a00743bcd905027195e7e8000c5ac5a /deps/npm/doc/misc/npm-registry.md
parent4d3b487b791606ea965f6280ce0eeea03d79b660 (diff)
downloadandroid-node-v8-9946519fba73687d34dccd5813808252a1973f3c.tar.gz
android-node-v8-9946519fba73687d34dccd5813808252a1973f3c.tar.bz2
android-node-v8-9946519fba73687d34dccd5813808252a1973f3c.zip
deps: upgrade npm to 4.0.5
PR-URL: https://github.com/nodejs/node/pull/10330 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/npm/doc/misc/npm-registry.md')
-rw-r--r--deps/npm/doc/misc/npm-registry.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/deps/npm/doc/misc/npm-registry.md b/deps/npm/doc/misc/npm-registry.md
index becffa2f6e..17d0d4acfa 100644
--- a/deps/npm/doc/misc/npm-registry.md
+++ b/deps/npm/doc/misc/npm-registry.md
@@ -21,6 +21,29 @@ The registry URL used is determined by the scope of the package (see
supplied by the `registry` config parameter. See `npm-config(1)`,
`npmrc(5)`, and `npm-config(7)` for more on managing npm's configuration.
+## Does npm send any information about me back to the registry?
+
+Yes.
+
+When making requests of the registry npm adds two headers with information
+about your environment:
+
+* `Npm-Scope` – If your project is scoped, this header will contain its
+ scope. In the future npm hopes to build registry features that use this
+ information to allow you to customize your experience for your
+ organization.
+* `Npm-In-CI` – Set to "true" if npm believes this install is running in a
+ continous integration environment, "false" otherwise. This is detected by
+ looking for the following environment variables: `CI`, `TDDIUM`,
+ `JENKINS_URL`, `bamboo.buildKey`. If you'd like to learn more you may find
+ the [original PR](https://github.com/npm/npm-registry-client/pull/129)
+ interesting.
+ This is used to gather better metrics on how npm is used by humans, versus
+ build farms.
+
+The npm registry does not to correlate the information in these headers with
+any authenticated accounts that may be used in the same requests.
+
## Can I run my own private registry?
Yes!