We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cb4527 commit 55907a9Copy full SHA for 55907a9
README.md
@@ -58,6 +58,7 @@ keys:
58
* `file` - A local `.tar.gz`, `.tar` or `.tgz` file.
59
* `directory` - A local directory.
60
* `remote` - An http url (presumably to a tgz)
61
+ * `alias` - A specifier with an alias, like `myalias@npm:[email protected]`
62
* `registry` - If true this specifier refers to a resource hosted on a
63
registry. This is true for `tag`, `version` and `range` types.
64
* `name` - If known, the `name` field expected in the resulting pkg.
@@ -81,3 +82,5 @@ keys:
81
82
JSON.
83
* `raw` - The original un-modified string that was provided. If called as
84
`npa.resolve(name, spec)` then this will be `name + '@' + spec`.
85
+* `subSpec` - If `type === 'alias'`, this is a Result Object for parsing the
86
+ targer specifier for the alias.
0 commit comments