diff options
author | Kyle Mitchell <kyle@kemitchell.com> | 2018-08-18 03:06:11 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-08-21 02:17:49 +0300 |
commit | 08ecde2928f8c89a2fdaa800ae845103750b9327 (patch) | |
tree | 70cf216cc8b90abeab19316c724e5afa3196febf /doc | |
parent | bb91a2a14562e77769057f1b6d06384be6d6bf7f (diff) |
doc: Mention registry terms of use in manpage and registry doc (#54)
* doc: Mention terms of use in npm-registry
* doc: Mention registry terms of use in manpage
* doc: Update terms of use language in README
Credit: @kemitchell
PR-URL: https://github.com/npm/cli/pull/54
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm.md | 10 | ||||
-rw-r--r-- | doc/misc/npm-registry.md | 14 |
2 files changed, 21 insertions, 3 deletions
diff --git a/doc/cli/npm.md b/doc/cli/npm.md index 43f029c5b..32384547b 100644 --- a/doc/cli/npm.md +++ b/doc/cli/npm.md @@ -21,6 +21,16 @@ programs. Run `npm help` to get a list of available commands. +## IMPORTANT + +npm is configured to use npm, Inc.'s public registry at +https://registry.npmjs.org by default. Use of the npm public registry is +subject to terms of use available at https://www.npmjs.com/policies/terms. + +You can configure npm to use any compatible registry you like, and even run +your own registry. Use of someone else's registry may be governed by their +terms of use. + ## INTRODUCTION You probably got npm because you want to install stuff. diff --git a/doc/misc/npm-registry.md b/doc/misc/npm-registry.md index 3b84328ad..ffbf0214b 100644 --- a/doc/misc/npm-registry.md +++ b/doc/misc/npm-registry.md @@ -7,12 +7,20 @@ To resolve packages by name and version, npm talks to a registry website that implements the CommonJS Package Registry specification for reading package info. -Additionally, npm's package registry implementation supports several +npm is configured to use npm, Inc.'s public registry at +<https://registry.npmjs.org> by default. Use of the npm public registry is +subject to terms of use available at <https://www.npmjs.com/policies/terms>. + +You can configure npm to use any compatible registry you like, and even run +your own registry. Use of someone else's registry may be governed by their +terms of use. + +npm's package registry implementation supports several write APIs as well, to allow for publishing packages and managing user account information. -The official public npm registry is at <https://registry.npmjs.org/>. It -is powered by a CouchDB database, of which there is a public mirror at +The npm public registry is powered by a CouchDB database, +of which there is a public mirror at <https://skimdb.npmjs.com/registry>. The code for the couchapp is available at <https://github.com/npm/npm-registry-couchapp>. |