From 0edcb0b7f4e8a97955dc3672cc1d66cf899fb508 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Fri, 17 Aug 2018 16:43:10 -0700 Subject: [PATCH 1/3] doc: Mention terms of use in npm-registry --- README.md | 4 +--- doc/misc/npm-registry.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 22f046f1a85de..c0b35ac0725ad 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,7 @@ You can configure npm to use any compatible registry you like, and even run your own registry. Check out the [doc on registries](https://docs.npmjs.com/misc/registry). -Use of someone else's registry may be governed by terms of use. The -terms of use for the default public registry are available at -. +Use of someone else's registry may be governed by terms of use. ## Super Easy Install diff --git a/doc/misc/npm-registry.md b/doc/misc/npm-registry.md index 3b84328ad66c9..ffbf0214bbf81 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 + by default. Use of the npm public registry is +subject to terms of use available at . + +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 . 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 . The code for the couchapp is available at . From 2b3154d4e53b5e9ba3dfc1f49cf738f254617f12 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Fri, 17 Aug 2018 16:51:32 -0700 Subject: [PATCH 2/3] doc: Mention registry terms of use in manpage --- doc/cli/npm.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/cli/npm.md b/doc/cli/npm.md index 43f029c5b23bd..32384547bcb0b 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. From 17176fe13d2cea8ea5736eb0c9dfe84274f3cde4 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Fri, 17 Aug 2018 16:55:33 -0700 Subject: [PATCH 3/3] doc: Update terms of use language in README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c0b35ac0725ad..bb33879fd0118 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,14 @@ Much more info will be available via `npm help` once it's installed. To install an old **and unsupported** version of npm that works on node v5 and prior, clone the git repo and dig through the old tags and branches. -**npm is configured to use npm, Inc.'s public package registry at - by default.** +**npm is configured to use npm, Inc.'s public registry at + by default.** Use of the npm public registry +is subject to terms of use available at . You can configure npm to use any compatible registry you like, and even run your own registry. Check out the [doc on registries](https://docs.npmjs.com/misc/registry). -Use of someone else's registry may be governed by terms of use. - ## Super Easy Install npm is bundled with [node](https://nodejs.org/en/download/).