Skip to content

Commit d36b42c

Browse files
andrewachingbrain
authored andcommitted
Move update-registry-index out of readme (#97)
* Move update-registry-index out of readme * Update index.md
1 parent 5ce01ee commit d36b42c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,4 @@ build/Release
3131
node_modules
3232
package-lock.json
3333

34-
docs
3534
.env

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,3 @@ Options:
119119
unavailable
120120
[default: "https://registry.npmjs.com"]
121121
```
122-
123-
## Update your registry index
124-
125-
By default we keep a local copy of the npm registry index in your [`mfs`](https://github.com/ipfs/js-ipfs-mfs) at `/npm-registry` and update it when you install new packages. This means for the first request for a given module it will be fetched from npm over http. There is a continously updated copy of the npm registry index with CIDs for all modules being generated by the [`ipfs-npm-registry-mirror`](https://github.com/ipfs-shipyard/ipfs-npm-registry-mirror) - if you'd like to clone this registry index, use the `update-registry-index` subcommand:
126-
127-
```console
128-
$ ipfs-npm update-registry-index
129-
```

docs/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Advanced npm-on-ipfs features
2+
3+
## Updating your registry index
4+
5+
By default we keep a local copy of the npm registry index in your [`mfs`](https://github.com/ipfs/js-ipfs-mfs) at `/npm-registry` and update it when you install new packages. This means for the first request for a given module it will be fetched from npm over http. There is a continously updated copy of the npm registry index with CIDs for all modules being generated by the [`ipfs-npm-registry-mirror`](https://github.com/ipfs-shipyard/ipfs-npm-registry-mirror) - if you'd like to clone this registry index, use the `update-registry-index` subcommand:
6+
7+
```console
8+
$ ipfs-npm update-registry-index
9+
```

0 commit comments

Comments
 (0)