Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
node_modules /
npm /
html /
doc /
cli /
Delete
Unzip
Name
Size
Permission
Date
Action
npm-access.html
5.5
KB
-rw-r--r--
2017-11-28 04:38
npm-adduser.html
6.23
KB
-rw-r--r--
2017-11-28 04:38
npm-bin.html
3.05
KB
-rw-r--r--
2017-11-28 04:39
npm-bugs.html
3.98
KB
-rw-r--r--
2017-11-28 04:39
npm-build.html
3.26
KB
-rw-r--r--
2017-11-28 04:39
npm-bundle.html
2.91
KB
-rw-r--r--
2017-11-28 04:39
npm-cache.html
5.78
KB
-rw-r--r--
2017-11-28 04:39
npm-completion.html
3.5
KB
-rw-r--r--
2017-11-28 04:39
npm-config.html
4.53
KB
-rw-r--r--
2017-11-28 04:39
npm-dedupe.html
4.08
KB
-rw-r--r--
2017-11-28 04:39
npm-deprecate.html
3.44
KB
-rw-r--r--
2017-11-28 04:39
npm-dist-tag.html
6.19
KB
-rw-r--r--
2017-11-28 04:39
npm-docs.html
4.04
KB
-rw-r--r--
2017-11-28 04:39
npm-doctor.html
7.85
KB
-rw-r--r--
2017-11-28 04:39
npm-edit.html
3.85
KB
-rw-r--r--
2017-11-28 04:39
npm-explore.html
3.76
KB
-rw-r--r--
2017-11-28 04:39
npm-help-search.html
3.51
KB
-rw-r--r--
2017-11-28 04:39
npm-help.html
3.87
KB
-rw-r--r--
2017-11-28 04:39
npm-init.html
3.79
KB
-rw-r--r--
2017-11-28 04:39
npm-install-test.html
3.43
KB
-rw-r--r--
2017-11-28 04:39
npm-install.html
23.33
KB
-rw-r--r--
2017-11-28 04:39
npm-link.html
5.61
KB
-rw-r--r--
2017-11-28 04:39
npm-logout.html
4.15
KB
-rw-r--r--
2017-11-28 04:39
npm-ls.html
5.63
KB
-rw-r--r--
2017-11-28 04:39
npm-outdated.html
6.94
KB
-rw-r--r--
2017-11-28 04:39
npm-owner.html
3.87
KB
-rw-r--r--
2017-11-28 04:39
npm-pack.html
3.47
KB
-rw-r--r--
2017-11-28 04:39
npm-ping.html
3.1
KB
-rw-r--r--
2017-11-28 04:39
npm-prefix.html
3.3
KB
-rw-r--r--
2017-11-28 04:39
npm-profile.html
5.67
KB
-rw-r--r--
2017-11-28 04:39
npm-prune.html
3.47
KB
-rw-r--r--
2017-11-28 04:39
npm-publish.html
6.18
KB
-rw-r--r--
2017-11-28 04:39
npm-rebuild.html
3.01
KB
-rw-r--r--
2017-11-28 04:39
npm-repo.html
3.41
KB
-rw-r--r--
2017-11-28 04:39
npm-restart.html
3.71
KB
-rw-r--r--
2017-11-28 04:39
npm-root.html
3.05
KB
-rw-r--r--
2017-11-28 04:39
npm-run-script.html
6.54
KB
-rw-r--r--
2017-11-28 04:39
npm-search.html
6.07
KB
-rw-r--r--
2017-11-28 04:39
npm-shrinkwrap.html
3.65
KB
-rw-r--r--
2017-11-28 04:39
npm-star.html
3.13
KB
-rw-r--r--
2017-11-28 04:39
npm-stars.html
3.14
KB
-rw-r--r--
2017-11-28 04:39
npm-start.html
3.48
KB
-rw-r--r--
2017-11-28 04:39
npm-stop.html
3.02
KB
-rw-r--r--
2017-11-28 04:39
npm-team.html
4.55
KB
-rw-r--r--
2017-11-28 04:39
npm-test.html
3.04
KB
-rw-r--r--
2017-11-28 04:39
npm-token.html
5.41
KB
-rw-r--r--
2017-11-28 04:39
npm-uninstall.html
4.46
KB
-rw-r--r--
2017-11-28 04:39
npm-unpublish.html
4.11
KB
-rw-r--r--
2017-11-28 04:39
npm-update.html
7.5
KB
-rw-r--r--
2017-11-28 04:39
npm-version.html
7.96
KB
-rw-r--r--
2017-11-28 04:39
npm-view.html
6.15
KB
-rw-r--r--
2017-11-28 04:39
npm-whoami.html
2.97
KB
-rw-r--r--
2017-11-28 04:39
npm.html
9.42
KB
-rw-r--r--
2017-11-28 04:39
Save
Rename
<!doctype html> <html> <title>npm-link</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-link.html"> <script async=true src="../../static/toc.js"></script> <body> <div id="wrapper"> <h1><a href="../cli/npm-link.html">npm-link</a></h1> <p>Symlink a package folder</p> <h2 id="synopsis">SYNOPSIS</h2> <pre><code>npm link (in package dir) npm link [<@scope>/]<pkg>[@<version>] alias: npm ln </code></pre><h2 id="description">DESCRIPTION</h2> <p>Package linking is a two-step process.</p> <p>First, <code>npm link</code> in a package folder will create a symlink in the global folder <code>{prefix}/lib/node_modules/<package></code> that links to the package where the <code>npm link</code> command was executed. (see <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for the value of <code>prefix</code>). It will also link any bins in the package to <code>{prefix}/bin/{name}</code>.</p> <p>Next, in some other location, <code>npm link package-name</code> will create a symbolic link from globally-installed <code>package-name</code> to <code>node_modules/</code> of the current folder.</p> <p>Note that <code>package-name</code> is taken from <code>package.json</code>, not from directory name.</p> <p>The package name can be optionally prefixed with a scope. See <code><a href="../misc/npm-scope.html">npm-scope(7)</a></code>. The scope must be preceded by an @-symbol and followed by a slash.</p> <p>When creating tarballs for <code>npm publish</code>, the linked packages are "snapshotted" to their current state by resolving the symbolic links.</p> <p>This is handy for installing your own stuff, so that you can work on it and test it iteratively without having to continually rebuild.</p> <p>For example:</p> <pre><code>cd ~/projects/node-redis # go into the package directory npm link # creates global link cd ~/projects/node-bloggy # go into some other package directory. npm link redis # link-install the package </code></pre><p>Now, any changes to ~/projects/node-redis will be reflected in ~/projects/node-bloggy/node_modules/node-redis/. Note that the link should be to the package name, not the directory name for that package.</p> <p>You may also shortcut the two steps in one. For example, to do the above use-case in a shorter way:</p> <pre><code>cd ~/projects/node-bloggy # go into the dir of your main project npm link ../node-redis # link the dir of your dependency </code></pre><p>The second line is the equivalent of doing:</p> <pre><code>(cd ../node-redis; npm link) npm link node-redis </code></pre><p>That is, it first creates a global link, and then links the global installation target into your project's <code>node_modules</code> folder.</p> <p>If your linked package is scoped (see <code><a href="../misc/npm-scope.html">npm-scope(7)</a></code>) your link command must include that scope, e.g.</p> <pre><code>npm link @myorg/privatepackage </code></pre><h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../misc/npm-developers.html">npm-developers(7)</a></li> <li><a href="../files/package.json.html">package.json(5)</a></li> <li><a href="../cli/npm-install.html">npm-install(1)</a></li> <li><a href="../files/npm-folders.html">npm-folders(5)</a></li> <li><a href="../cli/npm-config.html">npm-config(1)</a></li> <li><a href="../misc/npm-config.html">npm-config(7)</a></li> <li><a href="../files/npmrc.html">npmrc(5)</a></li> </ul> </div> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18> </td></tr> <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td colspan=6 style="width:60px;height:10px;background:#fff"> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td></tr> <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2> </td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td></tr> <tr><td style="width:10px;height:10px;background:#fff" rowspan=2> </td></tr> <tr><td style="width:10px;height:10px;background:#fff"> </td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> <p id="footer">npm-link — npm@5.6.0</p>