+4
-2
lines changedFilter options
+4
-2
lines changed Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ Environment variables can be replaced using `${VARIABLE_NAME}`. For
29
29
example:
30
30
31
31
```bash
32
-
prefix = ${HOME}/.npm-packages
32
+
cache = ${HOME}/.npm-packages
33
33
```
34
34
35
35
Each of these files is loaded, and config options are resolved in priority
Original file line number Diff line number Diff line change
@@ -617,6 +617,7 @@ See [semver](https://github.com/npm/node-semver#versions) for more details about
617
617
* `tag` A specific version tagged and published as `tag` See [`npm
618
618
dist-tag`](/commands/npm-dist-tag)
619
619
* `path/path/path` See [Local Paths](#local-paths) below
620
+
* `npm:@scope/pkg@version` Custom alias for a pacakge See [`package-spec`](/using-npm/package-spec#aliases)
620
621
621
622
For example, these are all valid:
622
623
@@ -634,7 +635,8 @@ For example, these are all valid:
634
635
"two": "2.x",
635
636
"thr": "3.3.x",
636
637
"lat": "latest",
637
-
"dyl": "file:../dyl"
638
+
"dyl": "file:../dyl",
639
+
"kpg": "npm:pkg@1.0.0"
638
640
}
639
641
}
640
642
```
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4