Skip to content

Commit 08ecde2

Browse files
kemitchellzkat
authored andcommitted
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: #54
1 parent bb91a2a commit 08ecde2

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,14 @@ Much more info will be available via `npm help` once it's installed.
1616
To install an old **and unsupported** version of npm that works on node v5
1717
and prior, clone the git repo and dig through the old tags and branches.
1818

19-
**npm is configured to use npm, Inc.'s public package registry at
20-
<https://registry.npmjs.org> by default.**
19+
**npm is configured to use npm, Inc.'s public registry at
20+
<https://registry.npmjs.org> by default.** Use of the npm public registry
21+
is subject to terms of use available at <https://www.npmjs.com/policies/terms>.
2122

2223
You can configure npm to use any compatible registry you
2324
like, and even run your own registry. Check out the [doc on
2425
registries](https://docs.npmjs.com/misc/registry).
2526

26-
Use of someone else's registry may be governed by terms of use. The
27-
terms of use for the default public registry are available at
28-
<https://www.npmjs.com>.
29-
3027
## Super Easy Install
3128

3229
npm is bundled with [node](https://nodejs.org/en/download/).

doc/cli/npm.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ programs.
2121

2222
Run `npm help` to get a list of available commands.
2323

24+
## IMPORTANT
25+
26+
npm is configured to use npm, Inc.'s public registry at
27+
https://registry.npmjs.org by default. Use of the npm public registry is
28+
subject to terms of use available at https://www.npmjs.com/policies/terms.
29+
30+
You can configure npm to use any compatible registry you like, and even run
31+
your own registry. Use of someone else's registry may be governed by their
32+
terms of use.
33+
2434
## INTRODUCTION
2535

2636
You probably got npm because you want to install stuff.

doc/misc/npm-registry.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,20 @@ To resolve packages by name and version, npm talks to a registry website
77
that implements the CommonJS Package Registry specification for reading
88
package info.
99

10-
Additionally, npm's package registry implementation supports several
10+
npm is configured to use npm, Inc.'s public registry at
11+
<https://registry.npmjs.org> by default. Use of the npm public registry is
12+
subject to terms of use available at <https://www.npmjs.com/policies/terms>.
13+
14+
You can configure npm to use any compatible registry you like, and even run
15+
your own registry. Use of someone else's registry may be governed by their
16+
terms of use.
17+
18+
npm's package registry implementation supports several
1119
write APIs as well, to allow for publishing packages and managing user
1220
account information.
1321

14-
The official public npm registry is at <https://registry.npmjs.org/>. It
15-
is powered by a CouchDB database, of which there is a public mirror at
22+
The npm public registry is powered by a CouchDB database,
23+
of which there is a public mirror at
1624
<https://skimdb.npmjs.com/registry>. The code for the couchapp is
1725
available at <https://github.com/npm/npm-registry-couchapp>.
1826

0 commit comments

Comments
 (0)