Skip to content
This repository
tag: v0.2.10-1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 40 lines (39 sloc) 1.051 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LINK" "1" "November 2010" "" ""
.
.SH "NAME"
\fBnpm-link\fR \-\- Symlink a package folder
.
.SH "SYNOPSIS"
.
.nf
npm link <folder>
.
.fi
.
.SH "DESCRIPTION"
This will link a source folder into npm\'s registry using a symlink, and then
build it according to the package\.json file in that folder\'s root\. This is
handy for installing your own stuff, so that you can work on it and test it
iteratively without having to continually rebuild\.
.
.SH "Linked Package Version"
When linking a package folder, npm doesn\'t use the version in the
package\.json file\. Instead, it creates a "fake" version number of:
.
.IP "" 4
.
.nf
"9999\.0\.0\-LINK\-" + hash(folder)
.
.fi
.
.IP "" 0
.
.P
This way, linking the same folder will always result in the same version
number, even if you bump the version in the package\.json file\. The
extremely high major version ensures that it will always be considered
the "highest" version, since it is a development bleeding\-edge thing\.
Something went wrong with that request. Please try again.