Skip to content

Commit

Permalink
doc: Mention registry terms of use in manpage and registry doc (#54)
Browse files Browse the repository at this point in the history
* 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: #54
  • Loading branch information
kemitchell authored and zkat committed Aug 20, 2018
1 parent bb91a2a commit 08ecde2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +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
<https://registry.npmjs.org> by default.**
**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. 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
<https://www.npmjs.com>.

## Super Easy Install

npm is bundled with [node](https://nodejs.org/en/download/).
Expand Down
10 changes: 10 additions & 0 deletions doc/cli/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 11 additions & 3 deletions doc/misc/npm-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>.

Expand Down

0 comments on commit 08ecde2

Please sign in to comment.