Browse Source

npm: upgrade to 1.4.10

* Don't set referer if already set
* fetch: Send referer and npm-session headers
* run-script: Support --parseable and --json
* list runnable scripts (Evan Lucas)
* Use marked instead of ronn for html docs
v0.10.29-release
isaacs 11 years ago
parent
commit
120f7cf55f
  1. 5
      deps/npm/doc/cli/npm-run-script.md
  2. 186
      deps/npm/html/doc/README.html
  3. 14
      deps/npm/html/doc/api/npm-bin.html
  4. 15
      deps/npm/html/doc/api/npm-bugs.html
  5. 21
      deps/npm/html/doc/api/npm-commands.html
  6. 47
      deps/npm/html/doc/api/npm-config.html
  7. 38
      deps/npm/html/doc/api/npm-deprecate.html
  8. 15
      deps/npm/html/doc/api/npm-docs.html
  9. 17
      deps/npm/html/doc/api/npm-edit.html
  10. 16
      deps/npm/html/doc/api/npm-explore.html
  11. 35
      deps/npm/html/doc/api/npm-help-search.html
  12. 21
      deps/npm/html/doc/api/npm-init.html
  13. 16
      deps/npm/html/doc/api/npm-install.html
  14. 24
      deps/npm/html/doc/api/npm-link.html
  15. 20
      deps/npm/html/doc/api/npm-load.html
  16. 45
      deps/npm/html/doc/api/npm-ls.html
  17. 14
      deps/npm/html/doc/api/npm-outdated.html
  18. 34
      deps/npm/html/doc/api/npm-owner.html
  19. 15
      deps/npm/html/doc/api/npm-pack.html
  20. 15
      deps/npm/html/doc/api/npm-prefix.html
  21. 16
      deps/npm/html/doc/api/npm-prune.html
  22. 35
      deps/npm/html/doc/api/npm-publish.html
  23. 17
      deps/npm/html/doc/api/npm-rebuild.html
  24. 15
      deps/npm/html/doc/api/npm-repo.html
  25. 22
      deps/npm/html/doc/api/npm-restart.html
  26. 15
      deps/npm/html/doc/api/npm-root.html
  27. 25
      deps/npm/html/doc/api/npm-run-script.html
  28. 38
      deps/npm/html/doc/api/npm-search.html
  29. 16
      deps/npm/html/doc/api/npm-shrinkwrap.html
  30. 14
      deps/npm/html/doc/api/npm-start.html
  31. 14
      deps/npm/html/doc/api/npm-stop.html
  32. 22
      deps/npm/html/doc/api/npm-submodule.html
  33. 16
      deps/npm/html/doc/api/npm-tag.html
  34. 15
      deps/npm/html/doc/api/npm-test.html
  35. 15
      deps/npm/html/doc/api/npm-uninstall.html
  36. 16
      deps/npm/html/doc/api/npm-unpublish.html
  37. 14
      deps/npm/html/doc/api/npm-update.html
  38. 15
      deps/npm/html/doc/api/npm-version.html
  39. 77
      deps/npm/html/doc/api/npm-view.html
  40. 15
      deps/npm/html/doc/api/npm-whoami.html
  41. 87
      deps/npm/html/doc/api/npm.html
  42. 36
      deps/npm/html/doc/cli/npm-adduser.html
  43. 24
      deps/npm/html/doc/cli/npm-bin.html
  44. 45
      deps/npm/html/doc/cli/npm-bugs.html
  45. 30
      deps/npm/html/doc/cli/npm-build.html
  46. 14
      deps/npm/html/doc/cli/npm-bundle.html
  47. 66
      deps/npm/html/doc/cli/npm-cache.html
  48. 24
      deps/npm/html/doc/cli/npm-completion.html
  49. 66
      deps/npm/html/doc/cli/npm-config.html
  50. 40
      deps/npm/html/doc/cli/npm-dedupe.html
  51. 28
      deps/npm/html/doc/cli/npm-deprecate.html
  52. 44
      deps/npm/html/doc/cli/npm-docs.html
  53. 39
      deps/npm/html/doc/cli/npm-edit.html
  54. 45
      deps/npm/html/doc/cli/npm-explore.html
  55. 35
      deps/npm/html/doc/cli/npm-help-search.html
  56. 41
      deps/npm/html/doc/cli/npm-help.html
  57. 24
      deps/npm/html/doc/cli/npm-init.html
  58. 210
      deps/npm/html/doc/cli/npm-install.html
  59. 51
      deps/npm/html/doc/cli/npm-link.html
  60. 80
      deps/npm/html/doc/cli/npm-ls.html
  61. 64
      deps/npm/html/doc/cli/npm-outdated.html
  62. 36
      deps/npm/html/doc/cli/npm-owner.html
  63. 25
      deps/npm/html/doc/cli/npm-pack.html
  64. 24
      deps/npm/html/doc/cli/npm-prefix.html
  65. 23
      deps/npm/html/doc/cli/npm-prune.html
  66. 41
      deps/npm/html/doc/cli/npm-publish.html
  67. 27
      deps/npm/html/doc/cli/npm-rebuild.html
  68. 31
      deps/npm/html/doc/cli/npm-repo.html
  69. 24
      deps/npm/html/doc/cli/npm-restart.html
  70. 24
      deps/npm/html/doc/cli/npm-rm.html
  71. 24
      deps/npm/html/doc/cli/npm-root.html
  72. 27
      deps/npm/html/doc/cli/npm-run-script.html
  73. 35
      deps/npm/html/doc/cli/npm-search.html
  74. 114
      deps/npm/html/doc/cli/npm-shrinkwrap.html
  75. 23
      deps/npm/html/doc/cli/npm-star.html
  76. 23
      deps/npm/html/doc/cli/npm-stars.html
  77. 23
      deps/npm/html/doc/cli/npm-start.html
  78. 23
      deps/npm/html/doc/cli/npm-stop.html
  79. 22
      deps/npm/html/doc/cli/npm-submodule.html
  80. 39
      deps/npm/html/doc/cli/npm-tag.html
  81. 24
      deps/npm/html/doc/cli/npm-test.html
  82. 46
      deps/npm/html/doc/cli/npm-uninstall.html
  83. 31
      deps/npm/html/doc/cli/npm-unpublish.html
  84. 25
      deps/npm/html/doc/cli/npm-update.html
  85. 33
      deps/npm/html/doc/cli/npm-version.html
  86. 84
      deps/npm/html/doc/cli/npm-view.html
  87. 22
      deps/npm/html/doc/cli/npm-whoami.html
  88. 149
      deps/npm/html/doc/cli/npm.html
  89. 115
      deps/npm/html/doc/files/npm-folders.html
  90. 115
      deps/npm/html/doc/files/npm-global.html
  91. 360
      deps/npm/html/doc/files/npm-json.html
  92. 50
      deps/npm/html/doc/files/npmrc.html
  93. 360
      deps/npm/html/doc/files/package.json.html
  94. 415
      deps/npm/html/doc/index.html
  95. 122
      deps/npm/html/doc/misc/npm-coding-style.html
  96. 832
      deps/npm/html/doc/misc/npm-config.html
  97. 174
      deps/npm/html/doc/misc/npm-developers.html
  98. 89
      deps/npm/html/doc/misc/npm-disputes.html
  99. 260
      deps/npm/html/doc/misc/npm-faq.html
  100. 415
      deps/npm/html/doc/misc/npm-index.html

5
deps/npm/doc/cli/npm-run-script.md

@ -3,13 +3,14 @@ npm-run-script(1) -- Run arbitrary package scripts
## SYNOPSIS ## SYNOPSIS
npm run-script [<pkg>] <command> npm run-script [<pkg>] [command]
## DESCRIPTION ## DESCRIPTION
This runs an arbitrary command from a package's `"scripts"` object. This runs an arbitrary command from a package's `"scripts"` object.
If no package name is provided, it will search for a `package.json` If no package name is provided, it will search for a `package.json`
in the current folder and use its `"scripts"` object. in the current folder and use its `"scripts"` object. If no `"command"`
is provided, it will list the available top level scripts.
It is used by the test, start, restart, and stop commands, but can be It is used by the test, start, restart, and stop commands, but can be
called directly, as well. called directly, as well.

186
deps/npm/html/doc/README.html

@ -10,153 +10,97 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="cli/npm.html">npm</a></h1> <p>node package manager</p> <h1><a href="cli/npm.html">npm</a></h1> <p>node package manager</p>
<p><a href="https://travis-ci.org/npm/npm"><img src="https://img.shields.io/travis/npm/npm/master.svg" alt="Build Status"></a></p>
<p><a href="https://img.shields.io/travis/npm/npm/master.svg)](https://travis-ci.org/npm/npm">![Build Status</a> <h2 id="synopsis">SYNOPSIS</h2>
## SYNOPSIS</p>
<p>This is just enough info to get you up and running.</p> <p>This is just enough info to get you up and running.</p>
<p>Much more info available via <code>npm help</code> once it&#39;s installed.</p> <p>Much more info available via <code>npm help</code> once it&#39;s installed.</p>
<h2 id="important">IMPORTANT</h2>
<h2 id="IMPORTANT">IMPORTANT</h2>
<p><strong>You need node v0.8 or higher to run this program.</strong></p> <p><strong>You need node v0.8 or higher to run this program.</strong></p>
<p>To install an old <strong>and unsupported</strong> version of npm that works on node 0.3 <p>To install an old <strong>and unsupported</strong> version of npm that works on node 0.3
and prior, clone the git repo and dig through the old tags and branches.</p> and prior, clone the git repo and dig through the old tags and branches.</p>
<h2 id="super-easy-install">Super Easy Install</h2>
<h2 id="Super-Easy-Install">Super Easy Install</h2>
<p>npm comes with node now.</p> <p>npm comes with node now.</p>
<h3 id="windows-computers">Windows Computers</h3>
<h3 id="Windows-Computers">Windows Computers</h3>
<p>Get the MSI. npm is in it.</p> <p>Get the MSI. npm is in it.</p>
<h3 id="apple-macintosh-computers">Apple Macintosh Computers</h3>
<h3 id="Apple-Macintosh-Computers">Apple Macintosh Computers</h3>
<p>Get the pkg. npm is in it.</p> <p>Get the pkg. npm is in it.</p>
<h3 id="other-sorts-of-unices">Other Sorts of Unices</h3>
<h3 id="Other-Sorts-of-Unices">Other Sorts of Unices</h3>
<p>Run <code>make install</code>. npm will be installed with node.</p> <p>Run <code>make install</code>. npm will be installed with node.</p>
<p>If you want a more fancy pants install (a different version, customized <p>If you want a more fancy pants install (a different version, customized
paths, etc.) then read on.</p> paths, etc.) then read on.</p>
<h2 id="fancy-install-unix-">Fancy Install (Unix)</h2>
<h2 id="Fancy-Install-Unix">Fancy Install (Unix)</h2>
<p>There&#39;s a pretty robust install script at <p>There&#39;s a pretty robust install script at
<a href="https://www.npmjs.org/install.sh">https://www.npmjs.org/install.sh</a>. You can download that and run it.</p> <a href="https://www.npmjs.org/install.sh">https://www.npmjs.org/install.sh</a>. You can download that and run it.</p>
<p>Here&#39;s an example using curl:</p> <p>Here&#39;s an example using curl:</p>
<pre><code>curl -L https://npmjs.org/install.sh | sh
<pre><code>curl -L https://npmjs.org/install.sh | sh</code></pre> </code></pre><h3 id="slightly-fancier">Slightly Fancier</h3>
<h3 id="Slightly-Fancier">Slightly Fancier</h3>
<p>You can set any npm configuration params with that script:</p> <p>You can set any npm configuration params with that script:</p>
<pre><code>npm_config_prefix=/some/path sh install.sh
<pre><code>npm_config_prefix=/some/path sh install.sh</code></pre> </code></pre><p>Or, you can run it in uber-debuggery mode:</p>
<pre><code>npm_debug=1 sh install.sh
<p>Or, you can run it in uber-debuggery mode:</p> </code></pre><h3 id="even-fancier">Even Fancier</h3>
<pre><code>npm_debug=1 sh install.sh</code></pre>
<h3 id="Even-Fancier">Even Fancier</h3>
<p>Get the code with git. Use <code>make</code> to build the docs and do other stuff. <p>Get the code with git. Use <code>make</code> to build the docs and do other stuff.
If you plan on hacking on npm, <code>make link</code> is your friend.</p> If you plan on hacking on npm, <code>make link</code> is your friend.</p>
<p>If you&#39;ve got the npm source code, you can also semi-permanently set <p>If you&#39;ve got the npm source code, you can also semi-permanently set
arbitrary config keys using the <code>./configure --key=val ...</code>, and then arbitrary config keys using the <code>./configure --key=val ...</code>, and then
run npm commands by doing <code>node cli.js &lt;cmd&gt; &lt;args&gt;</code>. (This is helpful run npm commands by doing <code>node cli.js &lt;cmd&gt; &lt;args&gt;</code>. (This is helpful
for testing, or running stuff without actually installing npm itself.)</p> for testing, or running stuff without actually installing npm itself.)</p>
<h2 id="fancy-windows-install">Fancy Windows Install</h2>
<h2 id="Fancy-Windows-Install">Fancy Windows Install</h2>
<p>You can download a zip file from <a href="https://npmjs.org/dist/">https://npmjs.org/dist/</a>, and unpack it <p>You can download a zip file from <a href="https://npmjs.org/dist/">https://npmjs.org/dist/</a>, and unpack it
in the same folder where node.exe lives.</p> in the same folder where node.exe lives.</p>
<p>If that&#39;s not fancy enough for you, then you can fetch the code with <p>If that&#39;s not fancy enough for you, then you can fetch the code with
git, and mess with it directly.</p> git, and mess with it directly.</p>
<h2 id="installing-on-cygwin">Installing on Cygwin</h2>
<h2 id="Installing-on-Cygwin">Installing on Cygwin</h2>
<p>No.</p> <p>No.</p>
<h2 id="permissions-when-using-npm-to-install-other-stuff">Permissions when Using npm to Install Other Stuff</h2>
<h2 id="Permissions-when-Using-npm-to-Install-Other-Stuff">Permissions when Using npm to Install Other Stuff</h2>
<p><strong>tl;dr</strong></p> <p><strong>tl;dr</strong></p>
<ul>
<ul><li>Use <code>sudo</code> for greater safety. Or don&#39;t, if you prefer not to.</li><li>npm will downgrade permissions if it&#39;s root before running any build <li>Use <code>sudo</code> for greater safety. Or don&#39;t, if you prefer not to.</li>
scripts that package authors specified.</li></ul> <li>npm will downgrade permissions if it&#39;s root before running any build
scripts that package authors specified.</li>
<h3 id="More-details">More details...</h3> </ul>
<h3 id="more-details-">More details...</h3>
<p>As of version 0.3, it is recommended to run npm as root. <p>As of version 0.3, it is recommended to run npm as root.
This allows npm to change the user identifier to the <code>nobody</code> user prior This allows npm to change the user identifier to the <code>nobody</code> user prior
to running any package build or test commands.</p> to running any package build or test commands.</p>
<p>If you are not the root user, or if you are on a platform that does not <p>If you are not the root user, or if you are on a platform that does not
support uid switching, then npm will not attempt to change the userid.</p> support uid switching, then npm will not attempt to change the userid.</p>
<p>If you would like to ensure that npm <strong>always</strong> runs scripts as the <p>If you would like to ensure that npm <strong>always</strong> runs scripts as the
&quot;nobody&quot; user, and have it fail if it cannot downgrade permissions, then &quot;nobody&quot; user, and have it fail if it cannot downgrade permissions, then
set the following configuration param:</p> set the following configuration param:</p>
<pre><code>npm config set unsafe-perm false
<pre><code>npm config set unsafe-perm false</code></pre> </code></pre><p>This will prevent running in unsafe mode, even as non-root users.</p>
<h2 id="uninstalling">Uninstalling</h2>
<p>This will prevent running in unsafe mode, even as non-root users.</p>
<h2 id="Uninstalling">Uninstalling</h2>
<p>So sad to see you go.</p> <p>So sad to see you go.</p>
<pre><code>sudo npm uninstall npm -g
<pre><code>sudo npm uninstall npm -g</code></pre> </code></pre><p>Or, if that fails,</p>
<pre><code>sudo make uninstall
<p>Or, if that fails,</p> </code></pre><h2 id="more-severe-uninstalling">More Severe Uninstalling</h2>
<pre><code>sudo make uninstall</code></pre>
<h2 id="More-Severe-Uninstalling">More Severe Uninstalling</h2>
<p>Usually, the above instructions are sufficient. That will remove <p>Usually, the above instructions are sufficient. That will remove
npm, but leave behind anything you&#39;ve installed.</p> npm, but leave behind anything you&#39;ve installed.</p>
<p>If you would like to remove all the packages that you have installed, <p>If you would like to remove all the packages that you have installed,
then you can use the <code>npm ls</code> command to find them, and then <code>npm rm</code> to then you can use the <code>npm ls</code> command to find them, and then <code>npm rm</code> to
remove them.</p> remove them.</p>
<p>To remove cruft left behind by npm 0.x, you can use the included <p>To remove cruft left behind by npm 0.x, you can use the included
<code>clean-old.sh</code> script file. You can run it conveniently like this:</p> <code>clean-old.sh</code> script file. You can run it conveniently like this:</p>
<pre><code>npm explore npm -g -- sh scripts/clean-old.sh
<pre><code>npm explore npm -g -- sh scripts/clean-old.sh</code></pre> </code></pre><p>npm uses two configuration files, one for per-user configs, and another
<p>npm uses two configuration files, one for per-user configs, and another
for global (every-user) configs. You can view them by doing:</p> for global (every-user) configs. You can view them by doing:</p>
<pre><code>npm config get userconfig # defaults to ~/.npmrc <pre><code>npm config get userconfig # defaults to ~/.npmrc
npm config get globalconfig # defaults to /usr/local/etc/npmrc</code></pre> npm config get globalconfig # defaults to /usr/local/etc/npmrc
</code></pre><p>Uninstalling npm does not remove configuration files by default. You
<p>Uninstalling npm does not remove configuration files by default. You
must remove them yourself manually if you want them gone. Note that must remove them yourself manually if you want them gone. Note that
this means that future npm installs will not remember the settings that this means that future npm installs will not remember the settings that
you have chosen.</p> you have chosen.</p>
<h2 id="using-npm-programmatically">Using npm Programmatically</h2>
<h2 id="Using-npm-Programmatically">Using npm Programmatically</h2>
<p>If you would like to use npm programmatically, you can do that. <p>If you would like to use npm programmatically, you can do that.
It&#39;s not very well documented, but it <em>is</em> rather simple.</p> It&#39;s not very well documented, but it <em>is</em> rather simple.</p>
<p>Most of the time, unless you actually want to do all the things that <p>Most of the time, unless you actually want to do all the things that
npm does, you should try using one of npm&#39;s dependencies rather than npm does, you should try using one of npm&#39;s dependencies rather than
using npm itself, if possible.</p> using npm itself, if possible.</p>
<p>Eventually, npm will be just a thin cli wrapper around the modules <p>Eventually, npm will be just a thin cli wrapper around the modules
that it depends on, but for now, there are some things that you must that it depends on, but for now, there are some things that you must
use npm itself to do.</p> use npm itself to do.</p>
<pre><code>var npm = require(&quot;npm&quot;) <pre><code>var npm = require(&quot;npm&quot;)
npm.load(myConfigObject, function (er) { npm.load(myConfigObject, function (er) {
if (er) return handlError(er) if (er) return handlError(er)
@ -165,90 +109,72 @@ npm.load(myConfigObject, function (er) {
// command succeeded, and data might have some info // command succeeded, and data might have some info
}) })
npm.on(&quot;log&quot;, function (message) { .... }) npm.on(&quot;log&quot;, function (message) { .... })
})</code></pre> })
</code></pre><p>The <code>load</code> function takes an object hash of the command-line configs.
<p>The <code>load</code> function takes an object hash of the command-line configs.
The various <code>npm.commands.&lt;cmd&gt;</code> functions take an <strong>array</strong> of The various <code>npm.commands.&lt;cmd&gt;</code> functions take an <strong>array</strong> of
positional argument <strong>strings</strong>. The last argument to any positional argument <strong>strings</strong>. The last argument to any
<code>npm.commands.&lt;cmd&gt;</code> function is a callback. Some commands take other <code>npm.commands.&lt;cmd&gt;</code> function is a callback. Some commands take other
optional arguments. Read the source.</p> optional arguments. Read the source.</p>
<p>You cannot set configs individually for any single npm function at this <p>You cannot set configs individually for any single npm function at this
time. Since <code>npm</code> is a singleton, any call to <code>npm.config.set</code> will time. Since <code>npm</code> is a singleton, any call to <code>npm.config.set</code> will
change the value for <em>all</em> npm commands in that process.</p> change the value for <em>all</em> npm commands in that process.</p>
<p>See <code>./bin/npm-cli.js</code> for an example of pulling config values off of the <p>See <code>./bin/npm-cli.js</code> for an example of pulling config values off of the
command line arguments using nopt. You may also want to check out <code>npm command line arguments using nopt. You may also want to check out <code>npm
help config</code> to learn about all the options you can set there.</p> help config</code> to learn about all the options you can set there.</p>
<h2 id="more-docs">More Docs</h2>
<h2 id="More-Docs">More Docs</h2>
<p>Check out the <a href="https://www.npmjs.org/doc/">docs</a>, <p>Check out the <a href="https://www.npmjs.org/doc/">docs</a>,
especially the <a href="https://www.npmjs.org/doc/faq.html">faq</a>.</p> especially the <a href="https://www.npmjs.org/doc/faq.html">faq</a>.</p>
<p>You can use the <code>npm help</code> command to read any of them.</p> <p>You can use the <code>npm help</code> command to read any of them.</p>
<p>If you&#39;re a developer, and you want to use npm to publish your program, <p>If you&#39;re a developer, and you want to use npm to publish your program,
you should <a href="https://www.npmjs.org/doc/developers.html">read this</a></p> you should <a href="https://www.npmjs.org/doc/developers.html">read this</a></p>
<h2 id="legal-stuff">Legal Stuff</h2>
<h2 id="Legal-Stuff">Legal Stuff</h2>
<p>&quot;npm&quot; and &quot;The npm Registry&quot; are owned by npm, Inc. <p>&quot;npm&quot; and &quot;The npm Registry&quot; are owned by npm, Inc.
All rights reserved. See the included LICENSE file for more details.</p> All rights reserved. See the included LICENSE file for more details.</p>
<p>&quot;Node.js&quot; and &quot;node&quot; are trademarks owned by Joyent, Inc.</p> <p>&quot;Node.js&quot; and &quot;node&quot; are trademarks owned by Joyent, Inc.</p>
<p>Modules published on the npm registry are not officially endorsed by <p>Modules published on the npm registry are not officially endorsed by
npm, Inc. or the Node.js project.</p> npm, Inc. or the Node.js project.</p>
<p>Data published to the npm registry is not part of npm itself, and is <p>Data published to the npm registry is not part of npm itself, and is
the sole property of the publisher. While every effort is made to the sole property of the publisher. While every effort is made to
ensure accountability, there is absolutely no guarantee, warrantee, or ensure accountability, there is absolutely no guarantee, warrantee, or
assertion expressed or implied as to the quality, fitness for a assertion expressed or implied as to the quality, fitness for a
specific purpose, or lack of malice in any given npm package.</p> specific purpose, or lack of malice in any given npm package.</p>
<p>If you have a complaint about a package in the public npm registry, <p>If you have a complaint about a package in the public npm registry,
and cannot <a href="https://www.npmjs.org/doc/misc/npm-disputes.html">resolve it with the package and cannot <a href="https://www.npmjs.org/doc/misc/npm-disputes.html">resolve it with the package
owner</a>, please email owner</a>, please email
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and explain the situation.</p> <a href="&#109;&#x61;&#x69;&#x6c;&#x74;&#111;&#58;&#115;&#117;&#x70;&#112;&#x6f;&#x72;&#x74;&#x40;&#110;&#112;&#109;&#x6a;&#x73;&#46;&#x63;&#111;&#109;">&#115;&#117;&#x70;&#112;&#x6f;&#x72;&#x74;&#x40;&#110;&#112;&#109;&#x6a;&#x73;&#46;&#x63;&#111;&#109;</a> and explain the situation.</p>
<p>Any data published to The npm Registry (including user account <p>Any data published to The npm Registry (including user account
information) may be removed or modified at the sole discretion of the information) may be removed or modified at the sole discretion of the
npm server administrators.</p> npm server administrators.</p>
<h3 id="in-plainer-english">In plainer english</h3>
<h3 id="In-plainer-english">In plainer english</h3>
<p>npm is the property of npm, Inc.</p> <p>npm is the property of npm, Inc.</p>
<p>If you publish something, it&#39;s yours, and you are solely accountable <p>If you publish something, it&#39;s yours, and you are solely accountable
for it.</p> for it.</p>
<p>If other people publish something, it&#39;s theirs.</p> <p>If other people publish something, it&#39;s theirs.</p>
<p>Users can publish Bad Stuff. It will be removed promptly if reported. <p>Users can publish Bad Stuff. It will be removed promptly if reported.
But there is no vetting process for published modules, and you use But there is no vetting process for published modules, and you use
them at your own risk. Please inspect the source.</p> them at your own risk. Please inspect the source.</p>
<p>If you publish Bad Stuff, we may delete it from the registry, or even <p>If you publish Bad Stuff, we may delete it from the registry, or even
ban your account in extreme cases. So don&#39;t do that.</p> ban your account in extreme cases. So don&#39;t do that.</p>
<h2 id="bugs">BUGS</h2>
<h2 id="BUGS">BUGS</h2>
<p>When you find issues, please report them:</p> <p>When you find issues, please report them:</p>
<ul>
<ul><li>web: <li>web:
<a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a></li><li>email: <a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a></li>
<a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li></ul> <li>email:
<a href="&#109;&#97;&#105;&#x6c;&#116;&#x6f;&#58;&#x6e;&#x70;&#109;&#45;&#64;&#103;&#x6f;&#111;&#x67;&#x6c;&#101;&#x67;&#114;&#x6f;&#117;&#x70;&#115;&#x2e;&#99;&#111;&#109;">&#x6e;&#x70;&#109;&#45;&#64;&#103;&#x6f;&#111;&#x67;&#x6c;&#101;&#x67;&#114;&#x6f;&#117;&#x70;&#115;&#x2e;&#99;&#111;&#109;</a></li>
</ul>
<p>Be sure to include <em>all</em> of the output from the npm command that didn&#39;t work <p>Be sure to include <em>all</em> of the output from the npm command that didn&#39;t work
as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p> as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p>
<p>You can also look for isaacs in #node.js on irc://irc.freenode.net. He <p>You can also look for isaacs in #node.js on irc://irc.freenode.net. He
will no doubt tell you to put the output in a gist or email.</p> will no doubt tell you to put the output in a gist or email.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="cli/npm.html">npm(1)</a></li>
<li><a href="misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="cli/npm-help.html">npm-help(1)</a></li>
<li><a href="misc/npm-index.html">npm-index(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="cli/npm.html">npm(1)</a></li><li><a href="misc/npm-faq.html">npm-faq(7)</a></li><li><a href="cli/npm-help.html">npm-help(1)</a></li><li><a href="misc/npm-index.html">npm-index(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -260,5 +186,5 @@ will no doubt tell you to put the output in a gist or email.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.4.9</p> <p id="footer"><a href="../doc/README.html">README</a> &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/api/npm-bin.html

@ -10,17 +10,13 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-bin.html">npm-bin</a></h1> <p>Display npm bin folder</p> <h1><a href="../api/npm-bin.html">npm-bin</a></h1> <p>Display npm bin folder</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.bin(args, cb)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.bin(args, cb)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the folder where npm will install executables.</p> <p>Print the folder where npm will install executables.</p>
<p>This function should not be used programmatically. Instead, just refer <p>This function should not be used programmatically. Instead, just refer
to the <code>npm.bin</code> member.</p> to the <code>npm.bin</code> member.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -32,5 +28,5 @@ to the <code>npm.bin</code> member.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-bin &mdash; npm@1.4.9</p> <p id="footer">npm-bin &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-bugs.html

@ -10,23 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-bugs.html">npm-bugs</a></h1> <p>Bugs for a package in a web browser maybe</p> <h1><a href="../api/npm-bugs.html">npm-bugs</a></h1> <p>Bugs for a package in a web browser maybe</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.bugs(package, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.bugs(package, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
bug tracker URL, and then tries to open it using the <code>--browser</code> bug tracker URL, and then tries to open it using the <code>--browser</code>
config param.</p> config param.</p>
<p>Like other commands, the first parameter is an array. This command only <p>Like other commands, the first parameter is an array. This command only
uses the first element, which is expected to be a package name with an uses the first element, which is expected to be a package name with an
optional version number.</p> optional version number.</p>
<p>This command will launch a browser, so this command may not be the most <p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p> friendly for programmatic use.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +33,5 @@ friendly for programmatic use.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-bugs &mdash; npm@1.4.9</p> <p id="footer">npm-bugs &mdash; npm@1.4.10</p>

21
deps/npm/html/doc/api/npm-commands.html

@ -10,26 +10,21 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-commands.html">npm-commands</a></h1> <p>npm commands</p> <h1><a href="../api/npm-commands.html">npm-commands</a></h1> <p>npm commands</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands[&lt;command&gt;](args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands[&lt;command&gt;](args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm comes with a full set of commands, and each of the commands takes a <p>npm comes with a full set of commands, and each of the commands takes a
similar set of arguments.</p> similar set of arguments.</p>
<p>In general, all commands on the command object take an <strong>array</strong> of positional <p>In general, all commands on the command object take an <strong>array</strong> of positional
argument <strong>strings</strong>. The last argument to any function is a callback. Some argument <strong>strings</strong>. The last argument to any function is a callback. Some
commands are special and take other optional arguments.</p> commands are special and take other optional arguments.</p>
<p>All commands have their own man page. See <code>man npm-&lt;command&gt;</code> for command-line <p>All commands have their own man page. See <code>man npm-&lt;command&gt;</code> for command-line
usage, or <code>man 3 npm-&lt;command&gt;</code> for programmatic usage.</p> usage, or <code>man 3 npm-&lt;command&gt;</code> for programmatic usage.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-index.html">npm-index(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -41,5 +36,5 @@ usage, or <code>man 3 npm-&lt;command&gt;</code> for programmatic usage.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-commands &mdash; npm@1.4.9</p> <p id="footer">npm-commands &mdash; npm@1.4.10</p>

47
deps/npm/html/doc/api/npm-config.html

@ -10,31 +10,42 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-config.html">npm-config</a></h1> <p>Manage the npm configuration files</p> <h1><a href="../api/npm-config.html">npm-config</a></h1> <p>Manage the npm configuration files</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm.commands.config(args, callback) <pre><code>npm.commands.config(args, callback)
var val = npm.config.get(key) var val = npm.config.get(key)
npm.config.set(key, val)</code></pre> npm.config.set(key, val)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This function acts much the same way as the command-line version. The first <p>This function acts much the same way as the command-line version. The first
element in the array tells config what to do. Possible values are:</p> element in the array tells config what to do. Possible values are:</p>
<ul>
<ul><li><p><code>set</code></p><p>Sets a config parameter. The second element in <code>args</code> is interpreted as the <li><p><code>set</code></p>
key, and the third element is interpreted as the value.</p></li><li><p><code>get</code></p><p>Gets the value of a config parameter. The second element in <code>args</code> is the <p> Sets a config parameter. The second element in <code>args</code> is interpreted as the
key to get the value of.</p></li><li><p><code>delete</code> (<code>rm</code> or <code>del</code>)</p><p>Deletes a parameter from the config. The second element in <code>args</code> is the key, and the third element is interpreted as the value.</p>
key to delete.</p></li><li><p><code>list</code> (<code>ls</code>)</p><p>Show all configs that aren&#39;t secret. No parameters necessary.</p></li><li><p><code>edit</code>:</p><p>Opens the config file in the default editor. This command isn&#39;t very useful </li>
programmatically, but it is made available.</p></li></ul> <li><p><code>get</code></p>
<p> Gets the value of a config parameter. The second element in <code>args</code> is the
key to get the value of.</p>
</li>
<li><p><code>delete</code> (<code>rm</code> or <code>del</code>)</p>
<p> Deletes a parameter from the config. The second element in <code>args</code> is the
key to delete.</p>
</li>
<li><p><code>list</code> (<code>ls</code>)</p>
<p> Show all configs that aren&#39;t secret. No parameters necessary.</p>
</li>
<li><p><code>edit</code>:</p>
<p> Opens the config file in the default editor. This command isn&#39;t very useful
programmatically, but it is made available.</p>
</li>
</ul>
<p>To programmatically access npm configuration settings, or set them for <p>To programmatically access npm configuration settings, or set them for
the duration of a program, use the <code>npm.config.set</code> and <code>npm.config.get</code> the duration of a program, use the <code>npm.config.set</code> and <code>npm.config.get</code>
functions instead.</p> functions instead.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../api/npm.html">npm(3)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -46,5 +57,5 @@ functions instead.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-config &mdash; npm@1.4.9</p> <p id="footer">npm-config &mdash; npm@1.4.10</p>

38
deps/npm/html/doc/api/npm-deprecate.html

@ -10,30 +10,32 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-deprecate.html">npm-deprecate</a></h1> <p>Deprecate a version of a package</p> <h1><a href="../api/npm-deprecate.html">npm-deprecate</a></h1> <p>Deprecate a version of a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.deprecate(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.deprecate(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will update the npm registry entry for a package, providing <p>This command will update the npm registry entry for a package, providing
a deprecation warning to all who attempt to install it.</p> a deprecation warning to all who attempt to install it.</p>
<p>The &#39;args&#39; parameter must have exactly two elements:</p> <p>The &#39;args&#39; parameter must have exactly two elements:</p>
<ul>
<ul><li><p><code>package[@version]</code></p><p>The <code>version</code> portion is optional, and may be either a range, or a <li><p><code>package[@version]</code></p>
specific version, or a tag.</p></li><li><p><code>message</code></p><p>The warning message that will be printed whenever a user attempts to <p> The <code>version</code> portion is optional, and may be either a range, or a
install the package.</p></li></ul> specific version, or a tag.</p>
</li>
<li><p><code>message</code></p>
<p> The warning message that will be printed whenever a user attempts to
install the package.</p>
</li>
</ul>
<p>Note that you must be the package owner to deprecate something. See the <p>Note that you must be the package owner to deprecate something. See the
<code>owner</code> and <code>adduser</code> help topics.</p> <code>owner</code> and <code>adduser</code> help topics.</p>
<p>To un-deprecate a package, specify an empty string (<code>&quot;&quot;</code>) for the <code>message</code> argument.</p> <p>To un-deprecate a package, specify an empty string (<code>&quot;&quot;</code>) for the <code>message</code> argument.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../api/npm-publish.html">npm-publish(3)</a></li>
<li><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +47,5 @@ install the package.</p></li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-deprecate &mdash; npm@1.4.9</p> <p id="footer">npm-deprecate &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-docs.html

@ -10,23 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-docs.html">npm-docs</a></h1> <p>Docs for a package in a web browser maybe</p> <h1><a href="../api/npm-docs.html">npm-docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.docs(package, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.docs(package, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
documentation URL, and then tries to open it using the <code>--browser</code> documentation URL, and then tries to open it using the <code>--browser</code>
config param.</p> config param.</p>
<p>Like other commands, the first parameter is an array. This command only <p>Like other commands, the first parameter is an array. This command only
uses the first element, which is expected to be a package name with an uses the first element, which is expected to be a package name with an
optional version number.</p> optional version number.</p>
<p>This command will launch a browser, so this command may not be the most <p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p> friendly for programmatic use.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +33,5 @@ friendly for programmatic use.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-docs &mdash; npm@1.4.9</p> <p id="footer">npm-docs &mdash; npm@1.4.10</p>

17
deps/npm/html/doc/api/npm-edit.html

@ -10,28 +10,21 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-edit.html">npm-edit</a></h1> <p>Edit an installed package</p> <h1><a href="../api/npm-edit.html">npm-edit</a></h1> <p>Edit an installed package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.edit(package, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.edit(package, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Opens the package folder in the default editor (or whatever you&#39;ve <p>Opens the package folder in the default editor (or whatever you&#39;ve
configured as the npm <code>editor</code> config -- see <code>npm help config</code>.)</p> configured as the npm <code>editor</code> config -- see <code>npm help config</code>.)</p>
<p>After it has been edited, the package is rebuilt so as to pick up any <p>After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages.</p> changes in compiled packages.</p>
<p>For instance, you can do <code>npm install connect</code> to install connect <p>For instance, you can do <code>npm install connect</code> to install connect
into your package, and then <code>npm.commands.edit([&quot;connect&quot;], callback)</code> into your package, and then <code>npm.commands.edit([&quot;connect&quot;], callback)</code>
to make a few changes to your locally installed copy.</p> to make a few changes to your locally installed copy.</p>
<p>The first parameter is a string array with a single element, the package <p>The first parameter is a string array with a single element, the package
to open. The package can optionally have a version number attached.</p> to open. The package can optionally have a version number attached.</p>
<p>Since this command opens an editor in a new process, be careful about where <p>Since this command opens an editor in a new process, be careful about where
and how this is used.</p> and how this is used.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -43,5 +36,5 @@ and how this is used.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-edit &mdash; npm@1.4.9</p> <p id="footer">npm-edit &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-explore.html

@ -10,22 +10,16 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-explore.html">npm-explore</a></h1> <p>Browse an installed package</p> <h1><a href="../api/npm-explore.html">npm-explore</a></h1> <p>Browse an installed package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.explore(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.explore(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Spawn a subshell in the directory of the installed package specified.</p> <p>Spawn a subshell in the directory of the installed package specified.</p>
<p>If a command is specified, then it is run in the subshell, which then <p>If a command is specified, then it is run in the subshell, which then
immediately terminates.</p> immediately terminates.</p>
<p>Note that the package is <em>not</em> automatically rebuilt afterwards, so be <p>Note that the package is <em>not</em> automatically rebuilt afterwards, so be
sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p> sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p>
<p>The first element in the &#39;args&#39; parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p> <p>The first element in the &#39;args&#39; parameter must be a package name. After that is the optional command, which can be any number of strings. All of the strings will be combined into one, space-delimited command.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -37,5 +31,5 @@ sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-explore &mdash; npm@1.4.9</p> <p id="footer">npm-explore &mdash; npm@1.4.10</p>

35
deps/npm/html/doc/api/npm-help-search.html

@ -10,30 +10,29 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-help-search.html">npm-help-search</a></h1> <p>Search the help pages</p> <h1><a href="../api/npm-help-search.html">npm-help-search</a></h1> <p>Search the help pages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.helpSearch(args, [silent,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.helpSearch(args, [silent,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command is rarely useful, but it exists in the rare case that it is.</p> <p>This command is rarely useful, but it exists in the rare case that it is.</p>
<p>This command takes an array of search terms and returns the help pages that <p>This command takes an array of search terms and returns the help pages that
match in order of best match.</p> match in order of best match.</p>
<p>If there is only one match, then npm displays that help section. If there <p>If there is only one match, then npm displays that help section. If there
are multiple results, the results are printed to the screen formatted and the are multiple results, the results are printed to the screen formatted and the
array of results is returned. Each result is an object with these properties:</p> array of results is returned. Each result is an object with these properties:</p>
<ul>
<ul><li>hits: <li>hits:
A map of args to number of hits on that arg. For example, {&quot;npm&quot;: 3}</li><li>found: A map of args to number of hits on that arg. For example, {&quot;npm&quot;: 3}</li>
Total number of unique args that matched.</li><li>totalHits: <li>found:
Total number of hits.</li><li>lines: Total number of unique args that matched.</li>
An array of all matching lines (and some adjacent lines).</li><li>file: <li>totalHits:
Name of the file that matched</li></ul> Total number of hits.</li>
<li>lines:
An array of all matching lines (and some adjacent lines).</li>
<li>file:
Name of the file that matched</li>
</ul>
<p>The silent parameter is not neccessary not used, but it may in the future.</p> <p>The silent parameter is not neccessary not used, but it may in the future.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +44,5 @@ Name of the file that matched</li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-help-search &mdash; npm@1.4.9</p> <p id="footer">npm-help-search &mdash; npm@1.4.10</p>

21
deps/npm/html/doc/api/npm-init.html

@ -10,33 +10,24 @@
<div id="wrapper"> <div id="wrapper">
<h1>npm <a href="../api/init.html">init</a></h1> <p>Interactively create a package.json file</p> <h1>npm <a href="../api/init.html">init</a></h1> <p>Interactively create a package.json file</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.init(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.init(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This will ask you a bunch of questions, and then write a package.json for you.</p> <p>This will ask you a bunch of questions, and then write a package.json for you.</p>
<p>It attempts to make reasonable guesses about what you want things to be set to, <p>It attempts to make reasonable guesses about what you want things to be set to,
and then writes a package.json file with the options you&#39;ve selected.</p> and then writes a package.json file with the options you&#39;ve selected.</p>
<p>If you already have a package.json file, it&#39;ll read that first, and default to <p>If you already have a package.json file, it&#39;ll read that first, and default to
the options in there.</p> the options in there.</p>
<p>It is strictly additive, so it does not delete options from your package.json <p>It is strictly additive, so it does not delete options from your package.json
without a really good reason to do so.</p> without a really good reason to do so.</p>
<p>Since this function expects to be run on the command-line, it doesn&#39;t work very <p>Since this function expects to be run on the command-line, it doesn&#39;t work very
well as a programmatically. The best option is to roll your own, and since well as a programmatically. The best option is to roll your own, and since
JavaScript makes it stupid simple to output formatted JSON, that is the JavaScript makes it stupid simple to output formatted JSON, that is the
preferred method. If you&#39;re sure you want to handle command-line prompting, preferred method. If you&#39;re sure you want to handle command-line prompting,
then go ahead and use this programmatically.</p> then go ahead and use this programmatically.</p>
<h2 id="see-also">SEE ALSO</h2>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p><a href="../files/package.json.html">package.json(5)</a></p> <p><a href="../files/package.json.html">package.json(5)</a></p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -48,5 +39,5 @@ then go ahead and use this programmatically.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-init &mdash; npm@1.4.9</p> <p id="footer">npm-init &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-install.html

@ -10,23 +10,17 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-install.html">npm-install</a></h1> <p>install a package programmatically</p> <h1><a href="../api/npm-install.html">npm-install</a></h1> <p>install a package programmatically</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.install([where,] packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.install([where,] packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This acts much the same ways as installing on the command-line.</p> <p>This acts much the same ways as installing on the command-line.</p>
<p>The &#39;where&#39; parameter is optional and only used internally, and it specifies <p>The &#39;where&#39; parameter is optional and only used internally, and it specifies
where the packages should be installed to.</p> where the packages should be installed to.</p>
<p>The &#39;packages&#39; parameter is an array of strings. Each element in the array is <p>The &#39;packages&#39; parameter is an array of strings. Each element in the array is
the name of a package to be installed.</p> the name of a package to be installed.</p>
<p>Finally, &#39;callback&#39; is a function that will be called when all packages have been <p>Finally, &#39;callback&#39; is a function that will be called when all packages have been
installed or when an error has been encountered.</p> installed or when an error has been encountered.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +32,5 @@ installed or when an error has been encountered.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-install &mdash; npm@1.4.9</p> <p id="footer">npm-install &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/api/npm-link.html

@ -10,37 +10,27 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-link.html">npm-link</a></h1> <p>Symlink a package folder</p> <h1><a href="../api/npm-link.html">npm-link</a></h1> <p>Symlink a package folder</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm.command.link(callback) <pre><code>npm.command.link(callback)
npm.command.link(packages, callback)</code></pre> npm.command.link(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Package linking is a two-step process.</p> <p>Package linking is a two-step process.</p>
<p>Without parameters, link will create a globally-installed <p>Without parameters, link will create a globally-installed
symbolic link from <code>prefix/package-name</code> to the current folder.</p> symbolic link from <code>prefix/package-name</code> to the current folder.</p>
<p>With a parameters, link will create a symlink from the local <code>node_modules</code> <p>With a parameters, link will create a symlink from the local <code>node_modules</code>
folder to the global symlink.</p> folder to the global symlink.</p>
<p>When creating tarballs for <code>npm publish</code>, the linked packages are <p>When creating tarballs for <code>npm publish</code>, the linked packages are
&quot;snapshotted&quot; to their current state by resolving the symbolic links.</p> &quot;snapshotted&quot; to their current state by resolving the symbolic links.</p>
<p>This is <p>This is
handy for installing your own stuff, so that you can work on it and test it handy for installing your own stuff, so that you can work on it and test it
iteratively without having to continually rebuild.</p> iteratively without having to continually rebuild.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>npm.commands.link(cb) # creates global link from the cwd <pre><code>npm.commands.link(cb) # creates global link from the cwd
# (say redis package) # (say redis package)
npm.commands.link(&#39;redis&#39;, cb) # link-install the package</code></pre> npm.commands.link(&#39;redis&#39;, cb) # link-install the package
</code></pre><p>Now, any changes to the redis package will be reflected in
<p>Now, any changes to the redis package will be reflected in
the package in the current working directory</p> the package in the current working directory</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -52,5 +42,5 @@ the package in the current working directory</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-link &mdash; npm@1.4.9</p> <p id="footer">npm-link &mdash; npm@1.4.10</p>

20
deps/npm/html/doc/api/npm-load.html

@ -10,30 +10,22 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-load.html">npm-load</a></h1> <p>Load config settings</p> <h1><a href="../api/npm-load.html">npm-load</a></h1> <p>Load config settings</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.load(conf, cb)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.load(conf, cb)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm.load() must be called before any other function call. Both parameters are <p>npm.load() must be called before any other function call. Both parameters are
optional, but the second is recommended.</p> optional, but the second is recommended.</p>
<p>The first parameter is an object hash of command-line config params, and the <p>The first parameter is an object hash of command-line config params, and the
second parameter is a callback that will be called when npm is loaded and second parameter is a callback that will be called when npm is loaded and
ready to serve.</p> ready to serve.</p>
<p>The first parameter should follow a similar structure as the package.json <p>The first parameter should follow a similar structure as the package.json
config object.</p> config object.</p>
<p>For example, to emulate the --dev flag, pass an object that looks like this:</p> <p>For example, to emulate the --dev flag, pass an object that looks like this:</p>
<pre><code>{ <pre><code>{
&quot;dev&quot;: true &quot;dev&quot;: true
}</code></pre> }
</code></pre><p>For a list of all the available command-line configs, see <code>npm help config</code></p>
<p>For a list of all the available command-line configs, see <code>npm help config</code></p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +37,5 @@ config object.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-load &mdash; npm@1.4.9</p> <p id="footer">npm-load &mdash; npm@1.4.10</p>

45
deps/npm/html/doc/api/npm-ls.html

@ -10,57 +10,48 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p> <h1><a href="../api/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.ls(args, [silent,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.ls(args, [silent,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will print to stdout all the versions of packages that are <p>This command will print to stdout all the versions of packages that are
installed, as well as their dependencies, in a tree-structure. It will also installed, as well as their dependencies, in a tree-structure. It will also
return that data using the callback.</p> return that data using the callback.</p>
<p>This command does not take any arguments, but args must be defined. <p>This command does not take any arguments, but args must be defined.
Beyond that, if any arguments are passed in, npm will politely warn that it Beyond that, if any arguments are passed in, npm will politely warn that it
does not take positional arguments, though you may set config flags does not take positional arguments, though you may set config flags
like with any other command, such as <code>global</code> to list global packages.</p> like with any other command, such as <code>global</code> to list global packages.</p>
<p>It will print out extraneous, missing, and invalid packages.</p> <p>It will print out extraneous, missing, and invalid packages.</p>
<p>If the silent parameter is set to true, nothing will be output to the screen, <p>If the silent parameter is set to true, nothing will be output to the screen,
but the data will still be returned.</p> but the data will still be returned.</p>
<p>Callback is provided an error if one occurred, the full data about which <p>Callback is provided an error if one occurred, the full data about which
packages are installed and which dependencies they will receive, and a packages are installed and which dependencies they will receive, and a
&quot;lite&quot; data object which just shows which versions are installed where. &quot;lite&quot; data object which just shows which versions are installed where.
Note that the full data object is a circular structure, so care must be Note that the full data object is a circular structure, so care must be
taken if it is serialized to JSON.</p> taken if it is serialized to JSON.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="long">long</h3> <h3 id="long">long</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show extended information.</p> <p>Show extended information.</p>
<h3 id="parseable">parseable</h3> <h3 id="parseable">parseable</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show parseable output instead of tree view.</p> <p>Show parseable output instead of tree view.</p>
<h3 id="global">global</h3> <h3 id="global">global</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>List packages in the global install prefix instead of in the current <p>List packages in the global install prefix instead of in the current
project.</p> project.</p>
<p>Note, if parseable is set or long isn&#39;t set, then duplicates will be trimmed. <p>Note, if parseable is set or long isn&#39;t set, then duplicates will be trimmed.
This means that if a submodule a same dependency as a parent module, then the This means that if a submodule a same dependency as a parent module, then the
dependency will only be output once.</p> dependency will only be output once.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -72,5 +63,5 @@ dependency will only be output once.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-ls &mdash; npm@1.4.9</p> <p id="footer">npm-ls &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/api/npm-outdated.html

@ -10,17 +10,13 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p> <h1><a href="../api/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.outdated([packages,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.outdated([packages,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will check the registry to see if the specified packages are <p>This command will check the registry to see if the specified packages are
currently outdated.</p> currently outdated.</p>
<p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p> <p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -32,5 +28,5 @@ currently outdated.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-outdated &mdash; npm@1.4.9</p> <p id="footer">npm-outdated &mdash; npm@1.4.10</p>

34
deps/npm/html/doc/api/npm-owner.html

@ -10,32 +10,32 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-owner.html">npm-owner</a></h1> <p>Manage package owners</p> <h1><a href="../api/npm-owner.html">npm-owner</a></h1> <p>Manage package owners</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.owner(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.owner(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>The first element of the &#39;args&#39; parameter defines what to do, and the subsequent <p>The first element of the &#39;args&#39; parameter defines what to do, and the subsequent
elements depend on the action. Possible values for the action are (order of elements depend on the action. Possible values for the action are (order of
parameters are given in parenthesis):</p> parameters are given in parenthesis):</p>
<ul>
<ul><li>ls (package): <li>ls (package):
List all the users who have access to modify a package and push new versions. List all the users who have access to modify a package and push new versions.
Handy when you need to know who to bug for help.</li><li>add (user, package): Handy when you need to know who to bug for help.</li>
<li>add (user, package):
Add a new user as a maintainer of a package. This user is enabled to modify Add a new user as a maintainer of a package. This user is enabled to modify
metadata, publish new versions, and add other owners.</li><li>rm (user, package): metadata, publish new versions, and add other owners.</li>
<li>rm (user, package):
Remove a user from the package owner list. This immediately revokes their Remove a user from the package owner list. This immediately revokes their
privileges.</li></ul> privileges.</li>
</ul>
<p>Note that there is only one level of access. Either you can modify a package, <p>Note that there is only one level of access. Either you can modify a package,
or you can&#39;t. Future versions may contain more fine-grained access levels, but or you can&#39;t. Future versions may contain more fine-grained access levels, but
that is not implemented at this time.</p> that is not implemented at this time.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../api/npm-publish.html">npm-publish(3)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/npm-publish.html">npm-publish(3)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -47,5 +47,5 @@ that is not implemented at this time.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-owner &mdash; npm@1.4.9</p> <p id="footer">npm-owner &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-pack.html

@ -10,23 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-pack.html">npm-pack</a></h1> <p>Create a tarball from a package</p> <h1><a href="../api/npm-pack.html">npm-pack</a></h1> <p>Create a tarball from a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.pack([packages,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.pack([packages,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>For anything that&#39;s installable (that is, a package folder, tarball, <p>For anything that&#39;s installable (that is, a package folder, tarball,
tarball url, name@tag, name@version, or name), this command will fetch tarball url, name@tag, name@version, or name), this command will fetch
it to the cache, and then copy the tarball to the current working it to the cache, and then copy the tarball to the current working
directory as <code>&lt;name&gt;-&lt;version&gt;.tgz</code>, and then write the filenames out to directory as <code>&lt;name&gt;-&lt;version&gt;.tgz</code>, and then write the filenames out to
stdout.</p> stdout.</p>
<p>If the same package is specified multiple times, then the file will be <p>If the same package is specified multiple times, then the file will be
overwritten the second time.</p> overwritten the second time.</p>
<p>If no arguments are supplied, then npm packs the current package folder.</p> <p>If no arguments are supplied, then npm packs the current package folder.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +33,5 @@ overwritten the second time.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-pack &mdash; npm@1.4.9</p> <p id="footer">npm-pack &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-prefix.html

@ -10,19 +10,14 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-prefix.html">npm-prefix</a></h1> <p>Display prefix</p> <h1><a href="../api/npm-prefix.html">npm-prefix</a></h1> <p>Display prefix</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.prefix(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.prefix(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the prefix to standard out.</p> <p>Print the prefix to standard out.</p>
<p>&#39;args&#39; is never used and callback is never called with data. <p>&#39;args&#39; is never used and callback is never called with data.
&#39;args&#39; must be present or things will break.</p> &#39;args&#39; must be present or things will break.</p>
<p>This function is not useful programmatically</p> <p>This function is not useful programmatically</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -34,5 +29,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-prefix &mdash; npm@1.4.9</p> <p id="footer">npm-prefix &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-prune.html

@ -10,21 +10,15 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-prune.html">npm-prune</a></h1> <p>Remove extraneous packages</p> <h1><a href="../api/npm-prune.html">npm-prune</a></h1> <p>Remove extraneous packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.prune([packages,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.prune([packages,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command removes &quot;extraneous&quot; packages.</p> <p>This command removes &quot;extraneous&quot; packages.</p>
<p>The first parameter is optional, and it specifies packages to be removed.</p> <p>The first parameter is optional, and it specifies packages to be removed.</p>
<p>No packages are specified, then all packages will be checked.</p> <p>No packages are specified, then all packages will be checked.</p>
<p>Extraneous packages are packages that are not listed on the parent <p>Extraneous packages are packages that are not listed on the parent
package&#39;s dependencies list.</p> package&#39;s dependencies list.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -36,5 +30,5 @@ package&#39;s dependencies list.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-prune &mdash; npm@1.4.9</p> <p id="footer">npm-prune &mdash; npm@1.4.10</p>

35
deps/npm/html/doc/api/npm-publish.html

@ -10,30 +10,31 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-publish.html">npm-publish</a></h1> <p>Publish a package</p> <h1><a href="../api/npm-publish.html">npm-publish</a></h1> <p>Publish a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.publish([packages,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.publish([packages,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Publishes a package to the registry so that it can be installed by name. <p>Publishes a package to the registry so that it can be installed by name.
Possible values in the &#39;packages&#39; array are:</p> Possible values in the &#39;packages&#39; array are:</p>
<ul>
<ul><li><p><code>&lt;folder&gt;</code>: <li><p><code>&lt;folder&gt;</code>:
A folder containing a package.json file</p></li><li><p><code>&lt;tarball&gt;</code>: A folder containing a package.json file</p>
</li>
<li><p><code>&lt;tarball&gt;</code>:
A url or file path to a gzipped tar archive containing a single folder A url or file path to a gzipped tar archive containing a single folder
with a package.json file inside.</p></li></ul> with a package.json file inside.</p>
</li>
</ul>
<p>If the package array is empty, npm will try to publish something in the <p>If the package array is empty, npm will try to publish something in the
current working directory.</p> current working directory.</p>
<p>This command could fails if one of the packages specified already exists in <p>This command could fails if one of the packages specified already exists in
the registry. Overwrites when the &quot;force&quot; environment variable is set.</p> the registry. Overwrites when the &quot;force&quot; environment variable is set.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
<li><a href="../api/npm-owner.html">npm-owner(3)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../api/npm-owner.html">npm-owner(3)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +46,5 @@ the registry. Overwrites when the &quot;force&quot; environment variable is set
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-publish &mdash; npm@1.4.9</p> <p id="footer">npm-publish &mdash; npm@1.4.10</p>

17
deps/npm/html/doc/api/npm-rebuild.html

@ -10,20 +10,15 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p> <h1><a href="../api/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.rebuild([packages,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.rebuild([packages,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command runs the <code>npm build</code> command on each of the matched packages. This is useful <p>This command runs the <code>npm build</code> command on each of the matched packages. This is useful
when you install a new version of node, and must recompile all your C++ addons with when you install a new version of node, and must recompile all your C++ addons with
the new binary. If no &#39;packages&#39; parameter is specify, every package will be rebuilt.</p> the new binary. If no &#39;packages&#39; parameter is specify, every package will be rebuilt.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<p>See <code>npm help build</code></p> <p>See <code>npm help build</code></p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -35,5 +30,5 @@ the new binary. If no &#39;packages&#39; parameter is specify, every package wil
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-rebuild &mdash; npm@1.4.9</p> <p id="footer">npm-rebuild &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-repo.html

@ -10,23 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-repo.html">npm-repo</a></h1> <p>Open package repository page in the browser</p> <h1><a href="../api/npm-repo.html">npm-repo</a></h1> <p>Open package repository page in the browser</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.repo(package, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.repo(package, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
repository URL, and then tries to open it using the <code>--browser</code> repository URL, and then tries to open it using the <code>--browser</code>
config param.</p> config param.</p>
<p>Like other commands, the first parameter is an array. This command only <p>Like other commands, the first parameter is an array. This command only
uses the first element, which is expected to be a package name with an uses the first element, which is expected to be a package name with an
optional version number.</p> optional version number.</p>
<p>This command will launch a browser, so this command may not be the most <p>This command will launch a browser, so this command may not be the most
friendly for programmatic use.</p> friendly for programmatic use.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +33,5 @@ friendly for programmatic use.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-repo &mdash; npm@1.4.9</p> <p id="footer">npm-repo &mdash; npm@1.4.10</p>

22
deps/npm/html/doc/api/npm-restart.html

@ -10,25 +10,21 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-restart.html">npm-restart</a></h1> <p>Start a package</p> <h1><a href="../api/npm-restart.html">npm-restart</a></h1> <p>Start a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.restart(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.restart(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;restart&quot; script, if one was provided. <p>This runs a package&#39;s &quot;restart&quot; script, if one was provided.
Otherwise it runs package&#39;s &quot;stop&quot; script, if one was provided, and then Otherwise it runs package&#39;s &quot;stop&quot; script, if one was provided, and then
the &quot;start&quot; script.</p> the &quot;start&quot; script.</p>
<p>If no version is specified, then it restarts the &quot;active&quot; version.</p> <p>If no version is specified, then it restarts the &quot;active&quot; version.</p>
<p>npm can run tests on multiple packages. Just specify multiple packages <p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../api/npm-start.html">npm-start(3)</a></li>
<li><a href="../api/npm-stop.html">npm-stop(3)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -40,5 +36,5 @@ in the <code>packages</code> parameter.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-restart &mdash; npm@1.4.9</p> <p id="footer">npm-restart &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-root.html

@ -10,19 +10,14 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-root.html">npm-root</a></h1> <p>Display npm root</p> <h1><a href="../api/npm-root.html">npm-root</a></h1> <p>Display npm root</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.root(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.root(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the effective <code>node_modules</code> folder to standard out.</p> <p>Print the effective <code>node_modules</code> folder to standard out.</p>
<p>&#39;args&#39; is never used and callback is never called with data. <p>&#39;args&#39; is never used and callback is never called with data.
&#39;args&#39; must be present or things will break.</p> &#39;args&#39; must be present or things will break.</p>
<p>This function is not useful programmatically.</p> <p>This function is not useful programmatically.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -34,5 +29,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-root &mdash; npm@1.4.9</p> <p id="footer">npm-root &mdash; npm@1.4.10</p>

25
deps/npm/html/doc/api/npm-run-script.html

@ -10,27 +10,26 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-run-script.html">npm-run-script</a></h1> <p>Run arbitrary package scripts</p> <h1><a href="../api/npm-run-script.html">npm-run-script</a></h1> <p>Run arbitrary package scripts</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.run-script(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.run-script(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs an arbitrary command from a package&#39;s &quot;scripts&quot; object.</p> <p>This runs an arbitrary command from a package&#39;s &quot;scripts&quot; object.</p>
<p>It is used by the test, start, restart, and stop commands, but can be <p>It is used by the test, start, restart, and stop commands, but can be
called directly, as well.</p> called directly, as well.</p>
<p>The &#39;args&#39; parameter is an array of strings. Behavior depends on the number <p>The &#39;args&#39; parameter is an array of strings. Behavior depends on the number
of elements. If there is only one element, npm assumes that the element of elements. If there is only one element, npm assumes that the element
represents a command to be run on the local repository. If there is more than represents a command to be run on the local repository. If there is more than
one element, then the first is assumed to be the package and the second is one element, then the first is assumed to be the package and the second is
assumed to be the command to run. All other elements are ignored.</p> assumed to be the command to run. All other elements are ignored.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../api/npm-test.html">npm-test(3)</a></li>
<li><a href="../api/npm-start.html">npm-start(3)</a></li>
<li><a href="../api/npm-restart.html">npm-restart(3)</a></li>
<li><a href="../api/npm-stop.html">npm-stop(3)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../api/npm-test.html">npm-test(3)</a></li><li><a href="../api/npm-start.html">npm-start(3)</a></li><li><a href="../api/npm-restart.html">npm-restart(3)</a></li><li><a href="../api/npm-stop.html">npm-stop(3)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -42,5 +41,5 @@ assumed to be the command to run. All other elements are ignored.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-run-script &mdash; npm@1.4.9</p> <p id="footer">npm-run-script &mdash; npm@1.4.10</p>

38
deps/npm/html/doc/api/npm-search.html

@ -10,30 +10,38 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-search.html">npm-search</a></h1> <p>Search for packages</p> <h1><a href="../api/npm-search.html">npm-search</a></h1> <p>Search for packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.search(searchTerms, [silent,] [staleness,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.search(searchTerms, [silent,] [staleness,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Search the registry for packages matching the search terms. The available parameters are:</p> <p>Search the registry for packages matching the search terms. The available parameters are:</p>
<ul>
<ul><li>searchTerms: <li>searchTerms:
Array of search terms. These terms are case-insensitive.</li><li>silent: Array of search terms. These terms are case-insensitive.</li>
If true, npm will not log anything to the console.</li><li>staleness: <li>silent:
If true, npm will not log anything to the console.</li>
<li>staleness:
This is the threshold for stale packages. &quot;Fresh&quot; packages are not refreshed This is the threshold for stale packages. &quot;Fresh&quot; packages are not refreshed
from the registry. This value is measured in seconds.</li><li><p>callback: from the registry. This value is measured in seconds.</li>
<li><p>callback:
Returns an object where each key is the name of a package, and the value Returns an object where each key is the name of a package, and the value
is information about that package along with a &#39;words&#39; property, which is is information about that package along with a &#39;words&#39; property, which is
a space-delimited string of all of the interesting words in that package. a space-delimited string of all of the interesting words in that package.
The only properties included are those that are searched, which generally include:</p><ul><li>name</li><li>description</li><li>maintainers</li><li>url</li><li>keywords</li></ul></li></ul> The only properties included are those that are searched, which generally include:</p>
<ul>
<li>name</li>
<li>description</li>
<li>maintainers</li>
<li>url</li>
<li>keywords</li>
</ul>
</li>
</ul>
<p>A search on the registry excludes any result that does not match all of the <p>A search on the registry excludes any result that does not match all of the
search terms. It also removes any items from the results that contain an search terms. It also removes any items from the results that contain an
excluded term (the &quot;searchexclude&quot; config). The search is case insensitive excluded term (the &quot;searchexclude&quot; config). The search is case insensitive
and doesn&#39;t try to read your mind (it doesn&#39;t do any verb tense matching or the and doesn&#39;t try to read your mind (it doesn&#39;t do any verb tense matching or the
like).</p> like).</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +53,5 @@ like).</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-search &mdash; npm@1.4.9</p> <p id="footer">npm-search &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-shrinkwrap.html

@ -10,24 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-shrinkwrap.html">npm-shrinkwrap</a></h1> <p>programmatically generate package shrinkwrap file</p> <h1><a href="../api/npm-shrinkwrap.html">npm-shrinkwrap</a></h1> <p>programmatically generate package shrinkwrap file</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.shrinkwrap(args, [silent,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.shrinkwrap(args, [silent,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This acts much the same ways as shrinkwrapping on the command-line.</p> <p>This acts much the same ways as shrinkwrapping on the command-line.</p>
<p>This command does not take any arguments, but &#39;args&#39; must be defined. <p>This command does not take any arguments, but &#39;args&#39; must be defined.
Beyond that, if any arguments are passed in, npm will politely warn that it Beyond that, if any arguments are passed in, npm will politely warn that it
does not take positional arguments.</p> does not take positional arguments.</p>
<p>If the &#39;silent&#39; parameter is set to true, nothing will be output to the screen, <p>If the &#39;silent&#39; parameter is set to true, nothing will be output to the screen,
but the shrinkwrap file will still be written.</p> but the shrinkwrap file will still be written.</p>
<p>Finally, &#39;callback&#39; is a function that will be called when the shrinkwrap has <p>Finally, &#39;callback&#39; is a function that will be called when the shrinkwrap has
been saved.</p> been saved.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -39,5 +33,5 @@ been saved.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-shrinkwrap &mdash; npm@1.4.9</p> <p id="footer">npm-shrinkwrap &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/api/npm-start.html

@ -10,17 +10,13 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-start.html">npm-start</a></h1> <p>Start a package</p> <h1><a href="../api/npm-start.html">npm-start</a></h1> <p>Start a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.start(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.start(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;start&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;start&quot; script, if one was provided.</p>
<p>npm can run tests on multiple packages. Just specify multiple packages <p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -32,5 +28,5 @@ in the <code>packages</code> parameter.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-start &mdash; npm@1.4.9</p> <p id="footer">npm-start &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/api/npm-stop.html

@ -10,17 +10,13 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-stop.html">npm-stop</a></h1> <p>Stop a package</p> <h1><a href="../api/npm-stop.html">npm-stop</a></h1> <p>Stop a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.stop(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.stop(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;stop&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;stop&quot; script, if one was provided.</p>
<p>npm can run stop on multiple packages. Just specify multiple packages <p>npm can run stop on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -32,5 +28,5 @@ in the <code>packages</code> parameter.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-stop &mdash; npm@1.4.9</p> <p id="footer">npm-stop &mdash; npm@1.4.10</p>

22
deps/npm/html/doc/api/npm-submodule.html

@ -10,31 +10,27 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p> <h1><a href="../api/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.submodule(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.submodule(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>For each package specified, npm will check if it has a git repository url <p>For each package specified, npm will check if it has a git repository url
in its package.json description then add it as a git submodule at in its package.json description then add it as a git submodule at
<code>node_modules/&lt;pkg name&gt;</code>.</p> <code>node_modules/&lt;pkg name&gt;</code>.</p>
<p>This is a convenience only. From then on, it&#39;s up to you to manage <p>This is a convenience only. From then on, it&#39;s up to you to manage
updates by using the appropriate git commands. npm will stubbornly updates by using the appropriate git commands. npm will stubbornly
refuse to update, modify, or remove anything with a <code>.git</code> subfolder refuse to update, modify, or remove anything with a <code>.git</code> subfolder
in it.</p> in it.</p>
<p>This command also does not install missing dependencies, if the package <p>This command also does not install missing dependencies, if the package
does not include them in its git repository. If <code>npm ls</code> reports that does not include them in its git repository. If <code>npm ls</code> reports that
things are missing, you can either install, link, or submodule them yourself, things are missing, you can either install, link, or submodule them yourself,
or you can do <code>npm explore &lt;pkgname&gt; -- npm install</code> to install the or you can do <code>npm explore &lt;pkgname&gt; -- npm install</code> to install the
dependencies into the submodule folder.</p> dependencies into the submodule folder.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li>npm help json</li>
<li>git help submodule</li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li>npm help json</li><li>git help submodule</li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -46,5 +42,5 @@ dependencies into the submodule folder.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-submodule &mdash; npm@1.4.9</p> <p id="footer">npm-submodule &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-tag.html

@ -10,27 +10,21 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-tag.html">npm-tag</a></h1> <p>Tag a published version</p> <h1><a href="../api/npm-tag.html">npm-tag</a></h1> <p>Tag a published version</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.tag(package@version, tag, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.tag(package@version, tag, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Tags the specified version of the package with the specified tag, or the <p>Tags the specified version of the package with the specified tag, or the
<code>--tag</code> config if not specified.</p> <code>--tag</code> config if not specified.</p>
<p>The &#39;package@version&#39; is an array of strings, but only the first two elements are <p>The &#39;package@version&#39; is an array of strings, but only the first two elements are
currently used.</p> currently used.</p>
<p>The first element must be in the form package@version, where package <p>The first element must be in the form package@version, where package
is the package name and version is the version number (much like installing a is the package name and version is the version number (much like installing a
specific version).</p> specific version).</p>
<p>The second element is the name of the tag to tag this version with. If this <p>The second element is the name of the tag to tag this version with. If this
parameter is missing or falsey (empty), the default froom the config will be parameter is missing or falsey (empty), the default froom the config will be
used. For more information about how to set this config, check used. For more information about how to set this config, check
<code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p> <code>man 3 npm-config</code> for programmatic usage or <code>man npm-config</code> for cli usage.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -42,5 +36,5 @@ used. For more information about how to set this config, check
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-tag &mdash; npm@1.4.9</p> <p id="footer">npm-tag &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-test.html

@ -10,20 +10,15 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-test.html">npm-test</a></h1> <p>Test a package</p> <h1><a href="../api/npm-test.html">npm-test</a></h1> <p>Test a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code> npm.commands.test(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code> npm.commands.test(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;test&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;test&quot; script, if one was provided.</p>
<p>To run tests as a condition of installation, set the <code>npat</code> config to <p>To run tests as a condition of installation, set the <code>npat</code> config to
true.</p> true.</p>
<p>npm can run tests on multiple packages. Just specify multiple packages <p>npm can run tests on multiple packages. Just specify multiple packages
in the <code>packages</code> parameter.</p> in the <code>packages</code> parameter.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -35,5 +30,5 @@ in the <code>packages</code> parameter.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-test &mdash; npm@1.4.9</p> <p id="footer">npm-test &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-uninstall.html

@ -10,20 +10,15 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-uninstall.html">npm-uninstall</a></h1> <p>uninstall a package programmatically</p> <h1><a href="../api/npm-uninstall.html">npm-uninstall</a></h1> <p>uninstall a package programmatically</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.uninstall(packages, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.uninstall(packages, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This acts much the same ways as uninstalling on the command-line.</p> <p>This acts much the same ways as uninstalling on the command-line.</p>
<p>The &#39;packages&#39; parameter is an array of strings. Each element in the array is <p>The &#39;packages&#39; parameter is an array of strings. Each element in the array is
the name of a package to be uninstalled.</p> the name of a package to be uninstalled.</p>
<p>Finally, &#39;callback&#39; is a function that will be called when all packages have been <p>Finally, &#39;callback&#39; is a function that will be called when all packages have been
uninstalled or when an error has been encountered.</p> uninstalled or when an error has been encountered.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -35,5 +30,5 @@ uninstalled or when an error has been encountered.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-uninstall &mdash; npm@1.4.9</p> <p id="footer">npm-uninstall &mdash; npm@1.4.10</p>

16
deps/npm/html/doc/api/npm-unpublish.html

@ -10,24 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p> <h1><a href="../api/npm-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.unpublish(package, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.unpublish(package, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This removes a package version from the registry, deleting its <p>This removes a package version from the registry, deleting its
entry and removing the tarball.</p> entry and removing the tarball.</p>
<p>The package parameter must be defined.</p> <p>The package parameter must be defined.</p>
<p>Only the first element in the package parameter is used. If there is no first <p>Only the first element in the package parameter is used. If there is no first
element, then npm assumes that the package at the current working directory element, then npm assumes that the package at the current working directory
is what is meant.</p> is what is meant.</p>
<p>If no version is specified, or if all versions are removed then <p>If no version is specified, or if all versions are removed then
the root package entry is removed from the registry entirely.</p> the root package entry is removed from the registry entirely.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -39,5 +33,5 @@ the root package entry is removed from the registry entirely.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-unpublish &mdash; npm@1.4.9</p> <p id="footer">npm-unpublish &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/api/npm-update.html

@ -10,16 +10,12 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-update.html">npm-update</a></h1> <p>Update a package</p> <h1><a href="../api/npm-update.html">npm-update</a></h1> <p>Update a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.update(packages, callback)
</code></pre><h1 id="description">DESCRIPTION</h1>
<pre><code>npm.commands.update(packages, callback)</code></pre>
<h1>DESCRIPTION</h1>
<p>Updates a package, upgrading it to the latest version. It also installs any missing packages.</p> <p>Updates a package, upgrading it to the latest version. It also installs any missing packages.</p>
<p>The &#39;packages&#39; argument is an array of packages to update. The &#39;callback&#39; parameter will be called when done or when an error occurs.</p> <p>The &#39;packages&#39; argument is an array of packages to update. The &#39;callback&#39; parameter will be called when done or when an error occurs.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -31,5 +27,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-update &mdash; npm@1.4.9</p> <p id="footer">npm-update &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-version.html

@ -10,22 +10,17 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-version.html">npm-version</a></h1> <p>Bump a package version</p> <h1><a href="../api/npm-version.html">npm-version</a></h1> <p>Bump a package version</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.version(newversion, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.version(newversion, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Run this in a package directory to bump the version and write the new <p>Run this in a package directory to bump the version and write the new
data back to the package.json file.</p> data back to the package.json file.</p>
<p>If run in a git repo, it will also create a version commit and tag, and <p>If run in a git repo, it will also create a version commit and tag, and
fail if the repo is not clean.</p> fail if the repo is not clean.</p>
<p>Like all other commands, this function takes a string array as its first <p>Like all other commands, this function takes a string array as its first
parameter. The difference, however, is this function will fail if it does parameter. The difference, however, is this function will fail if it does
not have exactly one element. The only element should be a version number.</p> not have exactly one element. The only element should be a version number.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -37,5 +32,5 @@ not have exactly one element. The only element should be a version number.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-version &mdash; npm@1.4.9</p> <p id="footer">npm-version &mdash; npm@1.4.10</p>

77
deps/npm/html/doc/api/npm-view.html

@ -10,97 +10,66 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-view.html">npm-view</a></h1> <p>View registry info</p> <h1><a href="../api/npm-view.html">npm-view</a></h1> <p>View registry info</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.view(args, [silent,] callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.view(args, [silent,] callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command shows data about a package and prints it to the stream <p>This command shows data about a package and prints it to the stream
referenced by the <code>outfd</code> config, which defaults to stdout.</p> referenced by the <code>outfd</code> config, which defaults to stdout.</p>
<p>The &quot;args&quot; parameter is an ordered list that closely resembles the command-line <p>The &quot;args&quot; parameter is an ordered list that closely resembles the command-line
usage. The elements should be ordered such that the first element is usage. The elements should be ordered such that the first element is
the package and version (package@version). The version is optional. After that, the package and version (package@version). The version is optional. After that,
the rest of the parameters are fields with optional subfields (&quot;field.subfield&quot;) the rest of the parameters are fields with optional subfields (&quot;field.subfield&quot;)
which can be used to get only the information desired from the registry.</p> which can be used to get only the information desired from the registry.</p>
<p>The callback will be passed all of the data returned by the query.</p> <p>The callback will be passed all of the data returned by the query.</p>
<p>For example, to get the package registry entry for the <code>connect</code> package, <p>For example, to get the package registry entry for the <code>connect</code> package,
you can do this:</p> you can do this:</p>
<pre><code>npm.commands.view([&quot;connect&quot;], callback)
<pre><code>npm.commands.view([&quot;connect&quot;], callback)</code></pre> </code></pre><p>If no version is specified, &quot;latest&quot; is assumed.</p>
<p>If no version is specified, &quot;latest&quot; is assumed.</p>
<p>Field names can be specified after the package descriptor. <p>Field names can be specified after the package descriptor.
For example, to show the dependencies of the <code>ronn</code> package at version For example, to show the dependencies of the <code>ronn</code> package at version
0.3.5, you could do the following:</p> 0.3.5, you could do the following:</p>
<pre><code>npm.commands.view([&quot;ronn@0.3.5&quot;, &quot;dependencies&quot;], callback)
<pre><code>npm.commands.view([&quot;ronn@0.3.5&quot;, &quot;dependencies&quot;], callback)</code></pre> </code></pre><p>You can view child field by separating them with a period.
<p>You can view child field by separating them with a period.
To view the git repository URL for the latest version of npm, you could To view the git repository URL for the latest version of npm, you could
do this:</p> do this:</p>
<pre><code>npm.commands.view([&quot;npm&quot;, &quot;repository.url&quot;], callback)
<pre><code>npm.commands.view([&quot;npm&quot;, &quot;repository.url&quot;], callback)</code></pre> </code></pre><p>For fields that are arrays, requesting a non-numeric field will return
<p>For fields that are arrays, requesting a non-numeric field will return
all of the values from the objects in the list. For example, to get all all of the values from the objects in the list. For example, to get all
the contributor names for the &quot;express&quot; project, you can do this:</p> the contributor names for the &quot;express&quot; project, you can do this:</p>
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors.email&quot;], callback)
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors.email&quot;], callback)</code></pre> </code></pre><p>You may also use numeric indices in square braces to specifically select
<p>You may also use numeric indices in square braces to specifically select
an item in an array field. To just get the email address of the first an item in an array field. To just get the email address of the first
contributor in the list, you can do this:</p> contributor in the list, you can do this:</p>
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors[0].email&quot;], callback)
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors[0].email&quot;], callback)</code></pre> </code></pre><p>Multiple fields may be specified, and will be printed one after another.
<p>Multiple fields may be specified, and will be printed one after another.
For exampls, to get all the contributor names and email addresses, you For exampls, to get all the contributor names and email addresses, you
can do this:</p> can do this:</p>
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors.name&quot;, &quot;contributors.email&quot;], callback)
<pre><code>npm.commands.view([&quot;express&quot;, &quot;contributors.name&quot;, &quot;contributors.email&quot;], callback)</code></pre> </code></pre><p>&quot;Person&quot; fields are shown as a string if they would be shown as an
<p>&quot;Person&quot; fields are shown as a string if they would be shown as an
object. So, for example, this will show the list of npm contributors in object. So, for example, this will show the list of npm contributors in
the shortened string format. (See <code>npm help json</code> for more on this.)</p> the shortened string format. (See <code>npm help json</code> for more on this.)</p>
<pre><code>npm.commands.view([&quot;npm&quot;, &quot;contributors&quot;], callback)
<pre><code>npm.commands.view([&quot;npm&quot;, &quot;contributors&quot;], callback)</code></pre> </code></pre><p>If a version range is provided, then data will be printed for every
<p>If a version range is provided, then data will be printed for every
matching version of the package. This will show which version of jsdom matching version of the package. This will show which version of jsdom
was required by each matching version of yui3:</p> was required by each matching version of yui3:</p>
<pre><code>npm.commands.view([&quot;yui3@&#39;&gt;0.5.4&#39;&quot;, &quot;dependencies.jsdom&quot;], callback)
<pre><code>npm.commands.view([&quot;yui3@&#39;&gt;0.5.4&#39;&quot;, &quot;dependencies.jsdom&quot;], callback)</code></pre> </code></pre><h2 id="output">OUTPUT</h2>
<h2 id="OUTPUT">OUTPUT</h2>
<p>If only a single string field for a single version is output, then it <p>If only a single string field for a single version is output, then it
will not be colorized or quoted, so as to enable piping the output to will not be colorized or quoted, so as to enable piping the output to
another command.</p> another command.</p>
<p>If the version range matches multiple versions, than each printed value <p>If the version range matches multiple versions, than each printed value
will be prefixed with the version it applies to.</p> will be prefixed with the version it applies to.</p>
<p>If multiple fields are requested, than each of them are prefixed with <p>If multiple fields are requested, than each of them are prefixed with
the field name.</p> the field name.</p>
<p>Console output can be disabled by setting the &#39;silent&#39; parameter to true.</p> <p>Console output can be disabled by setting the &#39;silent&#39; parameter to true.</p>
<h2 id="return-value">RETURN VALUE</h2>
<h2 id="RETURN-VALUE">RETURN VALUE</h2>
<p>The data returned will be an object in this formation:</p> <p>The data returned will be an object in this formation:</p>
<pre><code>{ &lt;version&gt;: <pre><code>{ &lt;version&gt;:
{ &lt;field&gt;: &lt;value&gt; { &lt;field&gt;: &lt;value&gt;
, ... } , ... }
, ... }</code></pre> , ... }
</code></pre><p>corresponding to the list of fields selected.</p>
<p>corresponding to the list of fields selected.</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -112,5 +81,5 @@ the field name.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-view &mdash; npm@1.4.9</p> <p id="footer">npm-view &mdash; npm@1.4.10</p>

15
deps/npm/html/doc/api/npm-whoami.html

@ -10,19 +10,14 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm-whoami.html">npm-whoami</a></h1> <p>Display npm username</p> <h1><a href="../api/npm-whoami.html">npm-whoami</a></h1> <p>Display npm username</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm.commands.whoami(args, callback)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm.commands.whoami(args, callback)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the <code>username</code> config to standard output.</p> <p>Print the <code>username</code> config to standard output.</p>
<p>&#39;args&#39; is never used and callback is never called with data. <p>&#39;args&#39; is never used and callback is never called with data.
&#39;args&#39; must be present or things will break.</p> &#39;args&#39; must be present or things will break.</p>
<p>This function is not useful programmatically</p> <p>This function is not useful programmatically</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -34,5 +29,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-whoami &mdash; npm@1.4.9</p> <p id="footer">npm-whoami &mdash; npm@1.4.10</p>

87
deps/npm/html/doc/api/npm.html

@ -10,9 +10,7 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../api/npm.html">npm</a></h1> <p>node package manager</p> <h1><a href="../api/npm.html">npm</a></h1> <p>node package manager</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>var npm = require(&quot;npm&quot;) <pre><code>var npm = require(&quot;npm&quot;)
npm.load([configObject, ]function (er, npm) { npm.load([configObject, ]function (er, npm) {
// use the npm object, now that it&#39;s loaded. // use the npm object, now that it&#39;s loaded.
@ -23,18 +21,13 @@ npm.load([configObject, ]function (er, npm) {
console.log(&quot;prefix = %s&quot;, npm.prefix) console.log(&quot;prefix = %s&quot;, npm.prefix)
npm.commands.install([&quot;package&quot;], cb) npm.commands.install([&quot;package&quot;], cb)
})</code></pre> })
</code></pre><h2 id="version">VERSION</h2>
<h2 id="VERSION">VERSION</h2> <p>1.4.10</p>
<h2 id="description">DESCRIPTION</h2>
<p>1.4.9</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This is the API documentation for npm. <p>This is the API documentation for npm.
To find documentation of the command line To find documentation of the command line
client, see <code><a href="../cli/npm.html">npm(1)</a></code>.</p> client, see <code><a href="../cli/npm.html">npm(1)</a></code>.</p>
<p>Prior to using npm&#39;s commands, <code>npm.load()</code> must be called. <p>Prior to using npm&#39;s commands, <code>npm.load()</code> must be called.
If you provide <code>configObject</code> as an object hash of top-level If you provide <code>configObject</code> as an object hash of top-level
configs, they override the values stored in the various config configs, they override the values stored in the various config
@ -42,58 +35,70 @@ locations. In the npm command line client, this set of configs
is parsed from the command line options. Additional configuration is parsed from the command line options. Additional configuration
params are loaded from two configuration files. See <code><a href="../cli/npm-config.html">npm-config(1)</a></code>, params are loaded from two configuration files. See <code><a href="../cli/npm-config.html">npm-config(1)</a></code>,
<code><a href="../misc/npm-config.html">npm-config(7)</a></code>, and <code><a href="../files/npmrc.html">npmrc(5)</a></code> for more information.</p> <code><a href="../misc/npm-config.html">npm-config(7)</a></code>, and <code><a href="../files/npmrc.html">npmrc(5)</a></code> for more information.</p>
<p>After that, each of the functions are accessible in the <p>After that, each of the functions are accessible in the
commands object: <code>npm.commands.&lt;cmd&gt;</code>. See <code><a href="../misc/npm-index.html">npm-index(7)</a></code> for a list of commands object: <code>npm.commands.&lt;cmd&gt;</code>. See <code><a href="../misc/npm-index.html">npm-index(7)</a></code> for a list of
all possible commands.</p> all possible commands.</p>
<p>All commands on the command object take an <strong>array</strong> of positional argument <p>All commands on the command object take an <strong>array</strong> of positional argument
<strong>strings</strong>. The last argument to any function is a callback. Some <strong>strings</strong>. The last argument to any function is a callback. Some
commands take other optional arguments.</p> commands take other optional arguments.</p>
<p>Configs cannot currently be set on a per function basis, as each call to <p>Configs cannot currently be set on a per function basis, as each call to
npm.config.set will change the value for <em>all</em> npm commands in that process.</p> npm.config.set will change the value for <em>all</em> npm commands in that process.</p>
<p>To find API documentation for a specific command, run the <code>npm apihelp</code> <p>To find API documentation for a specific command, run the <code>npm apihelp</code>
command.</p> command.</p>
<h2 id="methods-and-properties">METHODS AND PROPERTIES</h2>
<h2 id="METHODS-AND-PROPERTIES">METHODS AND PROPERTIES</h2> <ul>
<li><p><code>npm.load(configs, cb)</code></p>
<ul><li><p><code>npm.load(configs, cb)</code></p><p>Load the configuration params, and call the <code>cb</code> function once the <p> Load the configuration params, and call the <code>cb</code> function once the
globalconfig and userconfig files have been loaded as well, or on globalconfig and userconfig files have been loaded as well, or on
nextTick if they&#39;ve already been loaded.</p></li><li><p><code>npm.config</code></p><p>An object for accessing npm configuration parameters.</p><ul><li><p><code>npm.config.get(key)</code></p></li><li><code>npm.config.set(key, val)</code></li><li><p><code>npm.config.del(key)</code></p></li></ul></li><li><p><code>npm.dir</code> or <code>npm.root</code></p><p>The <code>node_modules</code> directory where npm will operate.</p></li><li><p><code>npm.prefix</code></p><p>The prefix where npm is operating. (Most often the current working nextTick if they&#39;ve already been loaded.</p>
directory.)</p></li><li><p><code>npm.cache</code></p><p>The place where npm keeps JSON and tarballs it fetches from the </li>
registry (or uploads to the registry).</p></li><li><p><code>npm.tmp</code></p><p>npm&#39;s temporary working directory.</p></li><li><p><code>npm.deref</code></p><p>Get the &quot;real&quot; name for a command that has either an alias or <li><p><code>npm.config</code></p>
abbreviation.</p></li></ul> <p> An object for accessing npm configuration parameters.</p>
<ul>
<h2 id="MAGIC">MAGIC</h2> <li><code>npm.config.get(key)</code></li>
<li><code>npm.config.set(key, val)</code></li>
<li><code>npm.config.del(key)</code></li>
</ul>
</li>
<li><p><code>npm.dir</code> or <code>npm.root</code></p>
<p> The <code>node_modules</code> directory where npm will operate.</p>
</li>
<li><p><code>npm.prefix</code></p>
<p> The prefix where npm is operating. (Most often the current working
directory.)</p>
</li>
<li><p><code>npm.cache</code></p>
<p> The place where npm keeps JSON and tarballs it fetches from the
registry (or uploads to the registry).</p>
</li>
<li><p><code>npm.tmp</code></p>
<p> npm&#39;s temporary working directory.</p>
</li>
<li><p><code>npm.deref</code></p>
<p> Get the &quot;real&quot; name for a command that has either an alias or
abbreviation.</p>
</li>
</ul>
<h2 id="magic">MAGIC</h2>
<p>For each of the methods in the <code>npm.commands</code> hash, a method is added to <p>For each of the methods in the <code>npm.commands</code> hash, a method is added to
the npm object, which takes a set of positional string arguments rather the npm object, which takes a set of positional string arguments rather
than an array and a callback.</p> than an array and a callback.</p>
<p>If the last argument is a callback, then it will use the supplied <p>If the last argument is a callback, then it will use the supplied
callback. However, if no callback is provided, then it will print out callback. However, if no callback is provided, then it will print out
the error or results.</p> the error or results.</p>
<p>For example, this would work in a node repl:</p> <p>For example, this would work in a node repl:</p>
<pre><code>&gt; npm = require(&quot;npm&quot;) <pre><code>&gt; npm = require(&quot;npm&quot;)
&gt; npm.load() // wait a sec... &gt; npm.load() // wait a sec...
&gt; npm.install(&quot;dnode&quot;, &quot;express&quot;)</code></pre> &gt; npm.install(&quot;dnode&quot;, &quot;express&quot;)
</code></pre><p>Note that that <em>won&#39;t</em> work in a node program, since the <code>install</code>
<p>Note that that <em>won&#39;t</em> work in a node program, since the <code>install</code>
method will get called before the configuration load is completed.</p> method will get called before the configuration load is completed.</p>
<h2 id="abbrevs">ABBREVS</h2>
<h2 id="ABBREVS">ABBREVS</h2>
<p>In order to support <code>npm ins foo</code> instead of <code>npm install foo</code>, the <p>In order to support <code>npm ins foo</code> instead of <code>npm install foo</code>, the
<code>npm.commands</code> object has a set of abbreviations as well as the full <code>npm.commands</code> object has a set of abbreviations as well as the full
method names. Use the <code>npm.deref</code> method to find the real name.</p> method names. Use the <code>npm.deref</code> method to find the real name.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>var cmd = npm.deref(&quot;unp&quot;) // cmd === &quot;unpublish&quot;
<pre><code>var cmd = npm.deref(&quot;unp&quot;) // cmd === &quot;unpublish&quot;</code></pre> </code></pre>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -105,5 +110,5 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm &mdash; npm@1.4.9</p> <p id="footer">npm &mdash; npm@1.4.10</p>

36
deps/npm/html/doc/cli/npm-adduser.html

@ -10,37 +10,31 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-adduser.html">npm-adduser</a></h1> <p>Add a registry user account</p> <h1><a href="../cli/npm-adduser.html">npm-adduser</a></h1> <p>Add a registry user account</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm adduser
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm adduser</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Create or verify a user named <code>&lt;username&gt;</code> in the npm registry, and <p>Create or verify a user named <code>&lt;username&gt;</code> in the npm registry, and
save the credentials to the <code>.npmrc</code> file.</p> save the credentials to the <code>.npmrc</code> file.</p>
<p>The username, password, and email are read in from prompts.</p> <p>The username, password, and email are read in from prompts.</p>
<p>You may use this command to change your email address, but not username <p>You may use this command to change your email address, but not username
or password.</p> or password.</p>
<p>To reset your password, go to <a href="https://npmjs.org/forgot">https://npmjs.org/forgot</a></p> <p>To reset your password, go to <a href="https://npmjs.org/forgot">https://npmjs.org/forgot</a></p>
<p>You may use this command multiple times with the same user account to <p>You may use this command multiple times with the same user account to
authorize on a new machine.</p> authorize on a new machine.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="registry">registry</h3> <h3 id="registry">registry</h3>
<p>Default: <a href="http://registry.npmjs.org/">http://registry.npmjs.org/</a></p>
<p>Default: http://registry.npmjs.org/</p>
<p>The base URL of the npm package registry.</p> <p>The base URL of the npm package registry.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<li><a href="../cli/npm-owner.html">npm-owner(1)</a></li>
<li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</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><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -52,5 +46,5 @@ authorize on a new machine.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-adduser &mdash; npm@1.4.9</p> <p id="footer">npm-adduser &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-bin.html

@ -10,18 +10,20 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-bin.html">npm-bin</a></h1> <p>Display npm bin folder</p> <h1><a href="../cli/npm-bin.html">npm-bin</a></h1> <p>Display npm bin folder</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm bin
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm bin</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the folder where npm will install executables.</p> <p>Print the folder where npm will install executables.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li>
<li><a href="../cli/npm-root.html">npm-root(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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-root.html">npm-root(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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +35,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-bin &mdash; npm@1.4.9</p> <p id="footer">npm-bin &mdash; npm@1.4.10</p>

45
deps/npm/html/doc/cli/npm-bugs.html

@ -10,36 +10,39 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-bugs.html">npm-bugs</a></h1> <p>Bugs for a package in a web browser maybe</p> <h1><a href="../cli/npm-bugs.html">npm-bugs</a></h1> <p>Bugs for a package in a web browser maybe</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm bugs &lt;pkgname&gt; <pre><code>npm bugs &lt;pkgname&gt;
npm bugs (with no args in a package dir)</code></pre> npm bugs (with no args in a package dir)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
bug tracker URL, and then tries to open it using the <code>--browser</code> bug tracker URL, and then tries to open it using the <code>--browser</code>
config param. If no package name is provided, it will search for config param. If no package name is provided, it will search for
a <code>package.json</code> in the current folder and use the <code>name</code> property.</p> a <code>package.json</code> in the current folder and use the <code>name</code> property.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="browser">browser</h3> <h3 id="browser">browser</h3>
<ul>
<ul><li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li><li>Type: String</li></ul> <li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li>
<li>Type: String</li>
</ul>
<p>The browser that is called by the <code>npm bugs</code> command to open websites.</p> <p>The browser that is called by the <code>npm bugs</code> command to open websites.</p>
<h3 id="registry">registry</h3> <h3 id="registry">registry</h3>
<ul>
<ul><li>Default: https://registry.npmjs.org/</li><li>Type: url</li></ul> <li>Default: <a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a></li>
<li>Type: url</li>
</ul>
<p>The base URL of the npm package registry.</p> <p>The base URL of the npm package registry.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-docs.html">npm-docs(1)</a></li>
<li><a href="../cli/npm-view.html">npm-view(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<li><a href="../files/package.json.html">package.json(5)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</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><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -51,5 +54,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-bugs &mdash; npm@1.4.9</p> <p id="footer">npm-bugs &mdash; npm@1.4.10</p>

30
deps/npm/html/doc/cli/npm-build.html

@ -10,23 +10,23 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-build.html">npm-build</a></h1> <p>Build a package</p> <h1><a href="../cli/npm-build.html">npm-build</a></h1> <p>Build a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm build &lt;package-folder&gt;
</code></pre><ul>
<pre><code>npm build &lt;package-folder&gt;</code></pre> <li><code>&lt;package-folder&gt;</code>:
A folder containing a <code>package.json</code> file in its root.</li>
<ul><li><code>&lt;package-folder&gt;</code>: </ul>
A folder containing a <code>package.json</code> file in its root.</li></ul> <h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This is the plumbing command called by <code>npm link</code> and <code>npm install</code>.</p> <p>This is the plumbing command called by <code>npm link</code> and <code>npm install</code>.</p>
<p>It should generally not be called directly.</p> <p>It should generally not be called directly.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-link.html">npm-link(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +38,5 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-build &mdash; npm@1.4.9</p> <p id="footer">npm-build &mdash; npm@1.4.10</p>

14
deps/npm/html/doc/cli/npm-bundle.html

@ -10,18 +10,16 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-bundle.html">npm-bundle</a></h1> <p>REMOVED</p> <h1><a href="../cli/npm-bundle.html">npm-bundle</a></h1> <p>REMOVED</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>The <code>npm bundle</code> command has been removed in 1.0, for the simple reason <p>The <code>npm bundle</code> command has been removed in 1.0, for the simple reason
that it is no longer necessary, as the default behavior is now to that it is no longer necessary, as the default behavior is now to
install packages into the local space.</p> install packages into the local space.</p>
<p>Just use <code>npm install</code> now to do what <code>npm bundle</code> used to do.</p> <p>Just use <code>npm install</code> now to do what <code>npm bundle</code> used to do.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +31,5 @@ install packages into the local space.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-bundle &mdash; npm@1.4.9</p> <p id="footer">npm-bundle &mdash; npm@1.4.10</p>

66
deps/npm/html/doc/cli/npm-cache.html

@ -10,9 +10,7 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-cache.html">npm-cache</a></h1> <p>Manipulates packages cache</p> <h1><a href="../cli/npm-cache.html">npm-cache</a></h1> <p>Manipulates packages cache</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm cache add &lt;tarball file&gt; <pre><code>npm cache add &lt;tarball file&gt;
npm cache add &lt;folder&gt; npm cache add &lt;folder&gt;
npm cache add &lt;tarball url&gt; npm cache add &lt;tarball url&gt;
@ -20,54 +18,60 @@ npm cache add &lt;name&gt;@&lt;version&gt;
npm cache ls [&lt;path&gt;] npm cache ls [&lt;path&gt;]
npm cache clean [&lt;path&gt;]</code></pre> npm cache clean [&lt;path&gt;]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Used to add, list, or clear the npm cache folder.</p> <p>Used to add, list, or clear the npm cache folder.</p>
<ul>
<ul><li><p>add: <li><p>add:
Add the specified package to the local cache. This command is primarily Add the specified package to the local cache. This command is primarily
intended to be used internally by npm, but it can provide a way to intended to be used internally by npm, but it can provide a way to
add data to the local installation cache explicitly.</p></li><li><p>ls: add data to the local installation cache explicitly.</p>
</li>
<li><p>ls:
Show the data in the cache. Argument is a path to show in the cache Show the data in the cache. Argument is a path to show in the cache
folder. Works a bit like the <code>find</code> program, but limited by the folder. Works a bit like the <code>find</code> program, but limited by the
<code>depth</code> config.</p></li><li><p>clean: <code>depth</code> config.</p>
</li>
<li><p>clean:
Delete data out of the cache folder. If an argument is provided, then Delete data out of the cache folder. If an argument is provided, then
it specifies a subpath to delete. If no argument is provided, then it specifies a subpath to delete. If no argument is provided, then
the entire cache is cleared.</p></li></ul> the entire cache is cleared.</p>
</li>
<h2 id="DETAILS">DETAILS</h2> </ul>
<h2 id="details">DETAILS</h2>
<p>npm stores cache data in the directory specified in <code>npm config get cache</code>. <p>npm stores cache data in the directory specified in <code>npm config get cache</code>.
For each package that is added to the cache, three pieces of information are For each package that is added to the cache, three pieces of information are
stored in <code>{cache}/{name}/{version}</code>:</p> stored in <code>{cache}/{name}/{version}</code>:</p>
<ul>
<ul><li>.../package/: <li>.../package/:
A folder containing the package contents as they appear in the tarball.</li><li>.../package.json: A folder containing the package contents as they appear in the tarball.</li>
The package.json file, as npm sees it, with overlays applied and a _id attribute.</li><li>.../package.tgz: <li>.../package.json:
The tarball for that version.</li></ul> The package.json file, as npm sees it, with overlays applied and a _id attribute.</li>
<li>.../package.tgz:
The tarball for that version.</li>
</ul>
<p>Additionally, whenever a registry request is made, a <code>.cache.json</code> file <p>Additionally, whenever a registry request is made, a <code>.cache.json</code> file
is placed at the corresponding URI, to store the ETag and the requested is placed at the corresponding URI, to store the ETag and the requested
data.</p> data.</p>
<p>Commands that make non-essential registry requests (such as <code>search</code> and <p>Commands that make non-essential registry requests (such as <code>search</code> and
<code>view</code>, or the completion scripts) generally specify a minimum timeout. <code>view</code>, or the completion scripts) generally specify a minimum timeout.
If the <code>.cache.json</code> file is younger than the specified timeout, then If the <code>.cache.json</code> file is younger than the specified timeout, then
they do not make an HTTP request to the registry.</p> they do not make an HTTP request to the registry.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="cache">cache</h3> <h3 id="cache">cache</h3>
<p>Default: <code>~/.npm</code> on Posix, or <code>%AppData%/npm-cache</code> on Windows.</p> <p>Default: <code>~/.npm</code> on Posix, or <code>%AppData%/npm-cache</code> on Windows.</p>
<p>The root cache folder.</p> <p>The root cache folder.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<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>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../cli/npm-pack.html">npm-pack(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><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><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-pack.html">npm-pack(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -79,5 +83,5 @@ they do not make an HTTP request to the registry.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-cache &mdash; npm@1.4.9</p> <p id="footer">npm-cache &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-completion.html

@ -10,31 +10,27 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-completion.html">npm-completion</a></h1> <p>Tab Completion for npm</p> <h1><a href="../cli/npm-completion.html">npm-completion</a></h1> <p>Tab Completion for npm</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>. &lt;(npm completion)
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>. &lt;(npm completion)</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Enables tab-completion in all npm commands.</p> <p>Enables tab-completion in all npm commands.</p>
<p>The synopsis above <p>The synopsis above
loads the completions into your current shell. Adding it to loads the completions into your current shell. Adding it to
your ~/.bashrc or ~/.zshrc will make the completions available your ~/.bashrc or ~/.zshrc will make the completions available
everywhere.</p> everywhere.</p>
<p>You may of course also pipe the output of npm completion to a file <p>You may of course also pipe the output of npm completion to a file
such as <code>/usr/local/etc/bash_completion.d/npm</code> if you have a system such as <code>/usr/local/etc/bash_completion.d/npm</code> if you have a system
that will read that file for you.</p> that will read that file for you.</p>
<p>When <code>COMP_CWORD</code>, <code>COMP_LINE</code>, and <code>COMP_POINT</code> are defined in the <p>When <code>COMP_CWORD</code>, <code>COMP_LINE</code>, and <code>COMP_POINT</code> are defined in the
environment, <code>npm completion</code> acts in &quot;plumbing mode&quot;, and outputs environment, <code>npm completion</code> acts in &quot;plumbing mode&quot;, and outputs
completions based on the arguments.</p> completions based on the arguments.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-developers.html">npm-developers(7)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm.html">npm(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -46,5 +42,5 @@ completions based on the arguments.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-completion &mdash; npm@1.4.9</p> <p id="footer">npm-completion &mdash; npm@1.4.10</p>

66
deps/npm/html/doc/cli/npm-config.html

@ -10,9 +10,7 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-config.html">npm-config</a></h1> <p>Manage the npm configuration files</p> <h1><a href="../cli/npm-config.html">npm-config</a></h1> <p>Manage the npm configuration files</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm config set &lt;key&gt; &lt;value&gt; [--global] <pre><code>npm config set &lt;key&gt; &lt;value&gt; [--global]
npm config get &lt;key&gt; npm config get &lt;key&gt;
npm config delete &lt;key&gt; npm config delete &lt;key&gt;
@ -20,61 +18,43 @@ npm config list
npm config edit npm config edit
npm c [set|get|delete|list] npm c [set|get|delete|list]
npm get &lt;key&gt; npm get &lt;key&gt;
npm set &lt;key&gt; &lt;value&gt; [--global]</code></pre> npm set &lt;key&gt; &lt;value&gt; [--global]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm gets its config settings from the command line, environment <p>npm gets its config settings from the command line, environment
variables, <code>npmrc</code> files, and in some cases, the <code>package.json</code> file.</p> variables, <code>npmrc</code> files, and in some cases, the <code>package.json</code> file.</p>
<p>See <a href="../files/npmrc.html">npmrc(5)</a> for more information about the npmrc files.</p> <p>See <a href="../files/npmrc.html">npmrc(5)</a> for more information about the npmrc files.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for a more thorough discussion of the mechanisms <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for a more thorough discussion of the mechanisms
involved.</p> involved.</p>
<p>The <code>npm config</code> command can be used to update and edit the contents <p>The <code>npm config</code> command can be used to update and edit the contents
of the user and global npmrc files.</p> of the user and global npmrc files.</p>
<h2 id="sub-commands">Sub-commands</h2>
<h2 id="Sub-commands">Sub-commands</h2>
<p>Config supports the following sub-commands:</p> <p>Config supports the following sub-commands:</p>
<h3 id="set">set</h3> <h3 id="set">set</h3>
<pre><code>npm config set key value
<pre><code>npm config set key value</code></pre> </code></pre><p>Sets the config key to the value.</p>
<p>Sets the config key to the value.</p>
<p>If value is omitted, then it sets it to &quot;true&quot;.</p> <p>If value is omitted, then it sets it to &quot;true&quot;.</p>
<h3 id="get">get</h3> <h3 id="get">get</h3>
<pre><code>npm config get key
<pre><code>npm config get key</code></pre> </code></pre><p>Echo the config value to stdout.</p>
<p>Echo the config value to stdout.</p>
<h3 id="list">list</h3> <h3 id="list">list</h3>
<pre><code>npm config list
<pre><code>npm config list</code></pre> </code></pre><p>Show all the config settings.</p>
<p>Show all the config settings.</p>
<h3 id="delete">delete</h3> <h3 id="delete">delete</h3>
<pre><code>npm config delete key
<pre><code>npm config delete key</code></pre> </code></pre><p>Deletes the key from all configuration files.</p>
<p>Deletes the key from all configuration files.</p>
<h3 id="edit">edit</h3> <h3 id="edit">edit</h3>
<pre><code>npm config edit
<pre><code>npm config edit</code></pre> </code></pre><p>Opens the config file in an editor. Use the <code>--global</code> flag to edit the
<p>Opens the config file in an editor. Use the <code>--global</code> flag to edit the
global config.</p> global config.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../misc/npm-config.html">npm-config(7)</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../files/npmrc.html">npmrc(5)</a></li>
<li><a href="../cli/npm.html">npm(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -86,5 +66,5 @@ global config.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-config &mdash; npm@1.4.9</p> <p id="footer">npm-config &mdash; npm@1.4.10</p>

40
deps/npm/html/doc/cli/npm-dedupe.html

@ -10,60 +10,48 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-dedupe.html">npm-dedupe</a></h1> <p>Reduce duplication</p> <h1><a href="../cli/npm-dedupe.html">npm-dedupe</a></h1> <p>Reduce duplication</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm dedupe [package names...] <pre><code>npm dedupe [package names...]
npm ddp [package names...]</code></pre> npm ddp [package names...]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Searches the local package tree and attempts to simplify the overall <p>Searches the local package tree and attempts to simplify the overall
structure by moving dependencies further up the tree, where they can structure by moving dependencies further up the tree, where they can
be more effectively shared by multiple dependent packages.</p> be more effectively shared by multiple dependent packages.</p>
<p>For example, consider this dependency graph:</p> <p>For example, consider this dependency graph:</p>
<pre><code>a <pre><code>a
+-- b &lt;-- depends on c@1.0.x +-- b &lt;-- depends on c@1.0.x
| `-- c@1.0.3 | `-- c@1.0.3
`-- d &lt;-- depends on c@~1.0.9 `-- d &lt;-- depends on c@~1.0.9
`-- c@1.0.10</code></pre> `-- c@1.0.10
</code></pre><p>In this case, <code><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></code> will transform the tree to:</p>
<p>In this case, <code><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></code> will transform the tree to:</p>
<pre><code>a <pre><code>a
+-- b +-- b
+-- d +-- d
`-- c@1.0.10</code></pre> `-- c@1.0.10
</code></pre><p>Because of the hierarchical nature of node&#39;s module lookup, b and d
<p>Because of the hierarchical nature of node&#39;s module lookup, b and d
will both get their dependency met by the single c package at the root will both get their dependency met by the single c package at the root
level of the tree.</p> level of the tree.</p>
<p>If a suitable version exists at the target location in the tree <p>If a suitable version exists at the target location in the tree
already, then it will be left untouched, but the other duplicates will already, then it will be left untouched, but the other duplicates will
be deleted.</p> be deleted.</p>
<p>If no suitable version can be found, then a warning is printed, and <p>If no suitable version can be found, then a warning is printed, and
nothing is done.</p> nothing is done.</p>
<p>If any arguments are supplied, then they are filters, and only the <p>If any arguments are supplied, then they are filters, and only the
named packages will be touched.</p> named packages will be touched.</p>
<p>Note that this operation transforms the dependency tree, and may <p>Note that this operation transforms the dependency tree, and may
result in packages getting updated versions, perhaps from the npm result in packages getting updated versions, perhaps from the npm
registry.</p> registry.</p>
<p>This feature is experimental, and may change in future versions.</p> <p>This feature is experimental, and may change in future versions.</p>
<p>The <code>--tag</code> argument will apply to all of the affected dependencies. If a <p>The <code>--tag</code> argument will apply to all of the affected dependencies. If a
tag with the given name exists, the tagged version is preferred over newer tag with the given name exists, the tagged version is preferred over newer
versions.</p> versions.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-ls.html">npm-ls(1)</a></li>
<li><a href="../cli/npm-update.html">npm-update(1)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -75,5 +63,5 @@ versions.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-dedupe &mdash; npm@1.4.9</p> <p id="footer">npm-dedupe &mdash; npm@1.4.10</p>

28
deps/npm/html/doc/cli/npm-deprecate.html

@ -10,29 +10,23 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-deprecate.html">npm-deprecate</a></h1> <p>Deprecate a version of a package</p> <h1><a href="../cli/npm-deprecate.html">npm-deprecate</a></h1> <p>Deprecate a version of a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm deprecate &lt;name&gt;[@&lt;version&gt;] &lt;message&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm deprecate &lt;name&gt;[@&lt;version&gt;] &lt;message&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will update the npm registry entry for a package, providing <p>This command will update the npm registry entry for a package, providing
a deprecation warning to all who attempt to install it.</p> a deprecation warning to all who attempt to install it.</p>
<p>It works on version ranges as well as specific versions, so you can do <p>It works on version ranges as well as specific versions, so you can do
something like this:</p> something like this:</p>
<pre><code>npm deprecate my-thing@&quot;&lt; 0.2.3&quot; &quot;critical bug fixed in v0.2.3&quot;
<pre><code>npm deprecate my-thing@&quot;&lt; 0.2.3&quot; &quot;critical bug fixed in v0.2.3&quot;</code></pre> </code></pre><p>Note that you must be the package owner to deprecate something. See the
<p>Note that you must be the package owner to deprecate something. See the
<code>owner</code> and <code>adduser</code> help topics.</p> <code>owner</code> and <code>adduser</code> help topics.</p>
<p>To un-deprecate a package, specify an empty string (<code>&quot;&quot;</code>) for the <code>message</code> argument.</p> <p>To un-deprecate a package, specify an empty string (<code>&quot;&quot;</code>) for the <code>message</code> argument.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -44,5 +38,5 @@ something like this:</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-deprecate &mdash; npm@1.4.9</p> <p id="footer">npm-deprecate &mdash; npm@1.4.10</p>

44
deps/npm/html/doc/cli/npm-docs.html

@ -10,39 +10,41 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-docs.html">npm-docs</a></h1> <p>Docs for a package in a web browser maybe</p> <h1><a href="../cli/npm-docs.html">npm-docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm docs [&lt;pkgname&gt; [&lt;pkgname&gt; ...]] <pre><code>npm docs [&lt;pkgname&gt; [&lt;pkgname&gt; ...]]
npm docs (with no args in a package dir) npm docs (with no args in a package dir)
npm home [&lt;pkgname&gt; [&lt;pkgname&gt; ...]] npm home [&lt;pkgname&gt; [&lt;pkgname&gt; ...]]
npm home (with no args in a package dir)</code></pre> npm home (with no args in a package dir)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
documentation URL, and then tries to open it using the <code>--browser</code> documentation URL, and then tries to open it using the <code>--browser</code>
config param. You can pass multiple package names at once. If no config param. You can pass multiple package names at once. If no
package name is provided, it will search for a <code>package.json</code> in package name is provided, it will search for a <code>package.json</code> in
the current folder and use the <code>name</code> property.</p> the current folder and use the <code>name</code> property.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="browser">browser</h3> <h3 id="browser">browser</h3>
<ul>
<ul><li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li><li>Type: String</li></ul> <li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li>
<li>Type: String</li>
</ul>
<p>The browser that is called by the <code>npm docs</code> command to open websites.</p> <p>The browser that is called by the <code>npm docs</code> command to open websites.</p>
<h3 id="registry">registry</h3> <h3 id="registry">registry</h3>
<ul>
<ul><li>Default: https://registry.npmjs.org/</li><li>Type: url</li></ul> <li>Default: <a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a></li>
<li>Type: url</li>
</ul>
<p>The base URL of the npm package registry.</p> <p>The base URL of the npm package registry.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-view.html">npm-view(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<li><a href="../files/package.json.html">package.json(5)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</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><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -54,5 +56,5 @@ the current folder and use the <code>name</code> property.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-docs &mdash; npm@1.4.9</p> <p id="footer">npm-docs &mdash; npm@1.4.10</p>

39
deps/npm/html/doc/cli/npm-edit.html

@ -10,35 +10,34 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-edit.html">npm-edit</a></h1> <p>Edit an installed package</p> <h1><a href="../cli/npm-edit.html">npm-edit</a></h1> <p>Edit an installed package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm edit &lt;name&gt;[@&lt;version&gt;]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm edit &lt;name&gt;[@&lt;version&gt;]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Opens the package folder in the default editor (or whatever you&#39;ve <p>Opens the package folder in the default editor (or whatever you&#39;ve
configured as the npm <code>editor</code> config -- see <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.)</p> configured as the npm <code>editor</code> config -- see <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.)</p>
<p>After it has been edited, the package is rebuilt so as to pick up any <p>After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages.</p> changes in compiled packages.</p>
<p>For instance, you can do <code>npm install connect</code> to install connect <p>For instance, you can do <code>npm install connect</code> to install connect
into your package, and then <code>npm edit connect</code> to make a few into your package, and then <code>npm edit connect</code> to make a few
changes to your locally installed copy.</p> changes to your locally installed copy.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="editor">editor</h3> <h3 id="editor">editor</h3>
<ul>
<ul><li>Default: <code>EDITOR</code> environment variable if set, or <code>&quot;vi&quot;</code> on Posix, <li>Default: <code>EDITOR</code> environment variable if set, or <code>&quot;vi&quot;</code> on Posix,
or <code>&quot;notepad&quot;</code> on Windows.</li><li>Type: path</li></ul> or <code>&quot;notepad&quot;</code> on Windows.</li>
<li>Type: path</li>
</ul>
<p>The command to run for <code>npm edit</code> or <code>npm config edit</code>.</p> <p>The command to run for <code>npm edit</code> or <code>npm config edit</code>.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-explore.html">npm-explore(1)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-explore.html">npm-explore(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -50,5 +49,5 @@ or <code>&quot;notepad&quot;</code> on Windows.</li><li>Type: path</li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-edit &mdash; npm@1.4.9</p> <p id="footer">npm-edit &mdash; npm@1.4.10</p>

45
deps/npm/html/doc/cli/npm-explore.html

@ -10,38 +10,35 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-explore.html">npm-explore</a></h1> <p>Browse an installed package</p> <h1><a href="../cli/npm-explore.html">npm-explore</a></h1> <p>Browse an installed package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm explore &lt;name&gt;[@&lt;version&gt;] [ -- &lt;cmd&gt;]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm explore &lt;name&gt;[@&lt;version&gt;] [ -- &lt;cmd&gt;]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Spawn a subshell in the directory of the installed package specified.</p> <p>Spawn a subshell in the directory of the installed package specified.</p>
<p>If a command is specified, then it is run in the subshell, which then <p>If a command is specified, then it is run in the subshell, which then
immediately terminates.</p> immediately terminates.</p>
<p>This is particularly handy in the case of git submodules in the <p>This is particularly handy in the case of git submodules in the
<code>node_modules</code> folder:</p> <code>node_modules</code> folder:</p>
<pre><code>npm explore some-dependency -- git pull origin master
<pre><code>npm explore some-dependency -- git pull origin master</code></pre> </code></pre><p>Note that the package is <em>not</em> automatically rebuilt afterwards, so be
<p>Note that the package is <em>not</em> automatically rebuilt afterwards, so be
sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p> sure to use <code>npm rebuild &lt;pkg&gt;</code> if you make any changes.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="shell">shell</h3> <h3 id="shell">shell</h3>
<ul>
<ul><li>Default: SHELL environment variable, or &quot;bash&quot; on Posix, or &quot;cmd&quot; on <li>Default: SHELL environment variable, or &quot;bash&quot; on Posix, or &quot;cmd&quot; on
Windows</li><li>Type: path</li></ul> Windows</li>
<li>Type: path</li>
</ul>
<p>The shell to run for the <code>npm explore</code> command.</p> <p>The shell to run for the <code>npm explore</code> command.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-submodule.html">npm-submodule(1)</a></li>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-edit.html">npm-edit(1)</a></li>
<li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li>
<li><a href="../cli/npm-build.html">npm-build(1)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-submodule.html">npm-submodule(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-edit.html">npm-edit(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -53,5 +50,5 @@ Windows</li><li>Type: path</li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-explore &mdash; npm@1.4.9</p> <p id="footer">npm-explore &mdash; npm@1.4.10</p>

35
deps/npm/html/doc/cli/npm-help-search.html

@ -10,36 +10,31 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-help-search.html">npm-help-search</a></h1> <p>Search npm help documentation</p> <h1><a href="../cli/npm-help-search.html">npm-help-search</a></h1> <p>Search npm help documentation</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm help-search some search terms
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm help-search some search terms</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will search the npm markdown documentation files for the <p>This command will search the npm markdown documentation files for the
terms provided, and then list the results, sorted by relevance.</p> terms provided, and then list the results, sorted by relevance.</p>
<p>If only one result is found, then it will show that help topic.</p> <p>If only one result is found, then it will show that help topic.</p>
<p>If the argument to <code>npm help</code> is not a known help topic, then it will <p>If the argument to <code>npm help</code> is not a known help topic, then it will
call <code>help-search</code>. It is rarely if ever necessary to call this call <code>help-search</code>. It is rarely if ever necessary to call this
command directly.</p> command directly.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="long">long</h3> <h3 id="long">long</h3>
<ul>
<ul><li>Type: Boolean</li><li>Default false</li></ul> <li>Type: Boolean</li>
<li>Default false</li>
</ul>
<p>If true, the &quot;long&quot; flag will cause help-search to output context around <p>If true, the &quot;long&quot; flag will cause help-search to output context around
where the terms were found in the documentation.</p> where the terms were found in the documentation.</p>
<p>If false, then help-search will just list out the help topics found.</p> <p>If false, then help-search will just list out the help topics found.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm.html">npm(1)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm-help.html">npm-help(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -51,5 +46,5 @@ where the terms were found in the documentation.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-help-search &mdash; npm@1.4.9</p> <p id="footer">npm-help-search &mdash; npm@1.4.10</p>

41
deps/npm/html/doc/cli/npm-help.html

@ -10,34 +10,37 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-help.html">npm-help</a></h1> <p>Get help on npm</p> <h1><a href="../cli/npm-help.html">npm-help</a></h1> <p>Get help on npm</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm help &lt;topic&gt; <pre><code>npm help &lt;topic&gt;
npm help some search terms</code></pre> npm help some search terms
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If supplied a topic, then show the appropriate documentation page.</p> <p>If supplied a topic, then show the appropriate documentation page.</p>
<p>If the topic does not exist, or if multiple terms are provided, then run <p>If the topic does not exist, or if multiple terms are provided, then run
the <code>help-search</code> command to find a match. Note that, if <code>help-search</code> the <code>help-search</code> command to find a match. Note that, if <code>help-search</code>
finds a single subject, then it will run <code>help</code> on that topic, so unique finds a single subject, then it will run <code>help</code> on that topic, so unique
matches are equivalent to specifying a topic name.</p> matches are equivalent to specifying a topic name.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="viewer">viewer</h3> <h3 id="viewer">viewer</h3>
<ul>
<ul><li>Default: &quot;man&quot; on Posix, &quot;browser&quot; on Windows</li><li>Type: path</li></ul> <li>Default: &quot;man&quot; on Posix, &quot;browser&quot; on Windows</li>
<li>Type: path</li>
</ul>
<p>The program to use to view help content.</p> <p>The program to use to view help content.</p>
<p>Set to <code>&quot;browser&quot;</code> to view html help content in the default web browser.</p> <p>Set to <code>&quot;browser&quot;</code> to view html help content in the default web browser.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm.html">npm(1)</a></li>
<li><a href="../../doc/README.html">README</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</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>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../cli/npm-help-search.html">npm-help-search(1)</a></li>
<li><a href="../misc/npm-index.html">npm-index(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../../doc/README.html">README</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</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><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-help-search.html">npm-help-search(1)</a></li><li><a href="../misc/npm-index.html">npm-index(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -49,5 +52,5 @@ matches are equivalent to specifying a topic name.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-help &mdash; npm@1.4.9</p> <p id="footer">npm-help &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-init.html

@ -10,27 +10,23 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-init.html">npm-init</a></h1> <p>Interactively create a package.json file</p> <h1><a href="../cli/npm-init.html">npm-init</a></h1> <p>Interactively create a package.json file</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm init
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm init</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This will ask you a bunch of questions, and then write a package.json for you.</p> <p>This will ask you a bunch of questions, and then write a package.json for you.</p>
<p>It attempts to make reasonable guesses about what you want things to be set to, <p>It attempts to make reasonable guesses about what you want things to be set to,
and then writes a package.json file with the options you&#39;ve selected.</p> and then writes a package.json file with the options you&#39;ve selected.</p>
<p>If you already have a package.json file, it&#39;ll read that first, and default to <p>If you already have a package.json file, it&#39;ll read that first, and default to
the options in there.</p> the options in there.</p>
<p>It is strictly additive, so it does not delete options from your package.json <p>It is strictly additive, so it does not delete options from your package.json
without a really good reason to do so.</p> without a really good reason to do so.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="https://github.com/isaacs/init-package-json">https://github.com/isaacs/init-package-json</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../cli/npm-version.html">npm-version(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="https://github.com/isaacs/init-package-json">https://github.com/isaacs/init-package-json</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -42,5 +38,5 @@ without a really good reason to do so.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-init &mdash; npm@1.4.9</p> <p id="footer">npm-init &mdash; npm@1.4.10</p>

210
deps/npm/html/doc/cli/npm-install.html

@ -10,9 +10,7 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-install.html">npm-install</a></h1> <p>Install a package</p> <h1><a href="../cli/npm-install.html">npm-install</a></h1> <p>Install a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm install (with no args in a package dir) <pre><code>npm install (with no args in a package dir)
npm install &lt;tarball file&gt; npm install &lt;tarball file&gt;
npm install &lt;tarball url&gt; npm install &lt;tarball url&gt;
@ -21,92 +19,144 @@ npm install &lt;name&gt; [--save|--save-dev|--save-optional] [--save-exact]
npm install &lt;name&gt;@&lt;tag&gt; npm install &lt;name&gt;@&lt;tag&gt;
npm install &lt;name&gt;@&lt;version&gt; npm install &lt;name&gt;@&lt;version&gt;
npm install &lt;name&gt;@&lt;version range&gt; npm install &lt;name&gt;@&lt;version range&gt;
npm i (with any of the previous argument usage)</code></pre> npm i (with any of the previous argument usage)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command installs a package, and any packages that it depends on. If the <p>This command installs a package, and any packages that it depends on. If the
package has a shrinkwrap file, the installation of dependencies will be driven package has a shrinkwrap file, the installation of dependencies will be driven
by that. See <a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a>.</p> by that. See <a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a>.</p>
<p>A <code>package</code> is:</p> <p>A <code>package</code> is:</p>
<ul>
<ul><li>a) a folder containing a program described by a package.json file</li><li>b) a gzipped tarball containing (a)</li><li>c) a url that resolves to (b)</li><li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry (see <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>) with (c)</li><li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li><li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li><li>g) a <code>&lt;git remote url&gt;</code> that resolves to (b)</li></ul> <li>a) a folder containing a program described by a package.json file</li>
<li>b) a gzipped tarball containing (a)</li>
<li>c) a url that resolves to (b)</li>
<li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry (see <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>) with (c)</li>
<li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li>
<li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li>
<li>g) a <code>&lt;git remote url&gt;</code> that resolves to (b)</li>
</ul>
<p>Even if you never publish your package, you can still get a lot of <p>Even if you never publish your package, you can still get a lot of
benefits of using npm if you just want to write a node program (a), and benefits of using npm if you just want to write a node program (a), and
perhaps if you also want to be able to easily install it elsewhere perhaps if you also want to be able to easily install it elsewhere
after packing it up into a tarball (b).</p> after packing it up into a tarball (b).</p>
<ul>
<ul><li><p><code>npm install</code> (in package directory, no arguments):</p><p>Install the dependencies in the local node_modules folder.</p><p>In global mode (ie, with <code>-g</code> or <code>--global</code> appended to the command), <li><p><code>npm install</code> (in package directory, no arguments):</p>
it installs the current package context (ie, the current working <p> Install the dependencies in the local node_modules folder.</p>
directory) as a global package.</p><p>By default, <code>npm install</code> will install all modules listed as <p> In global mode (ie, with <code>-g</code> or <code>--global</code> appended to the command),
dependencies. With the <code>--production</code> flag, it installs the current package context (ie, the current working
npm will not install modules listed in <code>devDependencies</code>.</p></li><li><p><code>npm install &lt;folder&gt;</code>:</p><p>Install a package that is sitting in a folder on the filesystem.</p></li><li><p><code>npm install &lt;tarball file&gt;</code>:</p><p>Install a package that is sitting on the filesystem. Note: if you just want directory) as a global package.</p>
to link a dev directory into your npm root, you can do this more easily by <p> By default, <code>npm install</code> will install all modules listed as
using <code>npm link</code>.</p><p>Example:</p><pre><code> npm install ./package.tgz</code></pre></li><li><p><code>npm install &lt;tarball url&gt;</code>:</p><p>Fetch the tarball url, and then install it. In order to distinguish between dependencies. With the <code>--production</code> flag,
this and other options, the argument must start with &quot;http://&quot; or &quot;https://&quot;</p><p>Example:</p><pre><code> npm install https://github.com/indexzero/forever/tarball/v0.5.6</code></pre></li><li><p><code>npm install &lt;name&gt; [--save|--save-dev|--save-optional]</code>:</p><p>Do a <code>&lt;name&gt;@&lt;tag&gt;</code> install, where <code>&lt;tag&gt;</code> is the &quot;tag&quot; config. (See npm will not install modules listed in <code>devDependencies</code>.</p>
<code><a href="../misc/npm-config.html">npm-config(7)</a></code>.)</p><p>In most cases, this will install the latest version </li>
of the module published on npm.</p><p>Example:</p><p> npm install sax</p><p><code>npm install</code> takes 3 exclusive, optional flags which save or update <li><p><code>npm install &lt;folder&gt;</code>:</p>
the package version in your main package.json:</p><ul><li><p><code>--save</code>: Package will appear in your <code>dependencies</code>.</p></li><li><p><code>--save-dev</code>: Package will appear in your <code>devDependencies</code>.</p></li><li><p><code>--save-optional</code>: Package will appear in your <code>optionalDependencies</code>.</p><p>When using any of the above options to save dependencies to your <p> Install a package that is sitting in a folder on the filesystem.</p>
package.json, there is an additional, optional flag:</p></li><li><p><code>--save-exact</code>: Saved dependencies will be configured with an </li>
<li><p><code>npm install &lt;tarball file&gt;</code>:</p>
<p> Install a package that is sitting on the filesystem. Note: if you just want
to link a dev directory into your npm root, you can do this more easily by
using <code>npm link</code>.</p>
<p> Example:</p>
<pre><code> npm install ./package.tgz
</code></pre></li>
<li><p><code>npm install &lt;tarball url&gt;</code>:</p>
<p> Fetch the tarball url, and then install it. In order to distinguish between
this and other options, the argument must start with &quot;http://&quot; or &quot;https://&quot;</p>
<p> Example:</p>
<pre><code> npm install https://github.com/indexzero/forever/tarball/v0.5.6
</code></pre></li>
<li><p><code>npm install &lt;name&gt; [--save|--save-dev|--save-optional]</code>:</p>
<p> Do a <code>&lt;name&gt;@&lt;tag&gt;</code> install, where <code>&lt;tag&gt;</code> is the &quot;tag&quot; config. (See
<code><a href="../misc/npm-config.html">npm-config(7)</a></code>.)</p>
<p> In most cases, this will install the latest version
of the module published on npm.</p>
<p> Example:</p>
<pre><code> npm install sax
</code></pre><p> <code>npm install</code> takes 3 exclusive, optional flags which save or update
the package version in your main package.json:</p>
<ul>
<li><p><code>--save</code>: Package will appear in your <code>dependencies</code>.</p>
</li>
<li><p><code>--save-dev</code>: Package will appear in your <code>devDependencies</code>.</p>
</li>
<li><p><code>--save-optional</code>: Package will appear in your <code>optionalDependencies</code>.</p>
<p>When using any of the above options to save dependencies to your
package.json, there is an additional, optional flag:</p>
</li>
<li><p><code>--save-exact</code>: Saved dependencies will be configured with an
exact version rather than using npm&#39;s default semver range exact version rather than using npm&#39;s default semver range
operator.</p><p>Examples:</p><p> npm install sax --save operator.</p>
npm install node-tap --save-dev <p>Examples:</p>
npm install dtrace-provider --save-optional <pre><code>npm install sax --save
npm install readable-stream --save --save-exact</p><p><strong>Note</strong>: If there is a file or folder named <code>&lt;name&gt;</code> in the current npm install node-tap --save-dev
npm install dtrace-provider --save-optional
npm install readable-stream --save --save-exact
</code></pre></li>
</ul>
</li>
</ul>
<pre><code>**Note**: If there is a file or folder named `&lt;name&gt;` in the current
working directory, then it will try to install that, and only try to working directory, then it will try to install that, and only try to
fetch the package by name if it is not valid.</p></li></ul></li><li><p><code>npm install &lt;name&gt;@&lt;tag&gt;</code>:</p><p>Install the version of the package that is referenced by the specified tag. fetch the package by name if it is not valid.
If the tag does not exist in the registry data for that package, then this </code></pre><ul>
will fail.</p><p>Example:</p><pre><code> npm install sax@latest</code></pre></li><li><p><code>npm install &lt;name&gt;@&lt;version&gt;</code>:</p><p>Install the specified version of the package. This will fail if the version <li><p><code>npm install &lt;name&gt;@&lt;tag&gt;</code>:</p>
has not been published to the registry.</p><p>Example:</p><pre><code> npm install sax@0.1.1</code></pre></li><li><p><code>npm install &lt;name&gt;@&lt;version range&gt;</code>:</p><p>Install a version of the package matching the specified version range. This <p> Install the version of the package that is referenced by the specified tag.
will follow the same rules for resolving dependencies described in <code><a href="../files/package.json.html">package.json(5)</a></code>.</p><p>Note that most version ranges must be put in quotes so that your shell will If the tag does not exist in the registry data for that package, then this
treat it as a single argument.</p><p>Example:</p><p> npm install sax@&quot;&gt;=0.1.0 &lt;0.2.0&quot;</p></li><li><p><code>npm install &lt;git remote url&gt;</code>:</p><p>Install a package by cloning a git remote url. The format of the git will fail.</p>
url is:</p><p> &lt;protocol&gt;://[&lt;user&gt;@]&lt;hostname&gt;&lt;separator&gt;&lt;path&gt;[#&lt;commit-ish&gt;]</p><p><code>&lt;protocol&gt;</code> is one of <code>git</code>, <code>git+ssh</code>, <code>git+http</code>, or <p> Example:</p>
<code>git+https</code>. If no <code>&lt;commit-ish&gt;</code> is specified, then <code>master</code> is <pre><code> npm install sax@latest
used.</p><p>Examples:</p><pre><code> git+ssh://git@github.com:npm/npm.git#v1.0.27 </code></pre></li>
<li><p><code>npm install &lt;name&gt;@&lt;version&gt;</code>:</p>
<p> Install the specified version of the package. This will fail if the version
has not been published to the registry.</p>
<p> Example:</p>
<pre><code> npm install sax@0.1.1
</code></pre></li>
<li><p><code>npm install &lt;name&gt;@&lt;version range&gt;</code>:</p>
<p> Install a version of the package matching the specified version range. This
will follow the same rules for resolving dependencies described in <code><a href="../files/package.json.html">package.json(5)</a></code>.</p>
<p> Note that most version ranges must be put in quotes so that your shell will
treat it as a single argument.</p>
<p> Example:</p>
<pre><code> npm install sax@&quot;&gt;=0.1.0 &lt;0.2.0&quot;
</code></pre></li>
<li><p><code>npm install &lt;git remote url&gt;</code>:</p>
<p> Install a package by cloning a git remote url. The format of the git
url is:</p>
<pre><code> &lt;protocol&gt;://[&lt;user&gt;@]&lt;hostname&gt;&lt;separator&gt;&lt;path&gt;[#&lt;commit-ish&gt;]
</code></pre><p> <code>&lt;protocol&gt;</code> is one of <code>git</code>, <code>git+ssh</code>, <code>git+http</code>, or
<code>git+https</code>. If no <code>&lt;commit-ish&gt;</code> is specified, then <code>master</code> is
used.</p>
<p> Examples:</p>
<pre><code> git+ssh://git@github.com:npm/npm.git#v1.0.27
git+https://isaacs@github.com/npm/npm.git git+https://isaacs@github.com/npm/npm.git
git://github.com/npm/npm.git#v1.0.27</code></pre></li></ul> git://github.com/npm/npm.git#v1.0.27
</code></pre></li>
</ul>
<p>You may combine multiple arguments, and even multiple types of arguments. <p>You may combine multiple arguments, and even multiple types of arguments.
For example:</p> For example:</p>
<pre><code>npm install sax@&quot;&gt;=0.1.0 &lt;0.2.0&quot; bench supervisor
<pre><code>npm install sax@&quot;&gt;=0.1.0 &lt;0.2.0&quot; bench supervisor</code></pre> </code></pre><p>The <code>--tag</code> argument will apply to all of the specified install targets. If a
<p>The <code>--tag</code> argument will apply to all of the specified install targets. If a
tag with the given name exists, the tagged version is preferred over newer tag with the given name exists, the tagged version is preferred over newer
versions.</p> versions.</p>
<p>The <code>--force</code> argument will force npm to fetch remote resources even if a <p>The <code>--force</code> argument will force npm to fetch remote resources even if a
local copy exists on disk.</p> local copy exists on disk.</p>
<pre><code>npm install sax --force
<pre><code>npm install sax --force</code></pre> </code></pre><p>The <code>--global</code> argument will cause npm to install the package globally
<p>The <code>--global</code> argument will cause npm to install the package globally
rather than locally. See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code>.</p> rather than locally. See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code>.</p>
<p>The <code>--link</code> argument will cause npm to link global installs into the <p>The <code>--link</code> argument will cause npm to link global installs into the
local space in some cases.</p> local space in some cases.</p>
<p>The <code>--no-bin-links</code> argument will prevent npm from creating symlinks for <p>The <code>--no-bin-links</code> argument will prevent npm from creating symlinks for
any binaries the package might contain.</p> any binaries the package might contain.</p>
<p>The <code>--no-optional</code> argument will prevent optional dependencies from <p>The <code>--no-optional</code> argument will prevent optional dependencies from
being installed.</p> being installed.</p>
<p>The <code>--no-shrinkwrap</code> argument, which will ignore an available <p>The <code>--no-shrinkwrap</code> argument, which will ignore an available
shrinkwrap file and use the package.json instead.</p> shrinkwrap file and use the package.json instead.</p>
<p>The <code>--nodedir=/path/to/node/source</code> argument will allow npm to find the <p>The <code>--nodedir=/path/to/node/source</code> argument will allow npm to find the
node source code so that npm can compile native modules.</p> node source code so that npm can compile native modules.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code>. Many of the configuration params have some <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code>. Many of the configuration params have some
effect on installation, since that&#39;s most of what npm does.</p> effect on installation, since that&#39;s most of what npm does.</p>
<h2 id="algorithm">ALGORITHM</h2>
<h2 id="ALGORITHM">ALGORITHM</h2>
<p>To install a package, npm uses the following algorithm:</p> <p>To install a package, npm uses the following algorithm:</p>
<pre><code>install(where, what, family, ancestors) <pre><code>install(where, what, family, ancestors)
fetch what, unpack to &lt;where&gt;/node_modules/&lt;what&gt; fetch what, unpack to &lt;where&gt;/node_modules/&lt;what&gt;
for each dep in what.dependencies for each dep in what.dependencies
@ -115,46 +165,50 @@ for each dep@version in what.dependencies
not in &lt;where&gt;/node_modules/&lt;what&gt;/node_modules/* not in &lt;where&gt;/node_modules/&lt;what&gt;/node_modules/*
and not in &lt;family&gt; and not in &lt;family&gt;
add precise version deps to &lt;family&gt; add precise version deps to &lt;family&gt;
install(&lt;where&gt;/node_modules/&lt;what&gt;, dep, family)</code></pre> install(&lt;where&gt;/node_modules/&lt;what&gt;, dep, family)
</code></pre><p>For this <code>package{dep}</code> structure: <code>A{B,C}, B{C}, C{D}</code>,
<p>For this <code>package{dep}</code> structure: <code>A{B,C}, B{C}, C{D}</code>,
this algorithm produces:</p> this algorithm produces:</p>
<pre><code>A <pre><code>A
+-- B +-- B
`-- C `-- C
`-- D</code></pre> `-- D
</code></pre><p>That is, the dependency from B to C is satisfied by the fact that A
<p>That is, the dependency from B to C is satisfied by the fact that A
already caused C to be installed at a higher level.</p> already caused C to be installed at a higher level.</p>
<p>See <a href="../files/npm-folders.html">npm-folders(5)</a> for a more detailed description of the specific <p>See <a href="../files/npm-folders.html">npm-folders(5)</a> for a more detailed description of the specific
folder structures that npm creates.</p> folder structures that npm creates.</p>
<h3 id="limitations-of-npm-s-install-algorithm">Limitations of npm&#39;s Install Algorithm</h3>
<h3 id="Limitations-of-npm-s-Install-Algorithm">Limitations of npm&#39;s Install Algorithm</h3>
<p>There are some very rare and pathological edge-cases where a cycle can <p>There are some very rare and pathological edge-cases where a cycle can
cause npm to try to install a never-ending tree of packages. Here is cause npm to try to install a never-ending tree of packages. Here is
the simplest case:</p> the simplest case:</p>
<pre><code>A -&gt; B -&gt; A&#39; -&gt; B&#39; -&gt; A -&gt; B -&gt; A&#39; -&gt; B&#39; -&gt; A -&gt; ...
<pre><code>A -&gt; B -&gt; A&#39; -&gt; B&#39; -&gt; A -&gt; B -&gt; A&#39; -&gt; B&#39; -&gt; A -&gt; ...</code></pre> </code></pre><p>where <code>A</code> is some version of a package, and <code>A&#39;</code> is a different version
<p>where <code>A</code> is some version of a package, and <code>A&#39;</code> is a different version
of the same package. Because <code>B</code> depends on a different version of <code>A</code> of the same package. Because <code>B</code> depends on a different version of <code>A</code>
than the one that is already in the tree, it must install a separate than the one that is already in the tree, it must install a separate
copy. The same is true of <code>A&#39;</code>, which must install <code>B&#39;</code>. Because <code>B&#39;</code> copy. The same is true of <code>A&#39;</code>, which must install <code>B&#39;</code>. Because <code>B&#39;</code>
depends on the original version of <code>A</code>, which has been overridden, the depends on the original version of <code>A</code>, which has been overridden, the
cycle falls into infinite regress.</p> cycle falls into infinite regress.</p>
<p>To avoid this situation, npm flat-out refuses to install any <p>To avoid this situation, npm flat-out refuses to install any
<code>name@version</code> that is already present anywhere in the tree of package <code>name@version</code> that is already present anywhere in the tree of package
folder ancestors. A more correct, but more complex, solution would be folder ancestors. A more correct, but more complex, solution would be
to symlink the existing version into the new location. If this ever to symlink the existing version into the new location. If this ever
affects a real use-case, it will be investigated.</p> affects a real use-case, it will be investigated.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-update.html">npm-update(1)</a></li>
<li><a href="../cli/npm-link.html">npm-link(1)</a></li>
<li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-build.html">npm-build(1)</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>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-tag.html">npm-tag(1)</a></li>
<li><a href="../cli/npm-rm.html">npm-rm(1)</a></li>
<li><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-build.html">npm-build(1)</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><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -166,5 +220,5 @@ affects a real use-case, it will be investigated.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-install &mdash; npm@1.4.9</p> <p id="footer">npm-install &mdash; npm@1.4.10</p>

51
deps/npm/html/doc/cli/npm-link.html

@ -10,60 +10,51 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-link.html">npm-link</a></h1> <p>Symlink a package folder</p> <h1><a href="../cli/npm-link.html">npm-link</a></h1> <p>Symlink a package folder</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm link (in package folder) <pre><code>npm link (in package folder)
npm link &lt;pkgname&gt; npm link &lt;pkgname&gt;
npm ln (with any of the previous argument usage)</code></pre> npm ln (with any of the previous argument usage)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Package linking is a two-step process.</p> <p>Package linking is a two-step process.</p>
<p>First, <code>npm link</code> in a package folder will create a globally-installed <p>First, <code>npm link</code> in a package folder will create a globally-installed
symbolic link from <code>prefix/package-name</code> to the current folder.</p> symbolic link from <code>prefix/package-name</code> to the current folder.</p>
<p>Next, in some other location, <code>npm link package-name</code> will create a <p>Next, in some other location, <code>npm link package-name</code> will create a
symlink from the local <code>node_modules</code> folder to the global symlink.</p> symlink from the local <code>node_modules</code> folder to the global symlink.</p>
<p>Note that <code>package-name</code> is taken from <code>package.json</code>, <p>Note that <code>package-name</code> is taken from <code>package.json</code>,
not from directory name.</p> not from directory name.</p>
<p>When creating tarballs for <code>npm publish</code>, the linked packages are <p>When creating tarballs for <code>npm publish</code>, the linked packages are
&quot;snapshotted&quot; to their current state by resolving the symbolic links.</p> &quot;snapshotted&quot; to their current state by resolving the symbolic links.</p>
<p>This is <p>This is
handy for installing your own stuff, so that you can work on it and test it handy for installing your own stuff, so that you can work on it and test it
iteratively without having to continually rebuild.</p> iteratively without having to continually rebuild.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>cd ~/projects/node-redis # go into the package directory <pre><code>cd ~/projects/node-redis # go into the package directory
npm link # creates global link npm link # creates global link
cd ~/projects/node-bloggy # go into some other package directory. cd ~/projects/node-bloggy # go into some other package directory.
npm link redis # link-install the package</code></pre> npm link redis # link-install the package
</code></pre><p>Now, any changes to ~/projects/node-redis will be reflected in
<p>Now, any changes to ~/projects/node-redis will be reflected in
~/projects/node-bloggy/node_modules/redis/</p> ~/projects/node-bloggy/node_modules/redis/</p>
<p>You may also shortcut the two steps in one. For example, to do the <p>You may also shortcut the two steps in one. For example, to do the
above use-case in a shorter way:</p> above use-case in a shorter way:</p>
<pre><code>cd ~/projects/node-bloggy # go into the dir of your main project <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> npm link ../node-redis # link the dir of your dependency
</code></pre><p>The second line is the equivalent of doing:</p>
<p>The second line is the equivalent of doing:</p>
<pre><code>(cd ../node-redis; npm link) <pre><code>(cd ../node-redis; npm link)
npm link redis</code></pre> npm link redis
</code></pre><p>That is, it first creates a global link, and then links the global
<p>That is, it first creates a global link, and then links the global
installation target into your project&#39;s <code>node_modules</code> folder.</p> installation target into your project&#39;s <code>node_modules</code> folder.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-developers.html">npm-developers(7)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -75,5 +66,5 @@ installation target into your project&#39;s <code>node_modules</code> folder.</p
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-link &mdash; npm@1.4.9</p> <p id="footer">npm-link &mdash; npm@1.4.10</p>

80
deps/npm/html/doc/cli/npm-ls.html

@ -10,72 +10,70 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p> <h1><a href="../cli/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm list [&lt;pkg&gt; ...] <pre><code>npm list [&lt;pkg&gt; ...]
npm ls [&lt;pkg&gt; ...] npm ls [&lt;pkg&gt; ...]
npm la [&lt;pkg&gt; ...] npm la [&lt;pkg&gt; ...]
npm ll [&lt;pkg&gt; ...]</code></pre> npm ll [&lt;pkg&gt; ...]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will print to stdout all the versions of packages that are <p>This command will print to stdout all the versions of packages that are
installed, as well as their dependencies, in a tree-structure.</p> installed, as well as their dependencies, in a tree-structure.</p>
<p>Positional arguments are <code>name@version-range</code> identifiers, which will <p>Positional arguments are <code>name@version-range</code> identifiers, which will
limit the results to only the paths to the packages named. Note that limit the results to only the paths to the packages named. Note that
nested packages will <em>also</em> show the paths to the specified packages. nested packages will <em>also</em> show the paths to the specified packages.
For example, running <code>npm ls promzard</code> in npm&#39;s source tree will show:</p> For example, running <code>npm ls promzard</code> in npm&#39;s source tree will show:</p>
<pre><code>npm@1.4.10 /path/to/npm
<pre><code>npm@1.4.9 /path/to/npm
└─┬ init-package-json@0.0.4 └─┬ init-package-json@0.0.4
└── promzard@0.1.5</code></pre> └── promzard@0.1.5
</code></pre><p>It will print out extraneous, missing, and invalid packages.</p>
<p>It will print out extraneous, missing, and invalid packages.</p>
<p>If a project specifies git urls for dependencies these are shown <p>If a project specifies git urls for dependencies these are shown
in parentheses after the name@version to make it easier for users to in parentheses after the name@version to make it easier for users to
recognize potential forks of a project.</p> recognize potential forks of a project.</p>
<p>When run as <code>ll</code> or <code>la</code>, it shows extended information by default.</p> <p>When run as <code>ll</code> or <code>la</code>, it shows extended information by default.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="json">json</h3> <h3 id="json">json</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show information in JSON format.</p> <p>Show information in JSON format.</p>
<h3 id="long">long</h3> <h3 id="long">long</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show extended information.</p> <p>Show extended information.</p>
<h3 id="parseable">parseable</h3> <h3 id="parseable">parseable</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show parseable output instead of tree view.</p> <p>Show parseable output instead of tree view.</p>
<h3 id="global">global</h3> <h3 id="global">global</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>List packages in the global install prefix instead of in the current <p>List packages in the global install prefix instead of in the current
project.</p> project.</p>
<h3 id="depth">depth</h3> <h3 id="depth">depth</h3>
<ul>
<ul><li>Type: Int</li></ul> <li>Type: Int</li>
</ul>
<p>Max display depth of the dependency tree.</p> <p>Max display depth of the dependency tree.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<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>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-link.html">npm-link(1)</a></li>
<li><a href="../cli/npm-prune.html">npm-prune(1)</a></li>
<li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li>
<li><a href="../cli/npm-update.html">npm-update(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><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><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../cli/npm-prune.html">npm-prune(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../cli/npm-update.html">npm-update(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -87,5 +85,5 @@ project.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-ls &mdash; npm@1.4.9</p> <p id="footer">npm-ls &mdash; npm@1.4.10</p>

64
deps/npm/html/doc/cli/npm-outdated.html

@ -10,56 +10,52 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p> <h1><a href="../cli/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm outdated [&lt;name&gt; [&lt;name&gt; ...]]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm outdated [&lt;name&gt; [&lt;name&gt; ...]]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will check the registry to see if any (or, specific) installed <p>This command will check the registry to see if any (or, specific) installed
packages are currently outdated.</p> packages are currently outdated.</p>
<p>The resulting field &#39;wanted&#39; shows the latest version according to the <p>The resulting field &#39;wanted&#39; shows the latest version according to the
version specified in the package.json, the field &#39;latest&#39; the very latest version specified in the package.json, the field &#39;latest&#39; the very latest
version of the package.</p> version of the package.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="json">json</h3> <h3 id="json">json</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show information in JSON format.</p> <p>Show information in JSON format.</p>
<h3 id="long">long</h3> <h3 id="long">long</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show extended information.</p> <p>Show extended information.</p>
<h3 id="parseable">parseable</h3> <h3 id="parseable">parseable</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Show parseable output instead of tree view.</p> <p>Show parseable output instead of tree view.</p>
<h3 id="global">global</h3> <h3 id="global">global</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Check packages in the global install prefix instead of in the current <p>Check packages in the global install prefix instead of in the current
project.</p> project.</p>
<h3 id="depth">depth</h3> <h3 id="depth">depth</h3>
<ul>
<ul><li>Type: Int</li></ul> <li>Type: Int</li>
</ul>
<p>Max depth for checking dependency tree.</p> <p>Max depth for checking dependency tree.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-update.html">npm-update(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-update.html">npm-update(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -71,5 +67,5 @@ project.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-outdated &mdash; npm@1.4.9</p> <p id="footer">npm-outdated &mdash; npm@1.4.10</p>

36
deps/npm/html/doc/cli/npm-owner.html

@ -10,32 +10,34 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-owner.html">npm-owner</a></h1> <p>Manage package owners</p> <h1><a href="../cli/npm-owner.html">npm-owner</a></h1> <p>Manage package owners</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm owner ls &lt;package name&gt; <pre><code>npm owner ls &lt;package name&gt;
npm owner add &lt;user&gt; &lt;package name&gt; npm owner add &lt;user&gt; &lt;package name&gt;
npm owner rm &lt;user&gt; &lt;package name&gt;</code></pre> npm owner rm &lt;user&gt; &lt;package name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Manage ownership of published packages.</p> <p>Manage ownership of published packages.</p>
<ul>
<ul><li>ls: <li>ls:
List all the users who have access to modify a package and push new versions. List all the users who have access to modify a package and push new versions.
Handy when you need to know who to bug for help.</li><li>add: Handy when you need to know who to bug for help.</li>
<li>add:
Add a new user as a maintainer of a package. This user is enabled to modify Add a new user as a maintainer of a package. This user is enabled to modify
metadata, publish new versions, and add other owners.</li><li>rm: metadata, publish new versions, and add other owners.</li>
<li>rm:
Remove a user from the package owner list. This immediately revokes their Remove a user from the package owner list. This immediately revokes their
privileges.</li></ul> privileges.</li>
</ul>
<p>Note that there is only one level of access. Either you can modify a package, <p>Note that there is only one level of access. Either you can modify a package,
or you can&#39;t. Future versions may contain more fine-grained access levels, but or you can&#39;t. Future versions may contain more fine-grained access levels, but
that is not implemented at this time.</p> that is not implemented at this time.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
<li><a href="../misc/npm-disputes.html">npm-disputes(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../misc/npm-disputes.html">npm-disputes(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -47,5 +49,5 @@ that is not implemented at this time.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-owner &mdash; npm@1.4.9</p> <p id="footer">npm-owner &mdash; npm@1.4.10</p>

25
deps/npm/html/doc/cli/npm-pack.html

@ -10,27 +10,26 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-pack.html">npm-pack</a></h1> <p>Create a tarball from a package</p> <h1><a href="../cli/npm-pack.html">npm-pack</a></h1> <p>Create a tarball from a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm pack [&lt;pkg&gt; [&lt;pkg&gt; ...]]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm pack [&lt;pkg&gt; [&lt;pkg&gt; ...]]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>For anything that&#39;s installable (that is, a package folder, tarball, <p>For anything that&#39;s installable (that is, a package folder, tarball,
tarball url, name@tag, name@version, or name), this command will fetch tarball url, name@tag, name@version, or name), this command will fetch
it to the cache, and then copy the tarball to the current working it to the cache, and then copy the tarball to the current working
directory as <code>&lt;name&gt;-&lt;version&gt;.tgz</code>, and then write the filenames out to directory as <code>&lt;name&gt;-&lt;version&gt;.tgz</code>, and then write the filenames out to
stdout.</p> stdout.</p>
<p>If the same package is specified multiple times, then the file will be <p>If the same package is specified multiple times, then the file will be
overwritten the second time.</p> overwritten the second time.</p>
<p>If no arguments are supplied, then npm packs the current package folder.</p> <p>If no arguments are supplied, then npm packs the current package folder.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-cache.html">npm-cache(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -42,5 +41,5 @@ overwritten the second time.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-pack &mdash; npm@1.4.9</p> <p id="footer">npm-pack &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-prefix.html

@ -10,18 +10,20 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-prefix.html">npm-prefix</a></h1> <p>Display prefix</p> <h1><a href="../cli/npm-prefix.html">npm-prefix</a></h1> <p>Display prefix</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm prefix
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm prefix</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the prefix to standard out.</p> <p>Print the prefix to standard out.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-root.html">npm-root(1)</a></li>
<li><a href="../cli/npm-bin.html">npm-bin(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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-root.html">npm-root(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +35,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-prefix &mdash; npm@1.4.9</p> <p id="footer">npm-prefix &mdash; npm@1.4.10</p>

23
deps/npm/html/doc/cli/npm-prune.html

@ -10,27 +10,24 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-prune.html">npm-prune</a></h1> <p>Remove extraneous packages</p> <h1><a href="../cli/npm-prune.html">npm-prune</a></h1> <p>Remove extraneous packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm prune [&lt;name&gt; [&lt;name ...]] <pre><code>npm prune [&lt;name&gt; [&lt;name ...]]
npm prune [&lt;name&gt; [&lt;name ...]] [--production]</code></pre> npm prune [&lt;name&gt; [&lt;name ...]] [--production]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command removes &quot;extraneous&quot; packages. If a package name is <p>This command removes &quot;extraneous&quot; packages. If a package name is
provided, then only packages matching one of the supplied names are provided, then only packages matching one of the supplied names are
removed.</p> removed.</p>
<p>Extraneous packages are packages that are not listed on the parent <p>Extraneous packages are packages that are not listed on the parent
package&#39;s dependencies list.</p> package&#39;s dependencies list.</p>
<p>If the <code>--production</code> flag is specified, this command will remove the <p>If the <code>--production</code> flag is specified, this command will remove the
packages specified in your <code>devDependencies</code>.</p> packages specified in your <code>devDependencies</code>.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-rm.html">npm-rm(1)</a></li>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-ls.html">npm-ls(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -42,5 +39,5 @@ packages specified in your <code>devDependencies</code>.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-prune &mdash; npm@1.4.9</p> <p id="footer">npm-prune &mdash; npm@1.4.10</p>

41
deps/npm/html/doc/cli/npm-publish.html

@ -10,34 +10,39 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-publish.html">npm-publish</a></h1> <p>Publish a package</p> <h1><a href="../cli/npm-publish.html">npm-publish</a></h1> <p>Publish a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm publish &lt;tarball&gt; [--tag &lt;tag&gt;] <pre><code>npm publish &lt;tarball&gt; [--tag &lt;tag&gt;]
npm publish &lt;folder&gt; [--tag &lt;tag&gt;]</code></pre> npm publish &lt;folder&gt; [--tag &lt;tag&gt;]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Publishes a package to the registry so that it can be installed by name.</p> <p>Publishes a package to the registry so that it can be installed by name.</p>
<ul>
<ul><li><p><code>&lt;folder&gt;</code>: <li><p><code>&lt;folder&gt;</code>:
A folder containing a package.json file</p></li><li><p><code>&lt;tarball&gt;</code>: A folder containing a package.json file</p>
</li>
<li><p><code>&lt;tarball&gt;</code>:
A url or file path to a gzipped tar archive containing a single folder A url or file path to a gzipped tar archive containing a single folder
with a package.json file inside.</p></li><li><p><code>[--tag &lt;tag&gt;]</code> with a package.json file inside.</p>
</li>
<li><p><code>[--tag &lt;tag&gt;]</code>
Registers the published package with the given tag, such that <code>npm install Registers the published package with the given tag, such that <code>npm install
&lt;name&gt;@&lt;tag&gt;</code> will install this version. By default, <code>npm publish</code> updates &lt;name&gt;@&lt;tag&gt;</code> will install this version. By default, <code>npm publish</code> updates
and <code>npm install</code> installs the <code>latest</code> tag.</p></li></ul> and <code>npm install</code> installs the <code>latest</code> tag.</p>
</li>
</ul>
<p>Fails if the package name and version combination already exists in <p>Fails if the package name and version combination already exists in
the registry.</p> the registry.</p>
<p>Once a package is published with a given name and version, that <p>Once a package is published with a given name and version, that
specific name and version combination can never be used again, even if specific name and version combination can never be used again, even if
it is removed with <a href="../cli/npm-unpublish.html">npm-unpublish(1)</a>.</p> it is removed with <a href="../cli/npm-unpublish.html">npm-unpublish(1)</a>.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
<li><a href="../cli/npm-owner.html">npm-owner(1)</a></li>
<li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li>
<li><a href="../cli/npm-tag.html">npm-tag(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-tag.html">npm-tag(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -49,5 +54,5 @@ it is removed with <a href="../cli/npm-unpublish.html">npm-unpublish(1)</a>.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-publish &mdash; npm@1.4.9</p> <p id="footer">npm-publish &mdash; npm@1.4.10</p>

27
deps/npm/html/doc/cli/npm-rebuild.html

@ -10,24 +10,23 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p> <h1><a href="../cli/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm rebuild [&lt;name&gt; [&lt;name&gt; ...]] <pre><code>npm rebuild [&lt;name&gt; [&lt;name&gt; ...]]
npm rb [&lt;name&gt; [&lt;name&gt; ...]]</code></pre> npm rb [&lt;name&gt; [&lt;name&gt; ...]]
</code></pre><ul>
<ul><li><code>&lt;name&gt;</code>: <li><code>&lt;name&gt;</code>:
The package to rebuild</li></ul> The package to rebuild</li>
</ul>
<h2 id="DESCRIPTION">DESCRIPTION</h2> <h2 id="description">DESCRIPTION</h2>
<p>This command runs the <code>npm build</code> command on the matched folders. This is useful <p>This command runs the <code>npm build</code> command on the matched folders. This is useful
when you install a new version of node, and must recompile all your C++ addons with when you install a new version of node, and must recompile all your C++ addons with
the new binary.</p> the new binary.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-build.html">npm-build(1)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-build.html">npm-build(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -39,5 +38,5 @@ the new binary.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-rebuild &mdash; npm@1.4.9</p> <p id="footer">npm-rebuild &mdash; npm@1.4.10</p>

31
deps/npm/html/doc/cli/npm-repo.html

@ -10,30 +10,27 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-repo.html">npm-repo</a></h1> <p>Open package repository page in the browser</p> <h1><a href="../cli/npm-repo.html">npm-repo</a></h1> <p>Open package repository page in the browser</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm repo &lt;pkgname&gt; <pre><code>npm repo &lt;pkgname&gt;
npm repo (with no args in a package dir)</code></pre> npm repo (with no args in a package dir)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command tries to guess at the likely location of a package&#39;s <p>This command tries to guess at the likely location of a package&#39;s
repository URL, and then tries to open it using the <code>--browser</code> repository URL, and then tries to open it using the <code>--browser</code>
config param. If no package name is provided, it will search for config param. If no package name is provided, it will search for
a <code>package.json</code> in the current folder and use the <code>name</code> property.</p> a <code>package.json</code> in the current folder and use the <code>name</code> property.</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="browser">browser</h3> <h3 id="browser">browser</h3>
<ul>
<ul><li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li><li>Type: String</li></ul> <li>Default: OS X: <code>&quot;open&quot;</code>, Windows: <code>&quot;start&quot;</code>, Others: <code>&quot;xdg-open&quot;</code></li>
<li>Type: String</li>
</ul>
<p>The browser that is called by the <code>npm repo</code> command to open websites.</p> <p>The browser that is called by the <code>npm repo</code> command to open websites.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-docs.html">npm-docs(1)</a></li>
<li><a href="../cli/npm-config.html">npm-config(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -45,5 +42,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-repo &mdash; npm@1.4.9</p> <p id="footer">npm-repo &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-restart.html

@ -10,22 +10,22 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-restart.html">npm-restart</a></h1> <p>Start a package</p> <h1><a href="../cli/npm-restart.html">npm-restart</a></h1> <p>Start a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm restart &lt;name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm restart &lt;name&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;restart&quot; script, if one was provided. <p>This runs a package&#39;s &quot;restart&quot; script, if one was provided.
Otherwise it runs package&#39;s &quot;stop&quot; script, if one was provided, and then Otherwise it runs package&#39;s &quot;stop&quot; script, if one was provided, and then
the &quot;start&quot; script.</p> the &quot;start&quot; script.</p>
<p>If no version is specified, then it restarts the &quot;active&quot; version.</p> <p>If no version is specified, then it restarts the &quot;active&quot; version.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-test.html">npm-test(1)</a></li>
<li><a href="../cli/npm-start.html">npm-start(1)</a></li>
<li><a href="../cli/npm-stop.html">npm-stop(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -37,5 +37,5 @@ the &quot;start&quot; script.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-restart &mdash; npm@1.4.9</p> <p id="footer">npm-restart &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-rm.html

@ -10,22 +10,24 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-rm.html">npm-rm</a></h1> <p>Remove a package</p> <h1><a href="../cli/npm-rm.html">npm-rm</a></h1> <p>Remove a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm rm &lt;name&gt; <pre><code>npm rm &lt;name&gt;
npm r &lt;name&gt; npm r &lt;name&gt;
npm uninstall &lt;name&gt; npm uninstall &lt;name&gt;
npm un &lt;name&gt;</code></pre> npm un &lt;name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This uninstalls a package, completely removing everything npm installed <p>This uninstalls a package, completely removing everything npm installed
on its behalf.</p> on its behalf.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-prune.html">npm-prune(1)</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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-prune.html">npm-prune(1)</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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -37,5 +39,5 @@ on its behalf.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-rm &mdash; npm@1.4.9</p> <p id="footer">npm-rm &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-root.html

@ -10,18 +10,20 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-root.html">npm-root</a></h1> <p>Display npm root</p> <h1><a href="../cli/npm-root.html">npm-root</a></h1> <p>Display npm root</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm root
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm root</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the effective <code>node_modules</code> folder to standard out.</p> <p>Print the effective <code>node_modules</code> folder to standard out.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li>
<li><a href="../cli/npm-bin.html">npm-bin(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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-prefix.html">npm-prefix(1)</a></li><li><a href="../cli/npm-bin.html">npm-bin(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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +35,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-root &mdash; npm@1.4.9</p> <p id="footer">npm-root &mdash; npm@1.4.10</p>

27
deps/npm/html/doc/cli/npm-run-script.html

@ -10,23 +10,24 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-run-script.html">npm-run-script</a></h1> <p>Run arbitrary package scripts</p> <h1><a href="../cli/npm-run-script.html">npm-run-script</a></h1> <p>Run arbitrary package scripts</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm run-script [&lt;pkg&gt;] [command]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm run-script [&lt;pkg&gt;] &lt;command&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs an arbitrary command from a package&#39;s <code>&quot;scripts&quot;</code> object. <p>This runs an arbitrary command from a package&#39;s <code>&quot;scripts&quot;</code> object.
If no package name is provided, it will search for a <code>package.json</code> If no package name is provided, it will search for a <code>package.json</code>
in the current folder and use its <code>&quot;scripts&quot;</code> object.</p> in the current folder and use its <code>&quot;scripts&quot;</code> object. If no <code>&quot;command&quot;</code>
is provided, it will list the available top level scripts.</p>
<p>It is used by the test, start, restart, and stop commands, but can be <p>It is used by the test, start, restart, and stop commands, but can be
called directly, as well.</p> called directly, as well.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-test.html">npm-test(1)</a></li>
<li><a href="../cli/npm-start.html">npm-start(1)</a></li>
<li><a href="../cli/npm-restart.html">npm-restart(1)</a></li>
<li><a href="../cli/npm-stop.html">npm-stop(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +39,5 @@ called directly, as well.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-run-script &mdash; npm@1.4.9</p> <p id="footer">npm-run-script &mdash; npm@1.4.10</p>

35
deps/npm/html/doc/cli/npm-search.html

@ -10,35 +10,34 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-search.html">npm-search</a></h1> <p>Search for packages</p> <h1><a href="../cli/npm-search.html">npm-search</a></h1> <p>Search for packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm search [--long] [search terms ...] <pre><code>npm search [--long] [search terms ...]
npm s [search terms ...] npm s [search terms ...]
npm se [search terms ...]</code></pre> npm se [search terms ...]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Search the registry for packages matching the search terms.</p> <p>Search the registry for packages matching the search terms.</p>
<p>If a term starts with <code>/</code>, then it&#39;s interpreted as a regular expression. <p>If a term starts with <code>/</code>, then it&#39;s interpreted as a regular expression.
A trailing <code>/</code> will be ignored in this case. (Note that many regular A trailing <code>/</code> will be ignored in this case. (Note that many regular
expression characters must be escaped or quoted in most shells.)</p> expression characters must be escaped or quoted in most shells.)</p>
<h2 id="configuration">CONFIGURATION</h2>
<h2 id="CONFIGURATION">CONFIGURATION</h2>
<h3 id="long">long</h3> <h3 id="long">long</h3>
<ul>
<ul><li>Default: false</li><li>Type: Boolean</li></ul> <li>Default: false</li>
<li>Type: Boolean</li>
</ul>
<p>Display full package descriptions and other long text across multiple <p>Display full package descriptions and other long text across multiple
lines. When disabled (default) search results are truncated to fit lines. When disabled (default) search results are truncated to fit
neatly on a single line. Modules with extremely long names will neatly on a single line. Modules with extremely long names will
fall on multiple lines.</p> fall on multiple lines.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<li><a href="../cli/npm-view.html">npm-view(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</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><li><a href="../cli/npm-view.html">npm-view(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -50,5 +49,5 @@ fall on multiple lines.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-search &mdash; npm@1.4.9</p> <p id="footer">npm-search &mdash; npm@1.4.10</p>

114
deps/npm/html/doc/cli/npm-shrinkwrap.html

@ -10,18 +10,13 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap</a></h1> <p>Lock down dependency versions</p> <h1><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap</a></h1> <p>Lock down dependency versions</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm shrinkwrap
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm shrinkwrap</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command locks down the versions of a package&#39;s dependencies so <p>This command locks down the versions of a package&#39;s dependencies so
that you can control exactly which versions of each dependency will be that you can control exactly which versions of each dependency will be
used when your package is installed. The &quot;package.json&quot; file is still used when your package is installed. The &quot;package.json&quot; file is still
required if you want to use &quot;npm install&quot;.</p> required if you want to use &quot;npm install&quot;.</p>
<p>By default, &quot;npm install&quot; recursively installs the target&#39;s <p>By default, &quot;npm install&quot; recursively installs the target&#39;s
dependencies (as specified in package.json), choosing the latest dependencies (as specified in package.json), choosing the latest
available version that satisfies the dependency&#39;s semver pattern. In available version that satisfies the dependency&#39;s semver pattern. In
@ -34,62 +29,47 @@ dependency&#39;s package.json would facilitate this, but that&#39;s not always
possible or desirable, as when another author owns the npm package. possible or desirable, as when another author owns the npm package.
It&#39;s also possible to check dependencies directly into source control, It&#39;s also possible to check dependencies directly into source control,
but that may be undesirable for other reasons.</p> but that may be undesirable for other reasons.</p>
<p>As an example, consider package A:</p> <p>As an example, consider package A:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;A&quot;, &quot;name&quot;: &quot;A&quot;,
&quot;version&quot;: &quot;0.1.0&quot;, &quot;version&quot;: &quot;0.1.0&quot;,
&quot;dependencies&quot;: { &quot;dependencies&quot;: {
&quot;B&quot;: &quot;&lt;0.1.0&quot; &quot;B&quot;: &quot;&lt;0.1.0&quot;
} }
}</code></pre> }
</code></pre><p>package B:</p>
<p>package B:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;B&quot;, &quot;name&quot;: &quot;B&quot;,
&quot;version&quot;: &quot;0.0.1&quot;, &quot;version&quot;: &quot;0.0.1&quot;,
&quot;dependencies&quot;: { &quot;dependencies&quot;: {
&quot;C&quot;: &quot;&lt;0.1.0&quot; &quot;C&quot;: &quot;&lt;0.1.0&quot;
} }
}</code></pre> }
</code></pre><p>and package C:</p>
<p>and package C:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;C, &quot;name&quot;: &quot;C,
&quot;version&quot;: &quot;0.0.1&quot; &quot;version&quot;: &quot;0.0.1&quot;
}</code></pre> }
</code></pre><p>If these are the only versions of A, B, and C available in the
<p>If these are the only versions of A, B, and C available in the
registry, then a normal &quot;npm install A&quot; will install:</p> registry, then a normal &quot;npm install A&quot; will install:</p>
<pre><code>A@0.1.0 <pre><code>A@0.1.0
`-- B@0.0.1 `-- B@0.0.1
`-- C@0.0.1</code></pre> `-- C@0.0.1
</code></pre><p>However, if B@0.0.2 is published, then a fresh &quot;npm install A&quot; will
<p>However, if B@0.0.2 is published, then a fresh &quot;npm install A&quot; will
install:</p> install:</p>
<pre><code>A@0.1.0 <pre><code>A@0.1.0
`-- B@0.0.2 `-- B@0.0.2
`-- C@0.0.1</code></pre> `-- C@0.0.1
</code></pre><p>assuming the new version did not modify B&#39;s dependencies. Of course,
<p>assuming the new version did not modify B&#39;s dependencies. Of course,
the new version of B could include a new version of C and any number the new version of B could include a new version of C and any number
of new dependencies. If such changes are undesirable, the author of A of new dependencies. If such changes are undesirable, the author of A
could specify a dependency on B@0.0.1. However, if A&#39;s author and B&#39;s could specify a dependency on B@0.0.1. However, if A&#39;s author and B&#39;s
author are not the same person, there&#39;s no way for A&#39;s author to say author are not the same person, there&#39;s no way for A&#39;s author to say
that he or she does not want to pull in newly published versions of C that he or she does not want to pull in newly published versions of C
when B hasn&#39;t changed at all.</p> when B hasn&#39;t changed at all.</p>
<p>In this case, A&#39;s author can run</p> <p>In this case, A&#39;s author can run</p>
<pre><code>npm shrinkwrap
<pre><code>npm shrinkwrap</code></pre> </code></pre><p>This generates npm-shrinkwrap.json, which will look something like this:</p>
<p>This generates npm-shrinkwrap.json, which will look something like this:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;A&quot;, &quot;name&quot;: &quot;A&quot;,
&quot;version&quot;: &quot;0.1.0&quot;, &quot;version&quot;: &quot;0.1.0&quot;,
@ -103,9 +83,8 @@ when B hasn&#39;t changed at all.</p>
} }
} }
} }
}</code></pre> }
</code></pre><p>The shrinkwrap command has locked down the dependencies based on
<p>The shrinkwrap command has locked down the dependencies based on
what&#39;s currently installed in node_modules. When &quot;npm install&quot; what&#39;s currently installed in node_modules. When &quot;npm install&quot;
installs a package with a npm-shrinkwrap.json file in the package installs a package with a npm-shrinkwrap.json file in the package
root, the shrinkwrap file (rather than package.json files) completely root, the shrinkwrap file (rather than package.json files) completely
@ -114,59 +93,54 @@ drives the installation of that package and all of its dependencies
installs of this package will use B@0.0.1 and C@0.1.0, regardless the installs of this package will use B@0.0.1 and C@0.1.0, regardless the
dependencies and versions listed in A&#39;s, B&#39;s, and C&#39;s package.json dependencies and versions listed in A&#39;s, B&#39;s, and C&#39;s package.json
files.</p> files.</p>
<h3 id="using-shrinkwrapped-packages">Using shrinkwrapped packages</h3>
<h3 id="Using-shrinkwrapped-packages">Using shrinkwrapped packages</h3>
<p>Using a shrinkwrapped package is no different than using any other <p>Using a shrinkwrapped package is no different than using any other
package: you can &quot;npm install&quot; it by hand, or add a dependency to your package: you can &quot;npm install&quot; it by hand, or add a dependency to your
package.json file and &quot;npm install&quot; it.</p> package.json file and &quot;npm install&quot; it.</p>
<h3 id="building-shrinkwrapped-packages">Building shrinkwrapped packages</h3>
<h3 id="Building-shrinkwrapped-packages">Building shrinkwrapped packages</h3>
<p>To shrinkwrap an existing package:</p> <p>To shrinkwrap an existing package:</p>
<ol>
<ol><li>Run &quot;npm install&quot; in the package root to install the current <li>Run &quot;npm install&quot; in the package root to install the current
versions of all dependencies.</li><li>Validate that the package works as expected with these versions.</li><li>Run &quot;npm shrinkwrap&quot;, add npm-shrinkwrap.json to git, and publish versions of all dependencies.</li>
your package.</li></ol> <li>Validate that the package works as expected with these versions.</li>
<li>Run &quot;npm shrinkwrap&quot;, add npm-shrinkwrap.json to git, and publish
your package.</li>
</ol>
<p>To add or update a dependency in a shrinkwrapped package:</p> <p>To add or update a dependency in a shrinkwrapped package:</p>
<ol>
<ol><li>Run &quot;npm install&quot; in the package root to install the current <li>Run &quot;npm install&quot; in the package root to install the current
versions of all dependencies.</li><li>Add or update dependencies. &quot;npm install&quot; each new or updated versions of all dependencies.</li>
<li>Add or update dependencies. &quot;npm install&quot; each new or updated
package individually and then update package.json. Note that they package individually and then update package.json. Note that they
must be explicitly named in order to be installed: running <code>npm must be explicitly named in order to be installed: running <code>npm
install</code> with no arguments will merely reproduce the existing install</code> with no arguments will merely reproduce the existing
shrinkwrap.</li><li>Validate that the package works as expected with the new shrinkwrap.</li>
dependencies.</li><li>Run &quot;npm shrinkwrap&quot;, commit the new npm-shrinkwrap.json, and <li>Validate that the package works as expected with the new
publish your package.</li></ol> dependencies.</li>
<li>Run &quot;npm shrinkwrap&quot;, commit the new npm-shrinkwrap.json, and
publish your package.</li>
</ol>
<p>You can use <a href="../cli/npm-outdated.html">npm-outdated(1)</a> to view dependencies with newer versions <p>You can use <a href="../cli/npm-outdated.html">npm-outdated(1)</a> to view dependencies with newer versions
available.</p> available.</p>
<h3 id="other-notes">Other Notes</h3>
<h3 id="Other-Notes">Other Notes</h3>
<p>A shrinkwrap file must be consistent with the package&#39;s package.json <p>A shrinkwrap file must be consistent with the package&#39;s package.json
file. &quot;npm shrinkwrap&quot; will fail if required dependencies are not file. &quot;npm shrinkwrap&quot; will fail if required dependencies are not
already installed, since that would result in a shrinkwrap that already installed, since that would result in a shrinkwrap that
wouldn&#39;t actually work. Similarly, the command will fail if there are wouldn&#39;t actually work. Similarly, the command will fail if there are
extraneous packages (not referenced by package.json), since that would extraneous packages (not referenced by package.json), since that would
indicate that package.json is not correct.</p> indicate that package.json is not correct.</p>
<p>Since &quot;npm shrinkwrap&quot; is intended to lock down your dependencies for <p>Since &quot;npm shrinkwrap&quot; is intended to lock down your dependencies for
production use, <code>devDependencies</code> will not be included unless you production use, <code>devDependencies</code> will not be included unless you
explicitly set the <code>--dev</code> flag when you run <code>npm shrinkwrap</code>. If explicitly set the <code>--dev</code> flag when you run <code>npm shrinkwrap</code>. If
installed <code>devDependencies</code> are excluded, then npm will print a installed <code>devDependencies</code> are excluded, then npm will print a
warning. If you want them to be installed with your module by warning. If you want them to be installed with your module by
default, please consider adding them to <code>dependencies</code> instead.</p> default, please consider adding them to <code>dependencies</code> instead.</p>
<p>If shrinkwrapped package A depends on shrinkwrapped package B, B&#39;s <p>If shrinkwrapped package A depends on shrinkwrapped package B, B&#39;s
shrinkwrap will not be used as part of the installation of A. However, shrinkwrap will not be used as part of the installation of A. However,
because A&#39;s shrinkwrap is constructed from a valid installation of B because A&#39;s shrinkwrap is constructed from a valid installation of B
and recursively specifies all dependencies, the contents of B&#39;s and recursively specifies all dependencies, the contents of B&#39;s
shrinkwrap will implicitly be included in A&#39;s shrinkwrap.</p> shrinkwrap will implicitly be included in A&#39;s shrinkwrap.</p>
<h3 id="caveats">Caveats</h3>
<h3 id="Caveats">Caveats</h3>
<p>Shrinkwrap files only lock down package versions, not actual package <p>Shrinkwrap files only lock down package versions, not actual package
contents. While discouraged, a package author can republish an contents. While discouraged, a package author can republish an
existing version of a package, causing shrinkwrapped packages using existing version of a package, causing shrinkwrapped packages using
@ -175,16 +149,18 @@ want to avoid any risk that a byzantine author replaces a package
you&#39;re using with code that breaks your application, you could modify you&#39;re using with code that breaks your application, you could modify
the shrinkwrap file to use git URL references rather than version the shrinkwrap file to use git URL references rather than version
numbers so that npm always fetches all packages from git.</p> numbers so that npm always fetches all packages from git.</p>
<p>If you wish to lock down the specific bytes included in a package, for <p>If you wish to lock down the specific bytes included in a package, for
example to have 100% confidence in being able to reproduce a example to have 100% confidence in being able to reproduce a
deployment or build, then you ought to check your dependencies into deployment or build, then you ought to check your dependencies into
source control, or pursue some other mechanism that can verify source control, or pursue some other mechanism that can verify
contents rather than versions.</p> contents rather than versions.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../cli/npm-ls.html">npm-ls(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -196,5 +172,5 @@ contents rather than versions.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-shrinkwrap &mdash; npm@1.4.9</p> <p id="footer">npm-shrinkwrap &mdash; npm@1.4.10</p>

23
deps/npm/html/doc/cli/npm-star.html

@ -10,24 +10,21 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-star.html">npm-star</a></h1> <p>Mark your favorite packages</p> <h1><a href="../cli/npm-star.html">npm-star</a></h1> <p>Mark your favorite packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm star &lt;pkgname&gt; [&lt;pkg&gt;, ...] <pre><code>npm star &lt;pkgname&gt; [&lt;pkg&gt;, ...]
npm unstar &lt;pkgname&gt; [&lt;pkg&gt;, ...]</code></pre> npm unstar &lt;pkgname&gt; [&lt;pkg&gt;, ...]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>&quot;Starring&quot; a package means that you have some interest in it. It&#39;s <p>&quot;Starring&quot; a package means that you have some interest in it. It&#39;s
a vaguely positive way to show that you care.</p> a vaguely positive way to show that you care.</p>
<p>&quot;Unstarring&quot; is the same thing, but in reverse.</p> <p>&quot;Unstarring&quot; is the same thing, but in reverse.</p>
<p>It&#39;s a boolean thing. Starring repeatedly has no additional effect.</p> <p>It&#39;s a boolean thing. Starring repeatedly has no additional effect.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-view.html">npm-view(1)</a></li>
<li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -39,5 +36,5 @@ a vaguely positive way to show that you care.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-star &mdash; npm@1.4.9</p> <p id="footer">npm-star &mdash; npm@1.4.10</p>

23
deps/npm/html/doc/cli/npm-stars.html

@ -10,23 +10,22 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-stars.html">npm-stars</a></h1> <p>View packages marked as favorites</p> <h1><a href="../cli/npm-stars.html">npm-stars</a></h1> <p>View packages marked as favorites</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm stars <pre><code>npm stars
npm stars [username]</code></pre> npm stars [username]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If you have starred a lot of neat things and want to find them again <p>If you have starred a lot of neat things and want to find them again
quickly this command lets you do just that.</p> quickly this command lets you do just that.</p>
<p>You may also want to see your friend&#39;s favorite packages, in this case <p>You may also want to see your friend&#39;s favorite packages, in this case
you will most certainly enjoy this command.</p> you will most certainly enjoy this command.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-star.html">npm-star(1)</a></li>
<li><a href="../cli/npm-view.html">npm-view(1)</a></li>
<li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-star.html">npm-star(1)</a></li><li><a href="../cli/npm-view.html">npm-view(1)</a></li><li><a href="../cli/npm-whoami.html">npm-whoami(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -38,5 +37,5 @@ you will most certainly enjoy this command.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-stars &mdash; npm@1.4.9</p> <p id="footer">npm-stars &mdash; npm@1.4.10</p>

23
deps/npm/html/doc/cli/npm-start.html

@ -10,18 +10,19 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-start.html">npm-start</a></h1> <p>Start a package</p> <h1><a href="../cli/npm-start.html">npm-start</a></h1> <p>Start a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm start &lt;name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm start &lt;name&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;start&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;start&quot; script, if one was provided.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-test.html">npm-test(1)</a></li>
<li><a href="../cli/npm-restart.html">npm-restart(1)</a></li>
<li><a href="../cli/npm-stop.html">npm-stop(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +34,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-start &mdash; npm@1.4.9</p> <p id="footer">npm-start &mdash; npm@1.4.10</p>

23
deps/npm/html/doc/cli/npm-stop.html

@ -10,18 +10,19 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-stop.html">npm-stop</a></h1> <p>Stop a package</p> <h1><a href="../cli/npm-stop.html">npm-stop</a></h1> <p>Stop a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm stop &lt;name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm stop &lt;name&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;stop&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;stop&quot; script, if one was provided.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-test.html">npm-test(1)</a></li>
<li><a href="../cli/npm-start.html">npm-start(1)</a></li>
<li><a href="../cli/npm-restart.html">npm-restart(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +34,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-stop &mdash; npm@1.4.9</p> <p id="footer">npm-stop &mdash; npm@1.4.10</p>

22
deps/npm/html/doc/cli/npm-submodule.html

@ -10,31 +10,27 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p> <h1><a href="../cli/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm submodule &lt;pkg&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm submodule &lt;pkg&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>If the specified package has a git repository url in its package.json <p>If the specified package has a git repository url in its package.json
description, then this command will add it as a git submodule at description, then this command will add it as a git submodule at
<code>node_modules/&lt;pkg name&gt;</code>.</p> <code>node_modules/&lt;pkg name&gt;</code>.</p>
<p>This is a convenience only. From then on, it&#39;s up to you to manage <p>This is a convenience only. From then on, it&#39;s up to you to manage
updates by using the appropriate git commands. npm will stubbornly updates by using the appropriate git commands. npm will stubbornly
refuse to update, modify, or remove anything with a <code>.git</code> subfolder refuse to update, modify, or remove anything with a <code>.git</code> subfolder
in it.</p> in it.</p>
<p>This command also does not install missing dependencies, if the package <p>This command also does not install missing dependencies, if the package
does not include them in its git repository. If <code>npm ls</code> reports that does not include them in its git repository. If <code>npm ls</code> reports that
things are missing, you can either install, link, or submodule them yourself, things are missing, you can either install, link, or submodule them yourself,
or you can do <code>npm explore &lt;pkgname&gt; -- npm install</code> to install the or you can do <code>npm explore &lt;pkgname&gt; -- npm install</code> to install the
dependencies into the submodule folder.</p> dependencies into the submodule folder.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li>git help submodule</li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../files/package.json.html">package.json(5)</a></li><li>git help submodule</li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -46,5 +42,5 @@ dependencies into the submodule folder.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-submodule &mdash; npm@1.4.9</p> <p id="footer">npm-submodule &mdash; npm@1.4.10</p>

39
deps/npm/html/doc/cli/npm-tag.html

@ -10,32 +10,29 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-tag.html">npm-tag</a></h1> <p>Tag a published version</p> <h1><a href="../cli/npm-tag.html">npm-tag</a></h1> <p>Tag a published version</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm tag &lt;name&gt;@&lt;version&gt; [&lt;tag&gt;]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm tag &lt;name&gt;@&lt;version&gt; [&lt;tag&gt;]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Tags the specified version of the package with the specified tag, or the <p>Tags the specified version of the package with the specified tag, or the
<code>--tag</code> config if not specified.</p> <code>--tag</code> config if not specified.</p>
<p>A tag can be used when installing packages as a reference to a version instead <p>A tag can be used when installing packages as a reference to a version instead
of using a specific version number:</p> of using a specific version number:</p>
<pre><code>npm install &lt;name&gt;@&lt;tag&gt;
<pre><code>npm install &lt;name&gt;@&lt;tag&gt;</code></pre> </code></pre><p>When installing dependencies, a preferred tagged version may be specified:</p>
<pre><code>npm install --tag &lt;tag&gt;
<p>When installing dependencies, a preferred tagged version may be specified:</p> </code></pre><p>This also applies to <code>npm dedupe</code>.</p>
<pre><code>npm install --tag &lt;tag&gt;</code></pre>
<p>This also applies to <code>npm dedupe</code>.</p>
<p>Publishing a package always sets the &quot;latest&quot; tag to the published version.</p> <p>Publishing a package always sets the &quot;latest&quot; tag to the published version.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -47,5 +44,5 @@ of using a specific version number:</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-tag &mdash; npm@1.4.9</p> <p id="footer">npm-tag &mdash; npm@1.4.10</p>

24
deps/npm/html/doc/cli/npm-test.html

@ -10,22 +10,22 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-test.html">npm-test</a></h1> <p>Test a package</p> <h1><a href="../cli/npm-test.html">npm-test</a></h1> <p>Test a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code> npm test &lt;name&gt; <pre><code> npm test &lt;name&gt;
npm tst &lt;name&gt;</code></pre> npm tst &lt;name&gt;
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This runs a package&#39;s &quot;test&quot; script, if one was provided.</p> <p>This runs a package&#39;s &quot;test&quot; script, if one was provided.</p>
<p>To run tests as a condition of installation, set the <code>npat</code> config to <p>To run tests as a condition of installation, set the <code>npat</code> config to
true.</p> true.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-start.html">npm-start(1)</a></li>
<li><a href="../cli/npm-restart.html">npm-restart(1)</a></li>
<li><a href="../cli/npm-stop.html">npm-stop(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-run-script.html">npm-run-script(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -37,5 +37,5 @@ true.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-test &mdash; npm@1.4.9</p> <p id="footer">npm-test &mdash; npm@1.4.10</p>

46
deps/npm/html/doc/cli/npm-uninstall.html

@ -10,38 +10,40 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-rm.html">npm-rm</a></h1> <p>Remove a package</p> <h1><a href="../cli/npm-rm.html">npm-rm</a></h1> <p>Remove a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm uninstall &lt;name&gt; [--save|--save-dev|--save-optional] <pre><code>npm uninstall &lt;name&gt; [--save|--save-dev|--save-optional]
npm rm (with any of the previous argument usage)</code></pre> npm rm (with any of the previous argument usage)
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This uninstalls a package, completely removing everything npm installed <p>This uninstalls a package, completely removing everything npm installed
on its behalf.</p> on its behalf.</p>
<p>Example:</p> <p>Example:</p>
<pre><code>npm uninstall sax
<pre><code>npm uninstall sax</code></pre> </code></pre><p>In global mode (ie, with <code>-g</code> or <code>--global</code> appended to the command),
<p>In global mode (ie, with <code>-g</code> or <code>--global</code> appended to the command),
it uninstalls the current package context as a global package.</p> it uninstalls the current package context as a global package.</p>
<p><code>npm uninstall</code> takes 3 exclusive, optional flags which save or update <p><code>npm uninstall</code> takes 3 exclusive, optional flags which save or update
the package version in your main package.json:</p> the package version in your main package.json:</p>
<ul>
<ul><li><p><code>--save</code>: Package will be removed from your <code>dependencies</code>.</p></li><li><p><code>--save-dev</code>: Package will be removed from your <code>devDependencies</code>.</p></li><li><p><code>--save-optional</code>: Package will be removed from your <code>optionalDependencies</code>.</p></li></ul> <li><p><code>--save</code>: Package will be removed from your <code>dependencies</code>.</p>
</li>
<li><p><code>--save-dev</code>: Package will be removed from your <code>devDependencies</code>.</p>
</li>
<li><p><code>--save-optional</code>: Package will be removed from your <code>optionalDependencies</code>.</p>
</li>
</ul>
<p>Examples:</p> <p>Examples:</p>
<pre><code>npm uninstall sax --save <pre><code>npm uninstall sax --save
npm uninstall node-tap --save-dev npm uninstall node-tap --save-dev
npm uninstall dtrace-provider --save-optional</code></pre> npm uninstall dtrace-provider --save-optional
</code></pre><h2 id="see-also">SEE ALSO</h2>
<h2 id="SEE-ALSO">SEE ALSO</h2> <ul>
<li><a href="../cli/npm-prune.html">npm-prune(1)</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>
<ul><li><a href="../cli/npm-prune.html">npm-prune(1)</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> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -53,5 +55,5 @@ npm uninstall dtrace-provider --save-optional</code></pre>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-uninstall &mdash; npm@1.4.9</p> <p id="footer">npm-uninstall &mdash; npm@1.4.10</p>

31
deps/npm/html/doc/cli/npm-unpublish.html

@ -10,36 +10,31 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p> <h1><a href="../cli/npm-unpublish.html">npm-unpublish</a></h1> <p>Remove a package from the registry</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm unpublish &lt;name&gt;[@&lt;version&gt;]
</code></pre><h2 id="warning">WARNING</h2>
<pre><code>npm unpublish &lt;name&gt;[@&lt;version&gt;]</code></pre>
<h2 id="WARNING">WARNING</h2>
<p><strong>It is generally considered bad behavior to remove versions of a library <p><strong>It is generally considered bad behavior to remove versions of a library
that others are depending on!</strong></p> that others are depending on!</strong></p>
<p>Consider using the <code>deprecate</code> command <p>Consider using the <code>deprecate</code> command
instead, if your intent is to encourage users to upgrade.</p> instead, if your intent is to encourage users to upgrade.</p>
<p>There is plenty of room on the registry.</p> <p>There is plenty of room on the registry.</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This removes a package version from the registry, deleting its <p>This removes a package version from the registry, deleting its
entry and removing the tarball.</p> entry and removing the tarball.</p>
<p>If no version is specified, or if all versions are removed then <p>If no version is specified, or if all versions are removed then
the root package entry is removed from the registry entirely.</p> the root package entry is removed from the registry entirely.</p>
<p>Even if a package version is unpublished, that specific name and <p>Even if a package version is unpublished, that specific name and
version combination can never be reused. In order to publish the version combination can never be reused. In order to publish the
package again, a new version number must be used.</p> package again, a new version number must be used.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
<li><a href="../cli/npm-owner.html">npm-owner(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -51,5 +46,5 @@ package again, a new version number must be used.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-unpublish &mdash; npm@1.4.9</p> <p id="footer">npm-unpublish &mdash; npm@1.4.10</p>

25
deps/npm/html/doc/cli/npm-update.html

@ -10,24 +10,23 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-update.html">npm-update</a></h1> <p>Update a package</p> <h1><a href="../cli/npm-update.html">npm-update</a></h1> <p>Update a package</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm update [-g] [&lt;name&gt; [&lt;name&gt; ...]]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm update [-g] [&lt;name&gt; [&lt;name&gt; ...]]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command will update all the packages listed to the latest version <p>This command will update all the packages listed to the latest version
(specified by the <code>tag</code> config).</p> (specified by the <code>tag</code> config).</p>
<p>It will also install missing packages.</p> <p>It will also install missing packages.</p>
<p>If the <code>-g</code> flag is specified, this command will update globally installed packages. <p>If the <code>-g</code> flag is specified, this command will update globally installed packages.
If no package name is specified, all packages in the specified location (global or local) will be updated.</p> If no package name is specified, all packages in the specified location (global or local) will be updated.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
<li><a href="../cli/npm-ls.html">npm-ls(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li><li><a href="../cli/npm-ls.html">npm-ls(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -39,5 +38,5 @@ If no package name is specified, all packages in the specified location (global
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-update &mdash; npm@1.4.9</p> <p id="footer">npm-update &mdash; npm@1.4.10</p>

33
deps/npm/html/doc/cli/npm-version.html

@ -10,35 +10,25 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-version.html">npm-version</a></h1> <p>Bump a package version</p> <h1><a href="../cli/npm-version.html">npm-version</a></h1> <p>Bump a package version</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm version [&lt;newversion&gt; | major | minor | patch]
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm version [&lt;newversion&gt; | major | minor | patch]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Run this in a package directory to bump the version and write the new <p>Run this in a package directory to bump the version and write the new
data back to the package.json file.</p> data back to the package.json file.</p>
<p>The <code>newversion</code> argument should be a valid semver string, <em>or</em> a valid <p>The <code>newversion</code> argument should be a valid semver string, <em>or</em> a valid
second argument to semver.inc (one of &quot;patch&quot;, &quot;minor&quot;, or second argument to semver.inc (one of &quot;patch&quot;, &quot;minor&quot;, or
&quot;major&quot;). In the second case, the existing version will be incremented &quot;major&quot;). In the second case, the existing version will be incremented
by 1 in the specified field.</p> by 1 in the specified field.</p>
<p>If run in a git repo, it will also create a version commit and tag, and <p>If run in a git repo, it will also create a version commit and tag, and
fail if the repo is not clean.</p> fail if the repo is not clean.</p>
<p>If supplied with <code>--message</code> (shorthand: <code>-m</code>) config option, npm will <p>If supplied with <code>--message</code> (shorthand: <code>-m</code>) config option, npm will
use it as a commit message when creating a version commit. If the use it as a commit message when creating a version commit. If the
<code>message</code> config contains <code>%s</code> then that will be replaced with the <code>message</code> config contains <code>%s</code> then that will be replaced with the
resulting version number. For example:</p> resulting version number. For example:</p>
<pre><code>npm version patch -m &quot;Upgrade to %s for reasons&quot;
<pre><code>npm version patch -m &quot;Upgrade to %s for reasons&quot;</code></pre> </code></pre><p>If the <code>sign-git-tag</code> config is set, then the tag will be signed using
<p>If the <code>sign-git-tag</code> config is set, then the tag will be signed using
the <code>-s</code> flag to git. Note that you must have a default GPG key set up the <code>-s</code> flag to git. Note that you must have a default GPG key set up
in your git config for this to work properly. For example:</p> in your git config for this to work properly. For example:</p>
<pre><code>$ npm config set sign-git-tag true <pre><code>$ npm config set sign-git-tag true
$ npm version patch $ npm version patch
@ -46,11 +36,14 @@ You need a passphrase to unlock the secret key for
user: &quot;isaacs (http://blog.izs.me/) &lt;i@izs.me&gt;&quot; user: &quot;isaacs (http://blog.izs.me/) &lt;i@izs.me&gt;&quot;
2048-bit RSA key, ID 6C481CF6, created 2010-08-31 2048-bit RSA key, ID 6C481CF6, created 2010-08-31
Enter passphrase:</code></pre> Enter passphrase:
</code></pre><h2 id="see-also">SEE ALSO</h2>
<h2 id="SEE-ALSO">SEE ALSO</h2> <ul>
<li><a href="../cli/npm-init.html">npm-init(1)</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../misc/semver.html">semver(7)</a></li>
</ul>
<ul><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/semver.html">semver(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -62,5 +55,5 @@ Enter passphrase:</code></pre>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-version &mdash; npm@1.4.9</p> <p id="footer">npm-version &mdash; npm@1.4.10</p>

84
deps/npm/html/doc/cli/npm-view.html

@ -10,89 +10,67 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-view.html">npm-view</a></h1> <p>View registry info</p> <h1><a href="../cli/npm-view.html">npm-view</a></h1> <p>View registry info</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pre><code>npm view &lt;name&gt;[@&lt;version&gt;] [&lt;field&gt;[.&lt;subfield&gt;]...] <pre><code>npm view &lt;name&gt;[@&lt;version&gt;] [&lt;field&gt;[.&lt;subfield&gt;]...]
npm v &lt;name&gt;[@&lt;version&gt;] [&lt;field&gt;[.&lt;subfield&gt;]...]</code></pre> npm v &lt;name&gt;[@&lt;version&gt;] [&lt;field&gt;[.&lt;subfield&gt;]...]
</code></pre><h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This command shows data about a package and prints it to the stream <p>This command shows data about a package and prints it to the stream
referenced by the <code>outfd</code> config, which defaults to stdout.</p> referenced by the <code>outfd</code> config, which defaults to stdout.</p>
<p>To show the package registry entry for the <code>connect</code> package, you can do <p>To show the package registry entry for the <code>connect</code> package, you can do
this:</p> this:</p>
<pre><code>npm view connect
<pre><code>npm view connect</code></pre> </code></pre><p>The default version is &quot;latest&quot; if unspecified.</p>
<p>The default version is &quot;latest&quot; if unspecified.</p>
<p>Field names can be specified after the package descriptor. <p>Field names can be specified after the package descriptor.
For example, to show the dependencies of the <code>ronn</code> package at version For example, to show the dependencies of the <code>ronn</code> package at version
0.3.5, you could do the following:</p> 0.3.5, you could do the following:</p>
<pre><code>npm view ronn@0.3.5 dependencies
<pre><code>npm view ronn@0.3.5 dependencies</code></pre> </code></pre><p>You can view child field by separating them with a period.
<p>You can view child field by separating them with a period.
To view the git repository URL for the latest version of npm, you could To view the git repository URL for the latest version of npm, you could
do this:</p> do this:</p>
<pre><code>npm view npm repository.url
<pre><code>npm view npm repository.url</code></pre> </code></pre><p>This makes it easy to view information about a dependency with a bit of
<p>This makes it easy to view information about a dependency with a bit of
shell scripting. For example, to view all the data about the version of shell scripting. For example, to view all the data about the version of
opts that ronn depends on, you can do this:</p> opts that ronn depends on, you can do this:</p>
<pre><code>npm view opts@$(npm view ronn dependencies.opts)
<pre><code>npm view opts@$(npm view ronn dependencies.opts)</code></pre> </code></pre><p>For fields that are arrays, requesting a non-numeric field will return
<p>For fields that are arrays, requesting a non-numeric field will return
all of the values from the objects in the list. For example, to get all all of the values from the objects in the list. For example, to get all
the contributor names for the &quot;express&quot; project, you can do this:</p> the contributor names for the &quot;express&quot; project, you can do this:</p>
<pre><code>npm view express contributors.email
<pre><code>npm view express contributors.email</code></pre> </code></pre><p>You may also use numeric indices in square braces to specifically select
<p>You may also use numeric indices in square braces to specifically select
an item in an array field. To just get the email address of the first an item in an array field. To just get the email address of the first
contributor in the list, you can do this:</p> contributor in the list, you can do this:</p>
<pre><code>npm view express contributors[0].email
<pre><code>npm view express contributors[0].email</code></pre> </code></pre><p>Multiple fields may be specified, and will be printed one after another.
<p>Multiple fields may be specified, and will be printed one after another.
For exampls, to get all the contributor names and email addresses, you For exampls, to get all the contributor names and email addresses, you
can do this:</p> can do this:</p>
<pre><code>npm view express contributors.name contributors.email
<pre><code>npm view express contributors.name contributors.email</code></pre> </code></pre><p>&quot;Person&quot; fields are shown as a string if they would be shown as an
<p>&quot;Person&quot; fields are shown as a string if they would be shown as an
object. So, for example, this will show the list of npm contributors in object. So, for example, this will show the list of npm contributors in
the shortened string format. (See <code><a href="../files/package.json.html">package.json(5)</a></code> for more on this.)</p> the shortened string format. (See <code><a href="../files/package.json.html">package.json(5)</a></code> for more on this.)</p>
<pre><code>npm view npm contributors
<pre><code>npm view npm contributors</code></pre> </code></pre><p>If a version range is provided, then data will be printed for every
<p>If a version range is provided, then data will be printed for every
matching version of the package. This will show which version of jsdom matching version of the package. This will show which version of jsdom
was required by each matching version of yui3:</p> was required by each matching version of yui3:</p>
<pre><code>npm view yui3@&#39;&gt;0.5.4&#39; dependencies.jsdom
<pre><code>npm view yui3@&#39;&gt;0.5.4&#39; dependencies.jsdom</code></pre> </code></pre><h2 id="output">OUTPUT</h2>
<h2 id="OUTPUT">OUTPUT</h2>
<p>If only a single string field for a single version is output, then it <p>If only a single string field for a single version is output, then it
will not be colorized or quoted, so as to enable piping the output to will not be colorized or quoted, so as to enable piping the output to
another command. If the field is an object, it will be output as a JavaScript object literal.</p> another command. If the field is an object, it will be output as a JavaScript object literal.</p>
<p>If the --json flag is given, the outputted fields will be JSON.</p> <p>If the --json flag is given, the outputted fields will be JSON.</p>
<p>If the version range matches multiple versions, than each printed value <p>If the version range matches multiple versions, than each printed value
will be prefixed with the version it applies to.</p> will be prefixed with the version it applies to.</p>
<p>If multiple fields are requested, than each of them are prefixed with <p>If multiple fields are requested, than each of them are prefixed with
the field name.</p> the field name.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm-search.html">npm-search(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</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>
<li><a href="../cli/npm-docs.html">npm-docs(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm-search.html">npm-search(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</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><li><a href="../cli/npm-docs.html">npm-docs(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -104,5 +82,5 @@ the field name.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-view &mdash; npm@1.4.9</p> <p id="footer">npm-view &mdash; npm@1.4.10</p>

22
deps/npm/html/doc/cli/npm-whoami.html

@ -10,18 +10,18 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm-whoami.html">npm-whoami</a></h1> <p>Display npm username</p> <h1><a href="../cli/npm-whoami.html">npm-whoami</a></h1> <p>Display npm username</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm whoami
</code></pre><h2 id="description">DESCRIPTION</h2>
<pre><code>npm whoami</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Print the <code>username</code> config to standard output.</p> <p>Print the <code>username</code> config to standard output.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<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>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><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><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -33,5 +33,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-whoami &mdash; npm@1.4.9</p> <p id="footer">npm-whoami &mdash; npm@1.4.10</p>

149
deps/npm/html/doc/cli/npm.html

@ -10,129 +10,126 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../cli/npm.html">npm</a></h1> <p>node package manager</p> <h1><a href="../cli/npm.html">npm</a></h1> <p>node package manager</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><code>npm &lt;command&gt; [args]
</code></pre><h2 id="version">VERSION</h2>
<pre><code>npm &lt;command&gt; [args]</code></pre> <p>1.4.10</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="VERSION">VERSION</h2>
<p>1.4.9</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm is the package manager for the Node JavaScript platform. It puts <p>npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency modules in place so that node can find them, and manages dependency
conflicts intelligently.</p> conflicts intelligently.</p>
<p>It is extremely configurable to support a wide variety of use cases. <p>It is extremely configurable to support a wide variety of use cases.
Most commonly, it is used to publish, discover, install, and develop node Most commonly, it is used to publish, discover, install, and develop node
programs.</p> programs.</p>
<p>Run <code>npm help</code> to get a list of available commands.</p> <p>Run <code>npm help</code> to get a list of available commands.</p>
<h2 id="introduction">INTRODUCTION</h2>
<h2 id="INTRODUCTION">INTRODUCTION</h2>
<p>You probably got npm because you want to install stuff.</p> <p>You probably got npm because you want to install stuff.</p>
<p>Use <code>npm install blerg</code> to install the latest version of &quot;blerg&quot;. Check out <p>Use <code>npm install blerg</code> to install the latest version of &quot;blerg&quot;. Check out
<code><a href="../cli/npm-install.html">npm-install(1)</a></code> for more info. It can do a lot of stuff.</p> <code><a href="../cli/npm-install.html">npm-install(1)</a></code> for more info. It can do a lot of stuff.</p>
<p>Use the <code>npm search</code> command to show everything that&#39;s available. <p>Use the <code>npm search</code> command to show everything that&#39;s available.
Use <code>npm ls</code> to show everything you&#39;ve installed.</p> Use <code>npm ls</code> to show everything you&#39;ve installed.</p>
<h2 id="directories">DIRECTORIES</h2>
<h2 id="DIRECTORIES">DIRECTORIES</h2>
<p>See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code> to learn about where npm puts stuff.</p> <p>See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code> to learn about where npm puts stuff.</p>
<p>In particular, npm has two modes of operation:</p> <p>In particular, npm has two modes of operation:</p>
<ul>
<ul><li>global mode:<br />npm installs packages into the install prefix at <li>global mode:<br>npm installs packages into the install prefix at
<code>prefix/lib/node_modules</code> and bins are installed in <code>prefix/bin</code>.</li><li>local mode:<br />npm installs packages into the current project directory, which <code>prefix/lib/node_modules</code> and bins are installed in <code>prefix/bin</code>.</li>
<li>local mode:<br>npm installs packages into the current project directory, which
defaults to the current working directory. Packages are installed to defaults to the current working directory. Packages are installed to
<code>./node_modules</code>, and bins are installed to <code>./node_modules/.bin</code>.</li></ul> <code>./node_modules</code>, and bins are installed to <code>./node_modules/.bin</code>.</li>
</ul>
<p>Local mode is the default. Use <code>--global</code> or <code>-g</code> on any command to <p>Local mode is the default. Use <code>--global</code> or <code>-g</code> on any command to
operate in global mode instead.</p> operate in global mode instead.</p>
<h2 id="developer-usage">DEVELOPER USAGE</h2>
<h2 id="DEVELOPER-USAGE">DEVELOPER USAGE</h2>
<p>If you&#39;re using npm to develop and publish your code, check out the <p>If you&#39;re using npm to develop and publish your code, check out the
following help topics:</p> following help topics:</p>
<ul>
<ul><li>json: <li>json:
Make a package.json file. See <code><a href="../files/package.json.html">package.json(5)</a></code>.</li><li>link: Make a package.json file. See <code><a href="../files/package.json.html">package.json(5)</a></code>.</li>
<li>link:
For linking your current working code into Node&#39;s path, so that you For linking your current working code into Node&#39;s path, so that you
don&#39;t have to reinstall every time you make a change. Use don&#39;t have to reinstall every time you make a change. Use
<code>npm link</code> to do this.</li><li>install: <code>npm link</code> to do this.</li>
<li>install:
It&#39;s a good idea to install things if you don&#39;t need the symbolic link. It&#39;s a good idea to install things if you don&#39;t need the symbolic link.
Especially, installing other peoples code from the registry is done via Especially, installing other peoples code from the registry is done via
<code>npm install</code></li><li>adduser: <code>npm install</code></li>
<li>adduser:
Create an account or log in. Credentials are stored in the Create an account or log in. Credentials are stored in the
user config file.</li><li>publish: user config file.</li>
Use the <code>npm publish</code> command to upload your code to the registry.</li></ul> <li>publish:
Use the <code>npm publish</code> command to upload your code to the registry.</li>
<h2 id="CONFIGURATION">CONFIGURATION</h2> </ul>
<h2 id="configuration">CONFIGURATION</h2>
<p>npm is extremely configurable. It reads its configuration options from <p>npm is extremely configurable. It reads its configuration options from
5 places.</p> 5 places.</p>
<ul>
<ul><li>Command line switches:<br />Set a config with <code>--key val</code>. All keys take a value, even if they <li>Command line switches:<br>Set a config with <code>--key val</code>. All keys take a value, even if they
are booleans (the config parser doesn&#39;t know what the options are at are booleans (the config parser doesn&#39;t know what the options are at
the time of parsing.) If no value is provided, then the option is set the time of parsing.) If no value is provided, then the option is set
to boolean <code>true</code>.</li><li>Environment Variables:<br />Set any config by prefixing the name in an environment variable with to boolean <code>true</code>.</li>
<code>npm_config_</code>. For example, <code>export npm_config_key=val</code>.</li><li>User Configs:<br />The file at $HOME/.npmrc is an ini-formatted list of configs. If <li>Environment Variables:<br>Set any config by prefixing the name in an environment variable with
<code>npm_config_</code>. For example, <code>export npm_config_key=val</code>.</li>
<li>User Configs:<br>The file at $HOME/.npmrc is an ini-formatted list of configs. If
present, it is parsed. If the <code>userconfig</code> option is set in the cli present, it is parsed. If the <code>userconfig</code> option is set in the cli
or env, then that will be used instead.</li><li>Global Configs:<br />The file found at ../etc/npmrc (from the node executable, by default or env, then that will be used instead.</li>
<li>Global Configs:<br>The file found at ../etc/npmrc (from the node executable, by default
this resolves to /usr/local/etc/npmrc) will be parsed if it is found. this resolves to /usr/local/etc/npmrc) will be parsed if it is found.
If the <code>globalconfig</code> option is set in the cli, env, or user config, If the <code>globalconfig</code> option is set in the cli, env, or user config,
then that file is parsed instead.</li><li>Defaults:<br />npm&#39;s default configuration options are defined in then that file is parsed instead.</li>
lib/utils/config-defs.js. These must not be changed.</li></ul> <li>Defaults:<br>npm&#39;s default configuration options are defined in
lib/utils/config-defs.js. These must not be changed.</li>
</ul>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for much much more information.</p> <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for much much more information.</p>
<h2 id="contributions">CONTRIBUTIONS</h2>
<h2 id="CONTRIBUTIONS">CONTRIBUTIONS</h2>
<p>Patches welcome!</p> <p>Patches welcome!</p>
<ul>
<ul><li>code: <li>code:
Read through <code><a href="../misc/npm-coding-style.html">npm-coding-style(7)</a></code> if you plan to submit code. Read through <code><a href="../misc/npm-coding-style.html">npm-coding-style(7)</a></code> if you plan to submit code.
You don&#39;t have to agree with it, but you do have to follow it.</li><li>docs: You don&#39;t have to agree with it, but you do have to follow it.</li>
<li>docs:
If you find an error in the documentation, edit the appropriate markdown If you find an error in the documentation, edit the appropriate markdown
file in the &quot;doc&quot; folder. (Don&#39;t worry about generating the man page.)</li></ul> file in the &quot;doc&quot; folder. (Don&#39;t worry about generating the man page.)</li>
</ul>
<p>Contributors are listed in npm&#39;s <code>package.json</code> file. You can view them <p>Contributors are listed in npm&#39;s <code>package.json</code> file. You can view them
easily by doing <code>npm view npm contributors</code>.</p> easily by doing <code>npm view npm contributors</code>.</p>
<p>If you would like to contribute, but don&#39;t know what to work on, check <p>If you would like to contribute, but don&#39;t know what to work on, check
the issues list or ask on the mailing list.</p> the issues list or ask on the mailing list.</p>
<ul>
<ul><li><a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li><li><a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li></ul> <li><a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li>
<li><a href="&#109;&#x61;&#105;&#108;&#x74;&#111;&#58;&#110;&#112;&#109;&#x2d;&#x40;&#103;&#111;&#x6f;&#x67;&#108;&#x65;&#103;&#x72;&#x6f;&#117;&#112;&#x73;&#46;&#x63;&#x6f;&#x6d;">&#110;&#112;&#109;&#x2d;&#x40;&#103;&#111;&#x6f;&#x67;&#108;&#x65;&#103;&#x72;&#x6f;&#117;&#112;&#x73;&#46;&#x63;&#x6f;&#x6d;</a></li>
<h2 id="BUGS">BUGS</h2> </ul>
<h2 id="bugs">BUGS</h2>
<p>When you find issues, please report them:</p> <p>When you find issues, please report them:</p>
<ul>
<ul><li>web: <li>web:
<a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li><li>email: <a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li>
<a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li></ul> <li>email:
<a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#x3a;&#x6e;&#112;&#109;&#x2d;&#x40;&#103;&#111;&#x6f;&#103;&#108;&#x65;&#x67;&#114;&#111;&#x75;&#x70;&#115;&#x2e;&#x63;&#111;&#x6d;">&#x6e;&#112;&#109;&#x2d;&#x40;&#103;&#111;&#x6f;&#103;&#108;&#x65;&#x67;&#114;&#111;&#x75;&#x70;&#115;&#x2e;&#x63;&#111;&#x6d;</a></li>
</ul>
<p>Be sure to include <em>all</em> of the output from the npm command that didn&#39;t work <p>Be sure to include <em>all</em> of the output from the npm command that didn&#39;t work
as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p> as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p>
<p>You can also look for isaacs in #node.js on irc://irc.freenode.net. He <p>You can also look for isaacs in #node.js on irc://irc.freenode.net. He
will no doubt tell you to put the output in a gist or email.</p> will no doubt tell you to put the output in a gist or email.</p>
<h2 id="author">AUTHOR</h2>
<h2 id="AUTHOR">AUTHOR</h2>
<p><a href="http://blog.izs.me/">Isaac Z. Schlueter</a> :: <p><a href="http://blog.izs.me/">Isaac Z. Schlueter</a> ::
<a href="https://github.com/isaacs/">isaacs</a> :: <a href="https://github.com/isaacs/">isaacs</a> ::
<a href="http://twitter.com/izs">@izs</a> :: <a href="http://twitter.com/izs">@izs</a> ::
<a href="mailto:i@izs.me">i@izs.me</a></p> <a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#x3a;&#x69;&#64;&#105;&#x7a;&#115;&#46;&#x6d;&#x65;">&#x69;&#64;&#105;&#x7a;&#115;&#46;&#x6d;&#x65;</a></p>
<h2 id="see-also">SEE ALSO</h2>
<h2 id="SEE-ALSO">SEE ALSO</h2> <ul>
<li><a href="../cli/npm-help.html">npm-help(1)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../../doc/README.html">README</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="../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>
<li><a href="../misc/npm-index.html">npm-index(7)</a></li>
<li><a href="../api/npm.html">npm(3)</a></li>
</ul>
<ul><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../../doc/README.html">README</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="../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><li><a href="../misc/npm-index.html">npm-index(7)</a></li><li><a href="../api/npm.html">npm(3)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -144,5 +141,5 @@ will no doubt tell you to put the output in a gist or email.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm &mdash; npm@1.4.9</p> <p id="footer">npm &mdash; npm@1.4.10</p>

115
deps/npm/html/doc/files/npm-folders.html

@ -10,119 +10,87 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../files/npm-folders.html">npm-folders</a></h1> <p>Folder Structures Used by npm</p> <h1><a href="../files/npm-folders.html">npm-folders</a></h1> <p>Folder Structures Used by npm</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm puts various things on your computer. That&#39;s its job.</p> <p>npm puts various things on your computer. That&#39;s its job.</p>
<p>This document will tell you what it puts where.</p> <p>This document will tell you what it puts where.</p>
<h3 id="tl-dr">tl;dr</h3> <h3 id="tl-dr">tl;dr</h3>
<ul>
<ul><li>Local install (default): puts stuff in <code>./node_modules</code> of the current <li>Local install (default): puts stuff in <code>./node_modules</code> of the current
package root.</li><li>Global install (with <code>-g</code>): puts stuff in /usr/local or wherever node package root.</li>
is installed.</li><li>Install it <strong>locally</strong> if you&#39;re going to <code>require()</code> it.</li><li>Install it <strong>globally</strong> if you&#39;re going to run it on the command line.</li><li>If you need both, then install it in both places, or use <code>npm link</code>.</li></ul> <li>Global install (with <code>-g</code>): puts stuff in /usr/local or wherever node
is installed.</li>
<h3 id="prefix-Configuration">prefix Configuration</h3> <li>Install it <strong>locally</strong> if you&#39;re going to <code>require()</code> it.</li>
<li>Install it <strong>globally</strong> if you&#39;re going to run it on the command line.</li>
<li>If you need both, then install it in both places, or use <code>npm link</code>.</li>
</ul>
<h3 id="prefix-configuration">prefix Configuration</h3>
<p>The <code>prefix</code> config defaults to the location where node is installed. <p>The <code>prefix</code> config defaults to the location where node is installed.
On most systems, this is <code>/usr/local</code>, and most of the time is the same On most systems, this is <code>/usr/local</code>, and most of the time is the same
as node&#39;s <code>process.installPrefix</code>.</p> as node&#39;s <code>process.installPrefix</code>.</p>
<p>On windows, this is the exact location of the node.exe binary. On Unix <p>On windows, this is the exact location of the node.exe binary. On Unix
systems, it&#39;s one level up, since node is typically installed at systems, it&#39;s one level up, since node is typically installed at
<code>{prefix}/bin/node</code> rather than <code>{prefix}/node.exe</code>.</p> <code>{prefix}/bin/node</code> rather than <code>{prefix}/node.exe</code>.</p>
<p>When the <code>global</code> flag is set, npm installs things into this prefix. <p>When the <code>global</code> flag is set, npm installs things into this prefix.
When it is not set, it uses the root of the current package, or the When it is not set, it uses the root of the current package, or the
current working directory if not in a package already.</p> current working directory if not in a package already.</p>
<h3 id="node-modules">Node Modules</h3>
<h3 id="Node-Modules">Node Modules</h3>
<p>Packages are dropped into the <code>node_modules</code> folder under the <code>prefix</code>. <p>Packages are dropped into the <code>node_modules</code> folder under the <code>prefix</code>.
When installing locally, this means that you can When installing locally, this means that you can
<code>require(&quot;packagename&quot;)</code> to load its main module, or <code>require(&quot;packagename&quot;)</code> to load its main module, or
<code>require(&quot;packagename/lib/path/to/sub/module&quot;)</code> to load other modules.</p> <code>require(&quot;packagename/lib/path/to/sub/module&quot;)</code> to load other modules.</p>
<p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>. <p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>.
Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no
<code>lib</code> folder.)</p> <code>lib</code> folder.)</p>
<p>If you wish to <code>require()</code> a package, then install it locally.</p> <p>If you wish to <code>require()</code> a package, then install it locally.</p>
<h3 id="executables">Executables</h3>
<h3 id="Executables">Executables</h3>
<p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix, <p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix,
or directly into <code>{prefix}</code> on Windows.</p> or directly into <code>{prefix}</code> on Windows.</p>
<p>When in local mode, executables are linked into <p>When in local mode, executables are linked into
<code>./node_modules/.bin</code> so that they can be made available to scripts run <code>./node_modules/.bin</code> so that they can be made available to scripts run
through npm. (For example, so that a test runner will be in the path through npm. (For example, so that a test runner will be in the path
when you run <code>npm test</code>.)</p> when you run <code>npm test</code>.)</p>
<h3 id="man-pages">Man Pages</h3>
<h3 id="Man-Pages">Man Pages</h3>
<p>When in global mode, man pages are linked into <code>{prefix}/share/man</code>.</p> <p>When in global mode, man pages are linked into <code>{prefix}/share/man</code>.</p>
<p>When in local mode, man pages are not installed.</p> <p>When in local mode, man pages are not installed.</p>
<p>Man pages are not installed on Windows systems.</p> <p>Man pages are not installed on Windows systems.</p>
<h3 id="cache">Cache</h3>
<h3 id="Cache">Cache</h3>
<p>See <code><a href="../cli/npm-cache.html">npm-cache(1)</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or <p>See <code><a href="../cli/npm-cache.html">npm-cache(1)</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<code>~/npm-cache</code> on Windows.</p> <code>~/npm-cache</code> on Windows.</p>
<p>This is controlled by the <code>cache</code> configuration param.</p> <p>This is controlled by the <code>cache</code> configuration param.</p>
<h3 id="temp-files">Temp Files</h3>
<h3 id="Temp-Files">Temp Files</h3>
<p>Temporary files are stored by default in the folder specified by the <p>Temporary files are stored by default in the folder specified by the
<code>tmp</code> config, which defaults to the TMPDIR, TMP, or TEMP environment <code>tmp</code> config, which defaults to the TMPDIR, TMP, or TEMP environment
variables, or <code>/tmp</code> on Unix and <code>c:\windows\temp</code> on Windows.</p> variables, or <code>/tmp</code> on Unix and <code>c:\windows\temp</code> on Windows.</p>
<p>Temp files are given a unique folder under this root for each run of the <p>Temp files are given a unique folder under this root for each run of the
program, and are deleted upon successful exit.</p> program, and are deleted upon successful exit.</p>
<h2 id="more-information">More Information</h2>
<h2 id="More-Information">More Information</h2>
<p>When installing locally, npm first tries to find an appropriate <p>When installing locally, npm first tries to find an appropriate
<code>prefix</code> folder. This is so that <code>npm install foo@1.2.3</code> will install <code>prefix</code> folder. This is so that <code>npm install foo@1.2.3</code> will install
to the sensible root of your package, even if you happen to have <code>cd</code>ed to the sensible root of your package, even if you happen to have <code>cd</code>ed
into some other folder.</p> into some other folder.</p>
<p>Starting at the $PWD, npm will walk up the folder tree checking for a <p>Starting at the $PWD, npm will walk up the folder tree checking for a
folder that contains either a <code>package.json</code> file, or a <code>node_modules</code> folder that contains either a <code>package.json</code> file, or a <code>node_modules</code>
folder. If such a thing is found, then that is treated as the effective folder. If such a thing is found, then that is treated as the effective
&quot;current directory&quot; for the purpose of running npm commands. (This &quot;current directory&quot; for the purpose of running npm commands. (This
behavior is inspired by and similar to git&#39;s .git-folder seeking behavior is inspired by and similar to git&#39;s .git-folder seeking
logic when running git commands in a working dir.)</p> logic when running git commands in a working dir.)</p>
<p>If no package root is found, then the current folder is used.</p> <p>If no package root is found, then the current folder is used.</p>
<p>When you run <code>npm install foo@1.2.3</code>, then the package is loaded into <p>When you run <code>npm install foo@1.2.3</code>, then the package is loaded into
the cache, and then unpacked into <code>./node_modules/foo</code>. Then, any of the cache, and then unpacked into <code>./node_modules/foo</code>. Then, any of
foo&#39;s dependencies are similarly unpacked into foo&#39;s dependencies are similarly unpacked into
<code>./node_modules/foo/node_modules/...</code>.</p> <code>./node_modules/foo/node_modules/...</code>.</p>
<p>Any bin files are symlinked to <code>./node_modules/.bin/</code>, so that they may <p>Any bin files are symlinked to <code>./node_modules/.bin/</code>, so that they may
be found by npm scripts when necessary.</p> be found by npm scripts when necessary.</p>
<h3 id="global-installation">Global Installation</h3>
<h3 id="Global-Installation">Global Installation</h3>
<p>If the <code>global</code> configuration is set to true, then npm will <p>If the <code>global</code> configuration is set to true, then npm will
install packages &quot;globally&quot;.</p> install packages &quot;globally&quot;.</p>
<p>For global installation, packages are installed roughly the same way, <p>For global installation, packages are installed roughly the same way,
but using the folders described above.</p> but using the folders described above.</p>
<h3 id="cycles-conflicts-and-folder-parsimony">Cycles, Conflicts, and Folder Parsimony</h3>
<h3 id="Cycles-Conflicts-and-Folder-Parsimony">Cycles, Conflicts, and Folder Parsimony</h3>
<p>Cycles are handled using the property of node&#39;s module system that it <p>Cycles are handled using the property of node&#39;s module system that it
walks up the directories looking for <code>node_modules</code> folders. So, at every walks up the directories looking for <code>node_modules</code> folders. So, at every
stage, if a package is already installed in an ancestor <code>node_modules</code> stage, if a package is already installed in an ancestor <code>node_modules</code>
folder, then it is not installed at the current location.</p> folder, then it is not installed at the current location.</p>
<p>Consider the case above, where <code>foo -&gt; bar -&gt; baz</code>. Imagine if, in <p>Consider the case above, where <code>foo -&gt; bar -&gt; baz</code>. Imagine if, in
addition to that, baz depended on bar, so you&#39;d have: addition to that, baz depended on bar, so you&#39;d have:
<code>foo -&gt; bar -&gt; baz -&gt; bar -&gt; baz ...</code>. However, since the folder <code>foo -&gt; bar -&gt; baz -&gt; bar -&gt; baz ...</code>. However, since the folder
@ -130,21 +98,16 @@ structure is: <code>foo/node_modules/bar/node_modules/baz</code>, there&#39;s no
put another copy of bar into <code>.../baz/node_modules</code>, since when it calls put another copy of bar into <code>.../baz/node_modules</code>, since when it calls
require(&quot;bar&quot;), it will get the copy that is installed in require(&quot;bar&quot;), it will get the copy that is installed in
<code>foo/node_modules/bar</code>.</p> <code>foo/node_modules/bar</code>.</p>
<p>This shortcut is only used if the exact same <p>This shortcut is only used if the exact same
version would be installed in multiple nested <code>node_modules</code> folders. It version would be installed in multiple nested <code>node_modules</code> folders. It
is still possible to have <code>a/node_modules/b/node_modules/a</code> if the two is still possible to have <code>a/node_modules/b/node_modules/a</code> if the two
&quot;a&quot; packages are different versions. However, without repeating the &quot;a&quot; packages are different versions. However, without repeating the
exact same package multiple times, an infinite regress will always be exact same package multiple times, an infinite regress will always be
prevented.</p> prevented.</p>
<p>Another optimization can be made by installing dependencies at the <p>Another optimization can be made by installing dependencies at the
highest level possible, below the localized &quot;target&quot; folder.</p> highest level possible, below the localized &quot;target&quot; folder.</p>
<h4 id="example">Example</h4>
<h4 id="Example">Example</h4>
<p>Consider this dependency graph:</p> <p>Consider this dependency graph:</p>
<pre><code>foo <pre><code>foo
+-- blerg@1.2.5 +-- blerg@1.2.5
+-- bar@1.2.3 +-- bar@1.2.3
@ -155,10 +118,8 @@ highest level possible, below the localized &quot;target&quot; folder.</p>
| `-- asdf@* | `-- asdf@*
`-- baz@1.2.3 `-- baz@1.2.3
`-- quux@3.x `-- quux@3.x
`-- bar</code></pre> `-- bar
</code></pre><p>In this case, we might expect a folder structure like this:</p>
<p>In this case, we might expect a folder structure like this:</p>
<pre><code>foo <pre><code>foo
+-- node_modules +-- node_modules
+-- blerg (1.2.5) &lt;---[A] +-- blerg (1.2.5) &lt;---[A]
@ -170,43 +131,43 @@ highest level possible, below the localized &quot;target&quot; folder.</p>
| `-- asdf (2.3.4) | `-- asdf (2.3.4)
`-- baz (1.2.3) &lt;---[D] `-- baz (1.2.3) &lt;---[D]
`-- node_modules `-- node_modules
`-- quux (3.2.0) &lt;---[E]</code></pre> `-- quux (3.2.0) &lt;---[E]
</code></pre><p>Since foo depends directly on <code>bar@1.2.3</code> and <code>baz@1.2.3</code>, those are
<p>Since foo depends directly on <code>bar@1.2.3</code> and <code>baz@1.2.3</code>, those are
installed in foo&#39;s <code>node_modules</code> folder.</p> installed in foo&#39;s <code>node_modules</code> folder.</p>
<p>Even though the latest copy of blerg is 1.3.7, foo has a specific <p>Even though the latest copy of blerg is 1.3.7, foo has a specific
dependency on version 1.2.5. So, that gets installed at [A]. Since the dependency on version 1.2.5. So, that gets installed at [A]. Since the
parent installation of blerg satisfies bar&#39;s dependency on <code>blerg@1.x</code>, parent installation of blerg satisfies bar&#39;s dependency on <code>blerg@1.x</code>,
it does not install another copy under [B].</p> it does not install another copy under [B].</p>
<p>Bar [B] also has dependencies on baz and asdf, so those are installed in <p>Bar [B] also has dependencies on baz and asdf, so those are installed in
bar&#39;s <code>node_modules</code> folder. Because it depends on <code>baz@2.x</code>, it cannot bar&#39;s <code>node_modules</code> folder. Because it depends on <code>baz@2.x</code>, it cannot
re-use the <code>baz@1.2.3</code> installed in the parent <code>node_modules</code> folder [D], re-use the <code>baz@1.2.3</code> installed in the parent <code>node_modules</code> folder [D],
and must install its own copy [C].</p> and must install its own copy [C].</p>
<p>Underneath bar, the <code>baz -&gt; quux -&gt; bar</code> dependency creates a cycle. <p>Underneath bar, the <code>baz -&gt; quux -&gt; bar</code> dependency creates a cycle.
However, because bar is already in quux&#39;s ancestry [B], it does not However, because bar is already in quux&#39;s ancestry [B], it does not
unpack another copy of bar into that folder.</p> unpack another copy of bar into that folder.</p>
<p>Underneath <code>foo -&gt; baz</code> [D], quux&#39;s [E] folder tree is empty, because its <p>Underneath <code>foo -&gt; baz</code> [D], quux&#39;s [E] folder tree is empty, because its
dependency on bar is satisfied by the parent folder copy installed at [B].</p> dependency on bar is satisfied by the parent folder copy installed at [B].</p>
<p>For a graphical breakdown of what is installed where, use <code>npm ls</code>.</p> <p>For a graphical breakdown of what is installed where, use <code>npm ls</code>.</p>
<h3 id="publishing">Publishing</h3>
<h3 id="Publishing">Publishing</h3>
<p>Upon publishing, npm will look in the <code>node_modules</code> folder. If any of <p>Upon publishing, npm will look in the <code>node_modules</code> folder. If any of
the items there are not in the <code>bundledDependencies</code> array, then they will the items there are not in the <code>bundledDependencies</code> array, then they will
not be included in the package tarball.</p> not be included in the package tarball.</p>
<p>This allows a package maintainer to install all of their dependencies <p>This allows a package maintainer to install all of their dependencies
(and dev dependencies) locally, but only re-publish those items that (and dev dependencies) locally, but only re-publish those items that
cannot be found elsewhere. See <code><a href="../files/package.json.html">package.json(5)</a></code> for more information.</p> cannot be found elsewhere. See <code><a href="../files/package.json.html">package.json(5)</a></code> for more information.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-faq.html">npm-faq(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="../cli/npm-pack.html">npm-pack(1)</a></li>
<li><a href="../cli/npm-cache.html">npm-cache(1)</a></li>
<li><a href="../cli/npm-config.html">npm-config(1)</a></li>
<li><a href="../files/npmrc.html">npmrc(5)</a></li>
<li><a href="../misc/npm-config.html">npm-config(7)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-faq.html">npm-faq(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="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -218,5 +179,5 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html">packa
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-folders &mdash; npm@1.4.9</p> <p id="footer">npm-folders &mdash; npm@1.4.10</p>

115
deps/npm/html/doc/files/npm-global.html

@ -10,119 +10,87 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../files/npm-folders.html">npm-folders</a></h1> <p>Folder Structures Used by npm</p> <h1><a href="../files/npm-folders.html">npm-folders</a></h1> <p>Folder Structures Used by npm</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm puts various things on your computer. That&#39;s its job.</p> <p>npm puts various things on your computer. That&#39;s its job.</p>
<p>This document will tell you what it puts where.</p> <p>This document will tell you what it puts where.</p>
<h3 id="tl-dr">tl;dr</h3> <h3 id="tl-dr">tl;dr</h3>
<ul>
<ul><li>Local install (default): puts stuff in <code>./node_modules</code> of the current <li>Local install (default): puts stuff in <code>./node_modules</code> of the current
package root.</li><li>Global install (with <code>-g</code>): puts stuff in /usr/local or wherever node package root.</li>
is installed.</li><li>Install it <strong>locally</strong> if you&#39;re going to <code>require()</code> it.</li><li>Install it <strong>globally</strong> if you&#39;re going to run it on the command line.</li><li>If you need both, then install it in both places, or use <code>npm link</code>.</li></ul> <li>Global install (with <code>-g</code>): puts stuff in /usr/local or wherever node
is installed.</li>
<h3 id="prefix-Configuration">prefix Configuration</h3> <li>Install it <strong>locally</strong> if you&#39;re going to <code>require()</code> it.</li>
<li>Install it <strong>globally</strong> if you&#39;re going to run it on the command line.</li>
<li>If you need both, then install it in both places, or use <code>npm link</code>.</li>
</ul>
<h3 id="prefix-configuration">prefix Configuration</h3>
<p>The <code>prefix</code> config defaults to the location where node is installed. <p>The <code>prefix</code> config defaults to the location where node is installed.
On most systems, this is <code>/usr/local</code>, and most of the time is the same On most systems, this is <code>/usr/local</code>, and most of the time is the same
as node&#39;s <code>process.installPrefix</code>.</p> as node&#39;s <code>process.installPrefix</code>.</p>
<p>On windows, this is the exact location of the node.exe binary. On Unix <p>On windows, this is the exact location of the node.exe binary. On Unix
systems, it&#39;s one level up, since node is typically installed at systems, it&#39;s one level up, since node is typically installed at
<code>{prefix}/bin/node</code> rather than <code>{prefix}/node.exe</code>.</p> <code>{prefix}/bin/node</code> rather than <code>{prefix}/node.exe</code>.</p>
<p>When the <code>global</code> flag is set, npm installs things into this prefix. <p>When the <code>global</code> flag is set, npm installs things into this prefix.
When it is not set, it uses the root of the current package, or the When it is not set, it uses the root of the current package, or the
current working directory if not in a package already.</p> current working directory if not in a package already.</p>
<h3 id="node-modules">Node Modules</h3>
<h3 id="Node-Modules">Node Modules</h3>
<p>Packages are dropped into the <code>node_modules</code> folder under the <code>prefix</code>. <p>Packages are dropped into the <code>node_modules</code> folder under the <code>prefix</code>.
When installing locally, this means that you can When installing locally, this means that you can
<code>require(&quot;packagename&quot;)</code> to load its main module, or <code>require(&quot;packagename&quot;)</code> to load its main module, or
<code>require(&quot;packagename/lib/path/to/sub/module&quot;)</code> to load other modules.</p> <code>require(&quot;packagename/lib/path/to/sub/module&quot;)</code> to load other modules.</p>
<p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>. <p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>.
Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no
<code>lib</code> folder.)</p> <code>lib</code> folder.)</p>
<p>If you wish to <code>require()</code> a package, then install it locally.</p> <p>If you wish to <code>require()</code> a package, then install it locally.</p>
<h3 id="executables">Executables</h3>
<h3 id="Executables">Executables</h3>
<p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix, <p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix,
or directly into <code>{prefix}</code> on Windows.</p> or directly into <code>{prefix}</code> on Windows.</p>
<p>When in local mode, executables are linked into <p>When in local mode, executables are linked into
<code>./node_modules/.bin</code> so that they can be made available to scripts run <code>./node_modules/.bin</code> so that they can be made available to scripts run
through npm. (For example, so that a test runner will be in the path through npm. (For example, so that a test runner will be in the path
when you run <code>npm test</code>.)</p> when you run <code>npm test</code>.)</p>
<h3 id="man-pages">Man Pages</h3>
<h3 id="Man-Pages">Man Pages</h3>
<p>When in global mode, man pages are linked into <code>{prefix}/share/man</code>.</p> <p>When in global mode, man pages are linked into <code>{prefix}/share/man</code>.</p>
<p>When in local mode, man pages are not installed.</p> <p>When in local mode, man pages are not installed.</p>
<p>Man pages are not installed on Windows systems.</p> <p>Man pages are not installed on Windows systems.</p>
<h3 id="cache">Cache</h3>
<h3 id="Cache">Cache</h3>
<p>See <code><a href="../cli/npm-cache.html">npm-cache(1)</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or <p>See <code><a href="../cli/npm-cache.html">npm-cache(1)</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<code>~/npm-cache</code> on Windows.</p> <code>~/npm-cache</code> on Windows.</p>
<p>This is controlled by the <code>cache</code> configuration param.</p> <p>This is controlled by the <code>cache</code> configuration param.</p>
<h3 id="temp-files">Temp Files</h3>
<h3 id="Temp-Files">Temp Files</h3>
<p>Temporary files are stored by default in the folder specified by the <p>Temporary files are stored by default in the folder specified by the
<code>tmp</code> config, which defaults to the TMPDIR, TMP, or TEMP environment <code>tmp</code> config, which defaults to the TMPDIR, TMP, or TEMP environment
variables, or <code>/tmp</code> on Unix and <code>c:\windows\temp</code> on Windows.</p> variables, or <code>/tmp</code> on Unix and <code>c:\windows\temp</code> on Windows.</p>
<p>Temp files are given a unique folder under this root for each run of the <p>Temp files are given a unique folder under this root for each run of the
program, and are deleted upon successful exit.</p> program, and are deleted upon successful exit.</p>
<h2 id="more-information">More Information</h2>
<h2 id="More-Information">More Information</h2>
<p>When installing locally, npm first tries to find an appropriate <p>When installing locally, npm first tries to find an appropriate
<code>prefix</code> folder. This is so that <code>npm install foo@1.2.3</code> will install <code>prefix</code> folder. This is so that <code>npm install foo@1.2.3</code> will install
to the sensible root of your package, even if you happen to have <code>cd</code>ed to the sensible root of your package, even if you happen to have <code>cd</code>ed
into some other folder.</p> into some other folder.</p>
<p>Starting at the $PWD, npm will walk up the folder tree checking for a <p>Starting at the $PWD, npm will walk up the folder tree checking for a
folder that contains either a <code>package.json</code> file, or a <code>node_modules</code> folder that contains either a <code>package.json</code> file, or a <code>node_modules</code>
folder. If such a thing is found, then that is treated as the effective folder. If such a thing is found, then that is treated as the effective
&quot;current directory&quot; for the purpose of running npm commands. (This &quot;current directory&quot; for the purpose of running npm commands. (This
behavior is inspired by and similar to git&#39;s .git-folder seeking behavior is inspired by and similar to git&#39;s .git-folder seeking
logic when running git commands in a working dir.)</p> logic when running git commands in a working dir.)</p>
<p>If no package root is found, then the current folder is used.</p> <p>If no package root is found, then the current folder is used.</p>
<p>When you run <code>npm install foo@1.2.3</code>, then the package is loaded into <p>When you run <code>npm install foo@1.2.3</code>, then the package is loaded into
the cache, and then unpacked into <code>./node_modules/foo</code>. Then, any of the cache, and then unpacked into <code>./node_modules/foo</code>. Then, any of
foo&#39;s dependencies are similarly unpacked into foo&#39;s dependencies are similarly unpacked into
<code>./node_modules/foo/node_modules/...</code>.</p> <code>./node_modules/foo/node_modules/...</code>.</p>
<p>Any bin files are symlinked to <code>./node_modules/.bin/</code>, so that they may <p>Any bin files are symlinked to <code>./node_modules/.bin/</code>, so that they may
be found by npm scripts when necessary.</p> be found by npm scripts when necessary.</p>
<h3 id="global-installation">Global Installation</h3>
<h3 id="Global-Installation">Global Installation</h3>
<p>If the <code>global</code> configuration is set to true, then npm will <p>If the <code>global</code> configuration is set to true, then npm will
install packages &quot;globally&quot;.</p> install packages &quot;globally&quot;.</p>
<p>For global installation, packages are installed roughly the same way, <p>For global installation, packages are installed roughly the same way,
but using the folders described above.</p> but using the folders described above.</p>
<h3 id="cycles-conflicts-and-folder-parsimony">Cycles, Conflicts, and Folder Parsimony</h3>
<h3 id="Cycles-Conflicts-and-Folder-Parsimony">Cycles, Conflicts, and Folder Parsimony</h3>
<p>Cycles are handled using the property of node&#39;s module system that it <p>Cycles are handled using the property of node&#39;s module system that it
walks up the directories looking for <code>node_modules</code> folders. So, at every walks up the directories looking for <code>node_modules</code> folders. So, at every
stage, if a package is already installed in an ancestor <code>node_modules</code> stage, if a package is already installed in an ancestor <code>node_modules</code>
folder, then it is not installed at the current location.</p> folder, then it is not installed at the current location.</p>
<p>Consider the case above, where <code>foo -&gt; bar -&gt; baz</code>. Imagine if, in <p>Consider the case above, where <code>foo -&gt; bar -&gt; baz</code>. Imagine if, in
addition to that, baz depended on bar, so you&#39;d have: addition to that, baz depended on bar, so you&#39;d have:
<code>foo -&gt; bar -&gt; baz -&gt; bar -&gt; baz ...</code>. However, since the folder <code>foo -&gt; bar -&gt; baz -&gt; bar -&gt; baz ...</code>. However, since the folder
@ -130,21 +98,16 @@ structure is: <code>foo/node_modules/bar/node_modules/baz</code>, there&#39;s no
put another copy of bar into <code>.../baz/node_modules</code>, since when it calls put another copy of bar into <code>.../baz/node_modules</code>, since when it calls
require(&quot;bar&quot;), it will get the copy that is installed in require(&quot;bar&quot;), it will get the copy that is installed in
<code>foo/node_modules/bar</code>.</p> <code>foo/node_modules/bar</code>.</p>
<p>This shortcut is only used if the exact same <p>This shortcut is only used if the exact same
version would be installed in multiple nested <code>node_modules</code> folders. It version would be installed in multiple nested <code>node_modules</code> folders. It
is still possible to have <code>a/node_modules/b/node_modules/a</code> if the two is still possible to have <code>a/node_modules/b/node_modules/a</code> if the two
&quot;a&quot; packages are different versions. However, without repeating the &quot;a&quot; packages are different versions. However, without repeating the
exact same package multiple times, an infinite regress will always be exact same package multiple times, an infinite regress will always be
prevented.</p> prevented.</p>
<p>Another optimization can be made by installing dependencies at the <p>Another optimization can be made by installing dependencies at the
highest level possible, below the localized &quot;target&quot; folder.</p> highest level possible, below the localized &quot;target&quot; folder.</p>
<h4 id="example">Example</h4>
<h4 id="Example">Example</h4>
<p>Consider this dependency graph:</p> <p>Consider this dependency graph:</p>
<pre><code>foo <pre><code>foo
+-- blerg@1.2.5 +-- blerg@1.2.5
+-- bar@1.2.3 +-- bar@1.2.3
@ -155,10 +118,8 @@ highest level possible, below the localized &quot;target&quot; folder.</p>
| `-- asdf@* | `-- asdf@*
`-- baz@1.2.3 `-- baz@1.2.3
`-- quux@3.x `-- quux@3.x
`-- bar</code></pre> `-- bar
</code></pre><p>In this case, we might expect a folder structure like this:</p>
<p>In this case, we might expect a folder structure like this:</p>
<pre><code>foo <pre><code>foo
+-- node_modules +-- node_modules
+-- blerg (1.2.5) &lt;---[A] +-- blerg (1.2.5) &lt;---[A]
@ -170,43 +131,43 @@ highest level possible, below the localized &quot;target&quot; folder.</p>
| `-- asdf (2.3.4) | `-- asdf (2.3.4)
`-- baz (1.2.3) &lt;---[D] `-- baz (1.2.3) &lt;---[D]
`-- node_modules `-- node_modules
`-- quux (3.2.0) &lt;---[E]</code></pre> `-- quux (3.2.0) &lt;---[E]
</code></pre><p>Since foo depends directly on <code>bar@1.2.3</code> and <code>baz@1.2.3</code>, those are
<p>Since foo depends directly on <code>bar@1.2.3</code> and <code>baz@1.2.3</code>, those are
installed in foo&#39;s <code>node_modules</code> folder.</p> installed in foo&#39;s <code>node_modules</code> folder.</p>
<p>Even though the latest copy of blerg is 1.3.7, foo has a specific <p>Even though the latest copy of blerg is 1.3.7, foo has a specific
dependency on version 1.2.5. So, that gets installed at [A]. Since the dependency on version 1.2.5. So, that gets installed at [A]. Since the
parent installation of blerg satisfies bar&#39;s dependency on <code>blerg@1.x</code>, parent installation of blerg satisfies bar&#39;s dependency on <code>blerg@1.x</code>,
it does not install another copy under [B].</p> it does not install another copy under [B].</p>
<p>Bar [B] also has dependencies on baz and asdf, so those are installed in <p>Bar [B] also has dependencies on baz and asdf, so those are installed in
bar&#39;s <code>node_modules</code> folder. Because it depends on <code>baz@2.x</code>, it cannot bar&#39;s <code>node_modules</code> folder. Because it depends on <code>baz@2.x</code>, it cannot
re-use the <code>baz@1.2.3</code> installed in the parent <code>node_modules</code> folder [D], re-use the <code>baz@1.2.3</code> installed in the parent <code>node_modules</code> folder [D],
and must install its own copy [C].</p> and must install its own copy [C].</p>
<p>Underneath bar, the <code>baz -&gt; quux -&gt; bar</code> dependency creates a cycle. <p>Underneath bar, the <code>baz -&gt; quux -&gt; bar</code> dependency creates a cycle.
However, because bar is already in quux&#39;s ancestry [B], it does not However, because bar is already in quux&#39;s ancestry [B], it does not
unpack another copy of bar into that folder.</p> unpack another copy of bar into that folder.</p>
<p>Underneath <code>foo -&gt; baz</code> [D], quux&#39;s [E] folder tree is empty, because its <p>Underneath <code>foo -&gt; baz</code> [D], quux&#39;s [E] folder tree is empty, because its
dependency on bar is satisfied by the parent folder copy installed at [B].</p> dependency on bar is satisfied by the parent folder copy installed at [B].</p>
<p>For a graphical breakdown of what is installed where, use <code>npm ls</code>.</p> <p>For a graphical breakdown of what is installed where, use <code>npm ls</code>.</p>
<h3 id="publishing">Publishing</h3>
<h3 id="Publishing">Publishing</h3>
<p>Upon publishing, npm will look in the <code>node_modules</code> folder. If any of <p>Upon publishing, npm will look in the <code>node_modules</code> folder. If any of
the items there are not in the <code>bundledDependencies</code> array, then they will the items there are not in the <code>bundledDependencies</code> array, then they will
not be included in the package tarball.</p> not be included in the package tarball.</p>
<p>This allows a package maintainer to install all of their dependencies <p>This allows a package maintainer to install all of their dependencies
(and dev dependencies) locally, but only re-publish those items that (and dev dependencies) locally, but only re-publish those items that
cannot be found elsewhere. See <code><a href="../files/package.json.html">package.json(5)</a></code> for more information.</p> cannot be found elsewhere. See <code><a href="../files/package.json.html">package.json(5)</a></code> for more information.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-faq.html">npm-faq(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="../cli/npm-pack.html">npm-pack(1)</a></li>
<li><a href="../cli/npm-cache.html">npm-cache(1)</a></li>
<li><a href="../cli/npm-config.html">npm-config(1)</a></li>
<li><a href="../files/npmrc.html">npmrc(5)</a></li>
<li><a href="../misc/npm-config.html">npm-config(7)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-faq.html">npm-faq(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="../cli/npm-pack.html">npm-pack(1)</a></li><li><a href="../cli/npm-cache.html">npm-cache(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../files/npmrc.html">npmrc(5)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -218,5 +179,5 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html">packa
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-folders &mdash; npm@1.4.9</p> <p id="footer">npm-folders &mdash; npm@1.4.10</p>

360
deps/npm/html/doc/files/npm-json.html

@ -10,257 +10,178 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../files/package.json.html">package.json</a></h1> <p>Specifics of npm&#39;s package.json handling</p> <h1><a href="../files/package.json.html">package.json</a></h1> <p>Specifics of npm&#39;s package.json handling</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This document is all you need to know about what&#39;s required in your package.json <p>This document is all you need to know about what&#39;s required in your package.json
file. It must be actual JSON, not just a JavaScript object literal.</p> file. It must be actual JSON, not just a JavaScript object literal.</p>
<p>A lot of the behavior described in this document is affected by the config <p>A lot of the behavior described in this document is affected by the config
settings described in <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.</p> settings described in <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.</p>
<h2 id="name">name</h2> <h2 id="name">name</h2>
<p>The <em>most</em> important things in your package.json are the name and version fields. <p>The <em>most</em> important things in your package.json are the name and version fields.
Those are actually required, and your package won&#39;t install without Those are actually required, and your package won&#39;t install without
them. The name and version together form an identifier that is assumed them. The name and version together form an identifier that is assumed
to be completely unique. Changes to the package should come along with to be completely unique. Changes to the package should come along with
changes to the version.</p> changes to the version.</p>
<p>The name is what your thing is called. Some tips:</p> <p>The name is what your thing is called. Some tips:</p>
<ul>
<ul><li>Don&#39;t put &quot;js&quot; or &quot;node&quot; in the name. It&#39;s assumed that it&#39;s js, since you&#39;re <li>Don&#39;t put &quot;js&quot; or &quot;node&quot; in the name. It&#39;s assumed that it&#39;s js, since you&#39;re
writing a package.json file, and you can specify the engine using the &quot;engines&quot; writing a package.json file, and you can specify the engine using the &quot;engines&quot;
field. (See below.)</li><li>The name ends up being part of a URL, an argument on the command line, and a field. (See below.)</li>
<li>The name ends up being part of a URL, an argument on the command line, and a
folder name. Any name with non-url-safe characters will be rejected. folder name. Any name with non-url-safe characters will be rejected.
Also, it can&#39;t start with a dot or an underscore.</li><li>The name will probably be passed as an argument to require(), so it should Also, it can&#39;t start with a dot or an underscore.</li>
be something short, but also reasonably descriptive.</li><li>You may want to check the npm registry to see if there&#39;s something by that name <li>The name will probably be passed as an argument to require(), so it should
already, before you get too attached to it. http://registry.npmjs.org/</li></ul> be something short, but also reasonably descriptive.</li>
<li>You may want to check the npm registry to see if there&#39;s something by that name
already, before you get too attached to it. <a href="http://registry.npmjs.org/">http://registry.npmjs.org/</a></li>
</ul>
<h2 id="version">version</h2> <h2 id="version">version</h2>
<p>The <em>most</em> important things in your package.json are the name and version fields. <p>The <em>most</em> important things in your package.json are the name and version fields.
Those are actually required, and your package won&#39;t install without Those are actually required, and your package won&#39;t install without
them. The name and version together form an identifier that is assumed them. The name and version together form an identifier that is assumed
to be completely unique. Changes to the package should come along with to be completely unique. Changes to the package should come along with
changes to the version.</p> changes to the version.</p>
<p>Version must be parseable by <p>Version must be parseable by
<a href="https://github.com/isaacs/node-semver">node-semver</a>, which is bundled <a href="https://github.com/isaacs/node-semver">node-semver</a>, which is bundled
with npm as a dependency. (<code>npm install semver</code> to use it yourself.)</p> with npm as a dependency. (<code>npm install semver</code> to use it yourself.)</p>
<p>More on version numbers and ranges at <a href="../misc/semver.html">semver(7)</a>.</p> <p>More on version numbers and ranges at <a href="../misc/semver.html">semver(7)</a>.</p>
<h2 id="description">description</h2> <h2 id="description">description</h2>
<p>Put a description in it. It&#39;s a string. This helps people discover your <p>Put a description in it. It&#39;s a string. This helps people discover your
package, as it&#39;s listed in <code>npm search</code>.</p> package, as it&#39;s listed in <code>npm search</code>.</p>
<h2 id="keywords">keywords</h2> <h2 id="keywords">keywords</h2>
<p>Put keywords in it. It&#39;s an array of strings. This helps people <p>Put keywords in it. It&#39;s an array of strings. This helps people
discover your package as it&#39;s listed in <code>npm search</code>.</p> discover your package as it&#39;s listed in <code>npm search</code>.</p>
<h2 id="homepage">homepage</h2> <h2 id="homepage">homepage</h2>
<p>The url to the project homepage.</p> <p>The url to the project homepage.</p>
<p><strong>NOTE</strong>: This is <em>not</em> the same as &quot;url&quot;. If you put a &quot;url&quot; field, <p><strong>NOTE</strong>: This is <em>not</em> the same as &quot;url&quot;. If you put a &quot;url&quot; field,
then the registry will think it&#39;s a redirection to your package that has then the registry will think it&#39;s a redirection to your package that has
been published somewhere else, and spit at you.</p> been published somewhere else, and spit at you.</p>
<p>Literally. Spit. I&#39;m so not kidding.</p> <p>Literally. Spit. I&#39;m so not kidding.</p>
<h2 id="bugs">bugs</h2> <h2 id="bugs">bugs</h2>
<p>The url to your project&#39;s issue tracker and / or the email address to which <p>The url to your project&#39;s issue tracker and / or the email address to which
issues should be reported. These are helpful for people who encounter issues issues should be reported. These are helpful for people who encounter issues
with your package.</p> with your package.</p>
<p>It should look like this:</p> <p>It should look like this:</p>
<pre><code>{ &quot;url&quot; : &quot;http://github.com/owner/project/issues&quot; <pre><code>{ &quot;url&quot; : &quot;http://github.com/owner/project/issues&quot;
, &quot;email&quot; : &quot;project@hostname.com&quot; , &quot;email&quot; : &quot;project@hostname.com&quot;
}</code></pre> }
</code></pre><p>You can specify either one or both values. If you want to provide only a url,
<p>You can specify either one or both values. If you want to provide only a url,
you can specify the value for &quot;bugs&quot; as a simple string instead of an object.</p> you can specify the value for &quot;bugs&quot; as a simple string instead of an object.</p>
<p>If a url is provided, it will be used by the <code>npm bugs</code> command.</p> <p>If a url is provided, it will be used by the <code>npm bugs</code> command.</p>
<h2 id="license">license</h2> <h2 id="license">license</h2>
<p>You should specify a license for your package so that people know how they are <p>You should specify a license for your package so that people know how they are
permitted to use it, and any restrictions you&#39;re placing on it.</p> permitted to use it, and any restrictions you&#39;re placing on it.</p>
<p>The simplest way, assuming you&#39;re using a common license such as BSD-3-Clause <p>The simplest way, assuming you&#39;re using a common license such as BSD-3-Clause
or MIT, is to just specify the standard SPDX ID of the license you&#39;re using, or MIT, is to just specify the standard SPDX ID of the license you&#39;re using,
like this:</p> like this:</p>
<pre><code>{ &quot;license&quot; : &quot;BSD-3-Clause&quot; }
<pre><code>{ &quot;license&quot; : &quot;BSD-3-Clause&quot; }</code></pre> </code></pre><p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license IDs</a>.
<p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license IDs</a>.
Ideally you should pick one that is Ideally you should pick one that is
<a href="http://opensource.org/licenses/alphabetical">OSI</a> approved.</p> <a href="http://opensource.org/licenses/alphabetical">OSI</a> approved.</p>
<p>It&#39;s also a good idea to include a LICENSE file at the top level in <p>It&#39;s also a good idea to include a LICENSE file at the top level in
your package.</p> your package.</p>
<h2 id="people-fields-author-contributors">people fields: author, contributors</h2> <h2 id="people-fields-author-contributors">people fields: author, contributors</h2>
<p>The &quot;author&quot; is one person. &quot;contributors&quot; is an array of people. A &quot;person&quot; <p>The &quot;author&quot; is one person. &quot;contributors&quot; is an array of people. A &quot;person&quot;
is an object with a &quot;name&quot; field and optionally &quot;url&quot; and &quot;email&quot;, like this:</p> is an object with a &quot;name&quot; field and optionally &quot;url&quot; and &quot;email&quot;, like this:</p>
<pre><code>{ &quot;name&quot; : &quot;Barney Rubble&quot; <pre><code>{ &quot;name&quot; : &quot;Barney Rubble&quot;
, &quot;email&quot; : &quot;b@rubble.com&quot; , &quot;email&quot; : &quot;b@rubble.com&quot;
, &quot;url&quot; : &quot;http://barnyrubble.tumblr.com/&quot; , &quot;url&quot; : &quot;http://barnyrubble.tumblr.com/&quot;
}</code></pre> }
</code></pre><p>Or you can shorten that all into a single string, and npm will parse it for you:</p>
<p>Or you can shorten that all into a single string, and npm will parse it for you:</p> <pre><code>&quot;Barney Rubble &lt;b@rubble.com&gt; (http://barnyrubble.tumblr.com/)
</code></pre><p>Both email and url are optional either way.</p>
<pre><code>&quot;Barney Rubble &lt;b@rubble.com&gt; (http://barnyrubble.tumblr.com/)</code></pre>
<p>Both email and url are optional either way.</p>
<p>npm also sets a top-level &quot;maintainers&quot; field with your npm user info.</p> <p>npm also sets a top-level &quot;maintainers&quot; field with your npm user info.</p>
<h2 id="files">files</h2> <h2 id="files">files</h2>
<p>The &quot;files&quot; field is an array of files to include in your project. If <p>The &quot;files&quot; field is an array of files to include in your project. If
you name a folder in the array, then it will also include the files you name a folder in the array, then it will also include the files
inside that folder. (Unless they would be ignored by another rule.)</p> inside that folder. (Unless they would be ignored by another rule.)</p>
<p>You can also provide a &quot;.npmignore&quot; file in the root of your package, <p>You can also provide a &quot;.npmignore&quot; file in the root of your package,
which will keep files from being included, even if they would be picked which will keep files from being included, even if they would be picked
up by the files array. The &quot;.npmignore&quot; file works just like a up by the files array. The &quot;.npmignore&quot; file works just like a
&quot;.gitignore&quot;.</p> &quot;.gitignore&quot;.</p>
<h2 id="main">main</h2> <h2 id="main">main</h2>
<p>The main field is a module ID that is the primary entry point to your program. <p>The main field is a module ID that is the primary entry point to your program.
That is, if your package is named <code>foo</code>, and a user installs it, and then does That is, if your package is named <code>foo</code>, and a user installs it, and then does
<code>require(&quot;foo&quot;)</code>, then your main module&#39;s exports object will be returned.</p> <code>require(&quot;foo&quot;)</code>, then your main module&#39;s exports object will be returned.</p>
<p>This should be a module ID relative to the root of your package folder.</p> <p>This should be a module ID relative to the root of your package folder.</p>
<p>For most modules, it makes the most sense to have a main script and often not <p>For most modules, it makes the most sense to have a main script and often not
much else.</p> much else.</p>
<h2 id="bin">bin</h2> <h2 id="bin">bin</h2>
<p>A lot of packages have one or more executable files that they&#39;d like to <p>A lot of packages have one or more executable files that they&#39;d like to
install into the PATH. npm makes this pretty easy (in fact, it uses this install into the PATH. npm makes this pretty easy (in fact, it uses this
feature to install the &quot;npm&quot; executable.)</p> feature to install the &quot;npm&quot; executable.)</p>
<p>To use this, supply a <code>bin</code> field in your package.json which is a map of <p>To use this, supply a <code>bin</code> field in your package.json which is a map of
command name to local file name. On install, npm will symlink that file into command name to local file name. On install, npm will symlink that file into
<code>prefix/bin</code> for global installs, or <code>./node_modules/.bin/</code> for local <code>prefix/bin</code> for global installs, or <code>./node_modules/.bin/</code> for local
installs.</p> installs.</p>
<p>For example, npm has this:</p> <p>For example, npm has this:</p>
<pre><code>{ &quot;bin&quot; : { &quot;npm&quot; : &quot;./cli.js&quot; } }
<pre><code>{ &quot;bin&quot; : { &quot;npm&quot; : &quot;./cli.js&quot; } }</code></pre> </code></pre><p>So, when you install npm, it&#39;ll create a symlink from the <code>cli.js</code> script to
<p>So, when you install npm, it&#39;ll create a symlink from the <code>cli.js</code> script to
<code>/usr/local/bin/npm</code>.</p> <code>/usr/local/bin/npm</code>.</p>
<p>If you have a single executable, and its name should be the name <p>If you have a single executable, and its name should be the name
of the package, then you can just supply it as a string. For example:</p> of the package, then you can just supply it as a string. For example:</p>
<pre><code>{ &quot;name&quot;: &quot;my-program&quot; <pre><code>{ &quot;name&quot;: &quot;my-program&quot;
, &quot;version&quot;: &quot;1.2.5&quot; , &quot;version&quot;: &quot;1.2.5&quot;
, &quot;bin&quot;: &quot;./path/to/program&quot; }</code></pre> , &quot;bin&quot;: &quot;./path/to/program&quot; }
</code></pre><p>would be the same as this:</p>
<p>would be the same as this:</p>
<pre><code>{ &quot;name&quot;: &quot;my-program&quot; <pre><code>{ &quot;name&quot;: &quot;my-program&quot;
, &quot;version&quot;: &quot;1.2.5&quot; , &quot;version&quot;: &quot;1.2.5&quot;
, &quot;bin&quot; : { &quot;my-program&quot; : &quot;./path/to/program&quot; } }</code></pre> , &quot;bin&quot; : { &quot;my-program&quot; : &quot;./path/to/program&quot; } }
</code></pre><h2 id="man">man</h2>
<h2 id="man">man</h2>
<p>Specify either a single file or an array of filenames to put in place for the <p>Specify either a single file or an array of filenames to put in place for the
<code>man</code> program to find.</p> <code>man</code> program to find.</p>
<p>If only a single file is provided, then it&#39;s installed such that it is the <p>If only a single file is provided, then it&#39;s installed such that it is the
result from <code>man &lt;pkgname&gt;</code>, regardless of its actual filename. For example:</p> result from <code>man &lt;pkgname&gt;</code>, regardless of its actual filename. For example:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : &quot;./man/doc.1&quot; , &quot;man&quot; : &quot;./man/doc.1&quot;
}</code></pre> }
</code></pre><p>would link the <code>./man/doc.1</code> file in such that it is the target for <code>man foo</code></p>
<p>would link the <code>./man/doc.1</code> file in such that it is the target for <code>man foo</code></p>
<p>If the filename doesn&#39;t start with the package name, then it&#39;s prefixed. <p>If the filename doesn&#39;t start with the package name, then it&#39;s prefixed.
So, this:</p> So, this:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/bar.1&quot; ] , &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/bar.1&quot; ]
}</code></pre> }
</code></pre><p>will create files to do <code>man foo</code> and <code>man foo-bar</code>.</p>
<p>will create files to do <code>man foo</code> and <code>man foo-bar</code>.</p>
<p>Man files must end with a number, and optionally a <code>.gz</code> suffix if they are <p>Man files must end with a number, and optionally a <code>.gz</code> suffix if they are
compressed. The number dictates which man section the file is installed into.</p> compressed. The number dictates which man section the file is installed into.</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/foo.2&quot; ] , &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/foo.2&quot; ]
}</code></pre> }
</code></pre><p>will create entries for <code>man foo</code> and <code>man 2 foo</code></p>
<p>will create entries for <code>man foo</code> and <code>man 2 foo</code></p>
<h2 id="directories">directories</h2> <h2 id="directories">directories</h2>
<p>The CommonJS <a href="http://wiki.commonjs.org/wiki/Packages/1.0">Packages</a> spec details a <p>The CommonJS <a href="http://wiki.commonjs.org/wiki/Packages/1.0">Packages</a> spec details a
few ways that you can indicate the structure of your package using a <code>directories</code> few ways that you can indicate the structure of your package using a <code>directories</code>
hash. If you look at <a href="http://registry.npmjs.org/npm/latest">npm&#39;s package.json</a>, hash. If you look at <a href="http://registry.npmjs.org/npm/latest">npm&#39;s package.json</a>,
you&#39;ll see that it has directories for doc, lib, and man.</p> you&#39;ll see that it has directories for doc, lib, and man.</p>
<p>In the future, this information may be used in other creative ways.</p> <p>In the future, this information may be used in other creative ways.</p>
<h3 id="directories-lib">directories.lib</h3> <h3 id="directories-lib">directories.lib</h3>
<p>Tell people where the bulk of your library is. Nothing special is done <p>Tell people where the bulk of your library is. Nothing special is done
with the lib folder in any way, but it&#39;s useful meta info.</p> with the lib folder in any way, but it&#39;s useful meta info.</p>
<h3 id="directories-bin">directories.bin</h3> <h3 id="directories-bin">directories.bin</h3>
<p>If you specify a &quot;bin&quot; directory, then all the files in that folder will <p>If you specify a &quot;bin&quot; directory, then all the files in that folder will
be used as the &quot;bin&quot; hash.</p> be used as the &quot;bin&quot; hash.</p>
<p>If you have a &quot;bin&quot; hash already, then this has no effect.</p> <p>If you have a &quot;bin&quot; hash already, then this has no effect.</p>
<h3 id="directories-man">directories.man</h3> <h3 id="directories-man">directories.man</h3>
<p>A folder that is full of man pages. Sugar to generate a &quot;man&quot; array by <p>A folder that is full of man pages. Sugar to generate a &quot;man&quot; array by
walking the folder.</p> walking the folder.</p>
<h3 id="directories-doc">directories.doc</h3> <h3 id="directories-doc">directories.doc</h3>
<p>Put markdown files in here. Eventually, these will be displayed nicely, <p>Put markdown files in here. Eventually, these will be displayed nicely,
maybe, someday.</p> maybe, someday.</p>
<h3 id="directories-example">directories.example</h3> <h3 id="directories-example">directories.example</h3>
<p>Put example scripts in here. Someday, it might be exposed in some clever way.</p> <p>Put example scripts in here. Someday, it might be exposed in some clever way.</p>
<h2 id="repository">repository</h2> <h2 id="repository">repository</h2>
<p>Specify the place where your code lives. This is helpful for people who <p>Specify the place where your code lives. This is helpful for people who
want to contribute. If the git repo is on github, then the <code>npm docs</code> want to contribute. If the git repo is on github, then the <code>npm docs</code>
command will be able to find you.</p> command will be able to find you.</p>
<p>Do it like this:</p> <p>Do it like this:</p>
<pre><code>&quot;repository&quot; : <pre><code>&quot;repository&quot; :
{ &quot;type&quot; : &quot;git&quot; { &quot;type&quot; : &quot;git&quot;
, &quot;url&quot; : &quot;http://github.com/npm/npm.git&quot; , &quot;url&quot; : &quot;http://github.com/npm/npm.git&quot;
@ -269,52 +190,52 @@ command will be able to find you.</p>
&quot;repository&quot; : &quot;repository&quot; :
{ &quot;type&quot; : &quot;svn&quot; { &quot;type&quot; : &quot;svn&quot;
, &quot;url&quot; : &quot;http://v8.googlecode.com/svn/trunk/&quot; , &quot;url&quot; : &quot;http://v8.googlecode.com/svn/trunk/&quot;
}</code></pre> }
</code></pre><p>The URL should be a publicly available (perhaps read-only) url that can be handed
<p>The URL should be a publicly available (perhaps read-only) url that can be handed
directly to a VCS program without any modification. It should not be a url to an directly to a VCS program without any modification. It should not be a url to an
html project page that you put in your browser. It&#39;s for computers.</p> html project page that you put in your browser. It&#39;s for computers.</p>
<h2 id="scripts">scripts</h2> <h2 id="scripts">scripts</h2>
<p>The &quot;scripts&quot; member is an object hash of script commands that are run <p>The &quot;scripts&quot; member is an object hash of script commands that are run
at various times in the lifecycle of your package. The key is the lifecycle at various times in the lifecycle of your package. The key is the lifecycle
event, and the value is the command to run at that point.</p> event, and the value is the command to run at that point.</p>
<p>See <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> to find out more about writing package scripts.</p> <p>See <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> to find out more about writing package scripts.</p>
<h2 id="config">config</h2> <h2 id="config">config</h2>
<p>A &quot;config&quot; hash can be used to set configuration <p>A &quot;config&quot; hash can be used to set configuration
parameters used in package scripts that persist across upgrades. For parameters used in package scripts that persist across upgrades. For
instance, if a package had the following:</p> instance, if a package had the following:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;config&quot; : { &quot;port&quot; : &quot;8080&quot; } }</code></pre> , &quot;config&quot; : { &quot;port&quot; : &quot;8080&quot; } }
</code></pre><p>and then had a &quot;start&quot; command that then referenced the
<p>and then had a &quot;start&quot; command that then referenced the
<code>npm_package_config_port</code> environment variable, then the user could <code>npm_package_config_port</code> environment variable, then the user could
override that by doing <code>npm config set foo:port 8001</code>.</p> override that by doing <code>npm config set foo:port 8001</code>.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> for more on package <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> for more on package
configs.</p> configs.</p>
<h2 id="dependencies">dependencies</h2> <h2 id="dependencies">dependencies</h2>
<p>Dependencies are specified with a simple hash of package name to <p>Dependencies are specified with a simple hash of package name to
version range. The version range is a string which has one or more version range. The version range is a string which has one or more
space-separated descriptors. Dependencies can also be identified with space-separated descriptors. Dependencies can also be identified with
a tarball or git URL.</p> a tarball or git URL.</p>
<p><strong>Please do not put test harnesses or transpilers in your <p><strong>Please do not put test harnesses or transpilers in your
<code>dependencies</code> hash.</strong> See <code>devDependencies</code>, below.</p> <code>dependencies</code> hash.</strong> See <code>devDependencies</code>, below.</p>
<p>See <a href="../misc/semver.html">semver(7)</a> for more details about specifying version ranges.</p> <p>See <a href="../misc/semver.html">semver(7)</a> for more details about specifying version ranges.</p>
<ul>
<ul><li><code>version</code> Must match <code>version</code> exactly</li><li><code>&gt;version</code> Must be greater than <code>version</code></li><li><code>&gt;=version</code> etc</li><li><code>&lt;version</code></li><li><code>&lt;=version</code></li><li><code>~version</code> &quot;Approximately equivalent to version&quot; See <a href="../misc/semver.html">semver(7)</a></li><li><code>^version</code> &quot;Compatible with version&quot; See <a href="../misc/semver.html">semver(7)</a></li><li><code>1.2.x</code> 1.2.0, 1.2.1, etc., but not 1.3.0</li><li><code>http://...</code> See &#39;URLs as Dependencies&#39; below</li><li><code>*</code> Matches any version</li><li><code>&quot;&quot;</code> (just an empty string) Same as <code>*</code></li><li><code>version1 - version2</code> Same as <code>&gt;=version1 &lt;=version2</code>.</li><li><code>range1 || range2</code> Passes if either range1 or range2 are satisfied.</li><li><code>git...</code> See &#39;Git URLs as Dependencies&#39; below</li><li><code>user/repo</code> See &#39;GitHub URLs&#39; below</li></ul> <li><code>version</code> Must match <code>version</code> exactly</li>
<li><code>&gt;version</code> Must be greater than <code>version</code></li>
<li><code>&gt;=version</code> etc</li>
<li><code>&lt;version</code></li>
<li><code>&lt;=version</code></li>
<li><code>~version</code> &quot;Approximately equivalent to version&quot; See <a href="../misc/semver.html">semver(7)</a></li>
<li><code>^version</code> &quot;Compatible with version&quot; See <a href="../misc/semver.html">semver(7)</a></li>
<li><code>1.2.x</code> 1.2.0, 1.2.1, etc., but not 1.3.0</li>
<li><code>http://...</code> See &#39;URLs as Dependencies&#39; below</li>
<li><code>*</code> Matches any version</li>
<li><code>&quot;&quot;</code> (just an empty string) Same as <code>*</code></li>
<li><code>version1 - version2</code> Same as <code>&gt;=version1 &lt;=version2</code>.</li>
<li><code>range1 || range2</code> Passes if either range1 or range2 are satisfied.</li>
<li><code>git...</code> See &#39;Git URLs as Dependencies&#39; below</li>
<li><code>user/repo</code> See &#39;GitHub URLs&#39; below</li>
</ul>
<p>For example, these are all valid:</p> <p>For example, these are all valid:</p>
<pre><code>{ &quot;dependencies&quot; : <pre><code>{ &quot;dependencies&quot; :
{ &quot;foo&quot; : &quot;1.0.0 - 2.9999.9999&quot; { &quot;foo&quot; : &quot;1.0.0 - 2.9999.9999&quot;
, &quot;bar&quot; : &quot;&gt;=1.0.2 &lt;2.1.2&quot; , &quot;bar&quot; : &quot;&gt;=1.0.2 &lt;2.1.2&quot;
@ -327,59 +248,42 @@ a tarball or git URL.</p>
, &quot;two&quot; : &quot;2.x&quot; , &quot;two&quot; : &quot;2.x&quot;
, &quot;thr&quot; : &quot;3.3.x&quot; , &quot;thr&quot; : &quot;3.3.x&quot;
} }
}</code></pre> }
</code></pre><h3 id="urls-as-dependencies">URLs as Dependencies</h3>
<h3 id="URLs-as-Dependencies">URLs as Dependencies</h3>
<p>You may specify a tarball URL in place of a version range.</p> <p>You may specify a tarball URL in place of a version range.</p>
<p>This tarball will be downloaded and installed locally to your package at <p>This tarball will be downloaded and installed locally to your package at
install time.</p> install time.</p>
<h3 id="git-urls-as-dependencies">Git URLs as Dependencies</h3>
<h3 id="Git-URLs-as-Dependencies">Git URLs as Dependencies</h3>
<p>Git urls can be of the form:</p> <p>Git urls can be of the form:</p>
<pre><code>git://github.com/user/project.git#commit-ish <pre><code>git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish
git+ssh://user@hostname/project.git#commit-ish git+ssh://user@hostname/project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish</code></pre> git+https://user@hostname/project/blah.git#commit-ish
</code></pre><p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
<p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
an argument to <code>git checkout</code>. The default is <code>master</code>.</p> an argument to <code>git checkout</code>. The default is <code>master</code>.</p>
<h2 id="github-urls">GitHub URLs</h2>
<h2 id="GitHub-URLs">GitHub URLs</h2>
<p>As of version 1.1.65, you can refer to GitHub urls as just &quot;foo&quot;: &quot;user/foo-project&quot;. For example:</p> <p>As of version 1.1.65, you can refer to GitHub urls as just &quot;foo&quot;: &quot;user/foo-project&quot;. For example:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;foo&quot;, &quot;name&quot;: &quot;foo&quot;,
&quot;version&quot;: &quot;0.0.0&quot;, &quot;version&quot;: &quot;0.0.0&quot;,
&quot;dependencies&quot;: { &quot;dependencies&quot;: {
&quot;express&quot;: &quot;visionmedia/express&quot; &quot;express&quot;: &quot;visionmedia/express&quot;
} }
}</code></pre> }
</code></pre><h2 id="devdependencies">devDependencies</h2>
<h2 id="devDependencies">devDependencies</h2>
<p>If someone is planning on downloading and using your module in their <p>If someone is planning on downloading and using your module in their
program, then they probably don&#39;t want or need to download and build program, then they probably don&#39;t want or need to download and build
the external test or documentation framework that you use.</p> the external test or documentation framework that you use.</p>
<p>In this case, it&#39;s best to list these additional items in a <p>In this case, it&#39;s best to list these additional items in a
<code>devDependencies</code> hash.</p> <code>devDependencies</code> hash.</p>
<p>These things will be installed when doing <code>npm link</code> or <code>npm install</code> <p>These things will be installed when doing <code>npm link</code> or <code>npm install</code>
from the root of a package, and can be managed like any other npm from the root of a package, and can be managed like any other npm
configuration param. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more on the topic.</p> configuration param. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more on the topic.</p>
<p>For build steps that are not platform-specific, such as compiling <p>For build steps that are not platform-specific, such as compiling
CoffeeScript or other languages to JavaScript, use the <code>prepublish</code> CoffeeScript or other languages to JavaScript, use the <code>prepublish</code>
script to do this, and make the required package a devDependency.</p> script to do this, and make the required package a devDependency.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>{ &quot;name&quot;: &quot;ethopia-waza&quot;, <pre><code>{ &quot;name&quot;: &quot;ethopia-waza&quot;,
&quot;description&quot;: &quot;a delightfully fruity coffee varietal&quot;, &quot;description&quot;: &quot;a delightfully fruity coffee varietal&quot;,
&quot;version&quot;: &quot;1.2.3&quot;, &quot;version&quot;: &quot;1.2.3&quot;,
@ -390,64 +294,48 @@ script to do this, and make the required package a devDependency.</p>
&quot;prepublish&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot; &quot;prepublish&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot;
}, },
&quot;main&quot;: &quot;lib/waza.js&quot; &quot;main&quot;: &quot;lib/waza.js&quot;
}</code></pre> }
</code></pre><p>The <code>prepublish</code> script will be run before publishing, so that users
<p>The <code>prepublish</code> script will be run before publishing, so that users
can consume the functionality without requiring them to compile it can consume the functionality without requiring them to compile it
themselves. In dev mode (ie, locally running <code>npm install</code>), it&#39;ll themselves. In dev mode (ie, locally running <code>npm install</code>), it&#39;ll
run this script as well, so that you can test it easily.</p> run this script as well, so that you can test it easily.</p>
<h2 id="peerdependencies">peerDependencies</h2>
<h2 id="peerDependencies">peerDependencies</h2>
<p>In some cases, you want to express the compatibility of your package with an <p>In some cases, you want to express the compatibility of your package with an
host tool or library, while not necessarily doing a <code>require</code> of this host. host tool or library, while not necessarily doing a <code>require</code> of this host.
This is usually refered to as a <em>plugin</em>. Notably, your module may be exposing This is usually refered to as a <em>plugin</em>. Notably, your module may be exposing
a specific interface, expected and specified by the host documentation.</p> a specific interface, expected and specified by the host documentation.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;tea-latte&quot;, &quot;name&quot;: &quot;tea-latte&quot;,
&quot;version&quot;: &quot;1.3.5&quot; &quot;version&quot;: &quot;1.3.5&quot;
&quot;peerDependencies&quot;: { &quot;peerDependencies&quot;: {
&quot;tea&quot;: &quot;2.x&quot; &quot;tea&quot;: &quot;2.x&quot;
} }
}</code></pre> }
</code></pre><p>This ensures your package <code>tea-latte</code> can be installed <em>along</em> with the second
<p>This ensures your package <code>tea-latte</code> can be installed <em>along</em> with the second
major version of the host package <code>tea</code> only. The host package is automatically major version of the host package <code>tea</code> only. The host package is automatically
installed if needed. <code>npm install tea-latte</code> could possibly yield the following installed if needed. <code>npm install tea-latte</code> could possibly yield the following
dependency graph:</p> dependency graph:</p>
<pre><code>├── tea-latte@1.3.5 <pre><code>├── tea-latte@1.3.5
└── tea@2.2.0</code></pre> └── tea@2.2.0
</code></pre><p>Trying to install another plugin with a conflicting requirement will cause an
<p>Trying to install another plugin with a conflicting requirement will cause an
error. For this reason, make sure your plugin requirement is as broad as error. For this reason, make sure your plugin requirement is as broad as
possible, and not to lock it down to specific patch versions.</p> possible, and not to lock it down to specific patch versions.</p>
<p>Assuming the host complies with <a href="http://semver.org/">semver</a>, only changes in <p>Assuming the host complies with <a href="http://semver.org/">semver</a>, only changes in
the host package&#39;s major version will break your plugin. Thus, if you&#39;ve worked the host package&#39;s major version will break your plugin. Thus, if you&#39;ve worked
with every 1.x version of the host package, use <code>&quot;^1.0&quot;</code> or <code>&quot;1.x&quot;</code> to express with every 1.x version of the host package, use <code>&quot;^1.0&quot;</code> or <code>&quot;1.x&quot;</code> to express
this. If you depend on features introduced in 1.5.2, use <code>&quot;&gt;= 1.5.2 &lt; 2&quot;</code>.</p> this. If you depend on features introduced in 1.5.2, use <code>&quot;&gt;= 1.5.2 &lt; 2&quot;</code>.</p>
<h2 id="bundleddependencies">bundledDependencies</h2>
<h2 id="bundledDependencies">bundledDependencies</h2>
<p>Array of package names that will be bundled when publishing the package.</p> <p>Array of package names that will be bundled when publishing the package.</p>
<p>If this is spelled <code>&quot;bundleDependencies&quot;</code>, then that is also honorable.</p> <p>If this is spelled <code>&quot;bundleDependencies&quot;</code>, then that is also honorable.</p>
<h2 id="optionaldependencies">optionalDependencies</h2>
<h2 id="optionalDependencies">optionalDependencies</h2>
<p>If a dependency can be used, but you would like npm to proceed if it <p>If a dependency can be used, but you would like npm to proceed if it
cannot be found or fails to install, then you may put it in the cannot be found or fails to install, then you may put it in the
<code>optionalDependencies</code> hash. This is a map of package name to version <code>optionalDependencies</code> hash. This is a map of package name to version
or url, just like the <code>dependencies</code> hash. The difference is that or url, just like the <code>dependencies</code> hash. The difference is that
failure is tolerated.</p> failure is tolerated.</p>
<p>It is still your program&#39;s responsibility to handle the lack of the <p>It is still your program&#39;s responsibility to handle the lack of the
dependency. For example, something like this:</p> dependency. For example, something like this:</p>
<pre><code>try { <pre><code>try {
var foo = require(&#39;foo&#39;) var foo = require(&#39;foo&#39;)
var fooVersion = require(&#39;foo/package.json&#39;).version var fooVersion = require(&#39;foo/package.json&#39;).version
@ -462,122 +350,104 @@ if ( notGoodFooVersion(fooVersion) ) {
if (foo) { if (foo) {
foo.doFooThings() foo.doFooThings()
}</code></pre> }
</code></pre><p>Entries in <code>optionalDependencies</code> will override entries of the same name in
<p>Entries in <code>optionalDependencies</code> will override entries of the same name in
<code>dependencies</code>, so it&#39;s usually best to only put in one place.</p> <code>dependencies</code>, so it&#39;s usually best to only put in one place.</p>
<h2 id="engines">engines</h2> <h2 id="engines">engines</h2>
<p>You can specify the version of node that your stuff works on:</p> <p>You can specify the version of node that your stuff works on:</p>
<pre><code>{ &quot;engines&quot; : { &quot;node&quot; : &quot;&gt;=0.10.3 &lt;0.12&quot; } }
<pre><code>{ &quot;engines&quot; : { &quot;node&quot; : &quot;&gt;=0.10.3 &lt;0.12&quot; } }</code></pre> </code></pre><p>And, like with dependencies, if you don&#39;t specify the version (or if you
<p>And, like with dependencies, if you don&#39;t specify the version (or if you
specify &quot;*&quot; as the version), then any version of node will do.</p> specify &quot;*&quot; as the version), then any version of node will do.</p>
<p>If you specify an &quot;engines&quot; field, then npm will require that &quot;node&quot; be <p>If you specify an &quot;engines&quot; field, then npm will require that &quot;node&quot; be
somewhere on that list. If &quot;engines&quot; is omitted, then npm will just assume somewhere on that list. If &quot;engines&quot; is omitted, then npm will just assume
that it works on node.</p> that it works on node.</p>
<p>You can also use the &quot;engines&quot; field to specify which versions of npm <p>You can also use the &quot;engines&quot; field to specify which versions of npm
are capable of properly installing your program. For example:</p> are capable of properly installing your program. For example:</p>
<pre><code>{ &quot;engines&quot; : { &quot;npm&quot; : &quot;~1.0.20&quot; } }
<pre><code>{ &quot;engines&quot; : { &quot;npm&quot; : &quot;~1.0.20&quot; } }</code></pre> </code></pre><p>Note that, unless the user has set the <code>engine-strict</code> config flag, this
<p>Note that, unless the user has set the <code>engine-strict</code> config flag, this
field is advisory only.</p> field is advisory only.</p>
<h2 id="enginestrict">engineStrict</h2>
<h2 id="engineStrict">engineStrict</h2>
<p>If you are sure that your module will <em>definitely not</em> run properly on <p>If you are sure that your module will <em>definitely not</em> run properly on
versions of Node/npm other than those specified in the <code>engines</code> hash, versions of Node/npm other than those specified in the <code>engines</code> hash,
then you can set <code>&quot;engineStrict&quot;: true</code> in your package.json file. then you can set <code>&quot;engineStrict&quot;: true</code> in your package.json file.
This will override the user&#39;s <code>engine-strict</code> config setting.</p> This will override the user&#39;s <code>engine-strict</code> config setting.</p>
<p>Please do not do this unless you are really very very sure. If your <p>Please do not do this unless you are really very very sure. If your
engines hash is something overly restrictive, you can quite easily and engines hash is something overly restrictive, you can quite easily and
inadvertently lock yourself into obscurity and prevent your users from inadvertently lock yourself into obscurity and prevent your users from
updating to new versions of Node. Consider this choice carefully. If updating to new versions of Node. Consider this choice carefully. If
people abuse it, it will be removed in a future version of npm.</p> people abuse it, it will be removed in a future version of npm.</p>
<h2 id="os">os</h2> <h2 id="os">os</h2>
<p>You can specify which operating systems your <p>You can specify which operating systems your
module will run on:</p> module will run on:</p>
<pre><code>&quot;os&quot; : [ &quot;darwin&quot;, &quot;linux&quot; ]
<pre><code>&quot;os&quot; : [ &quot;darwin&quot;, &quot;linux&quot; ]</code></pre> </code></pre><p>You can also blacklist instead of whitelist operating systems,
<p>You can also blacklist instead of whitelist operating systems,
just prepend the blacklisted os with a &#39;!&#39;:</p> just prepend the blacklisted os with a &#39;!&#39;:</p>
<pre><code>&quot;os&quot; : [ &quot;!win32&quot; ]
<pre><code>&quot;os&quot; : [ &quot;!win32&quot; ]</code></pre> </code></pre><p>The host operating system is determined by <code>process.platform</code></p>
<p>The host operating system is determined by <code>process.platform</code></p>
<p>It is allowed to both blacklist, and whitelist, although there isn&#39;t any <p>It is allowed to both blacklist, and whitelist, although there isn&#39;t any
good reason to do this.</p> good reason to do this.</p>
<h2 id="cpu">cpu</h2> <h2 id="cpu">cpu</h2>
<p>If your code only runs on certain cpu architectures, <p>If your code only runs on certain cpu architectures,
you can specify which ones.</p> you can specify which ones.</p>
<pre><code>&quot;cpu&quot; : [ &quot;x64&quot;, &quot;ia32&quot; ]
<pre><code>&quot;cpu&quot; : [ &quot;x64&quot;, &quot;ia32&quot; ]</code></pre> </code></pre><p>Like the <code>os</code> option, you can also blacklist architectures:</p>
<pre><code>&quot;cpu&quot; : [ &quot;!arm&quot;, &quot;!mips&quot; ]
<p>Like the <code>os</code> option, you can also blacklist architectures:</p> </code></pre><p>The host architecture is determined by <code>process.arch</code></p>
<h2 id="preferglobal">preferGlobal</h2>
<pre><code>&quot;cpu&quot; : [ &quot;!arm&quot;, &quot;!mips&quot; ]</code></pre>
<p>The host architecture is determined by <code>process.arch</code></p>
<h2 id="preferGlobal">preferGlobal</h2>
<p>If your package is primarily a command-line application that should be <p>If your package is primarily a command-line application that should be
installed globally, then set this value to <code>true</code> to provide a warning installed globally, then set this value to <code>true</code> to provide a warning
if it is installed locally.</p> if it is installed locally.</p>
<p>It doesn&#39;t actually prevent users from installing it locally, but it <p>It doesn&#39;t actually prevent users from installing it locally, but it
does help prevent some confusion if it doesn&#39;t work as expected.</p> does help prevent some confusion if it doesn&#39;t work as expected.</p>
<h2 id="private">private</h2> <h2 id="private">private</h2>
<p>If you set <code>&quot;private&quot;: true</code> in your package.json, then npm will refuse <p>If you set <code>&quot;private&quot;: true</code> in your package.json, then npm will refuse
to publish it.</p> to publish it.</p>
<p>This is a way to prevent accidental publication of private repositories. <p>This is a way to prevent accidental publication of private repositories.
If you would like to ensure that a given package is only ever published If you would like to ensure that a given package is only ever published
to a specific registry (for example, an internal registry), to a specific registry (for example, an internal registry),
then use the <code>publishConfig</code> hash described below then use the <code>publishConfig</code> hash described below
to override the <code>registry</code> config param at publish-time.</p> to override the <code>registry</code> config param at publish-time.</p>
<h2 id="publishconfig">publishConfig</h2>
<h2 id="publishConfig">publishConfig</h2>
<p>This is a set of config values that will be used at publish-time. It&#39;s <p>This is a set of config values that will be used at publish-time. It&#39;s
especially handy if you want to set the tag or registry, so that you can especially handy if you want to set the tag or registry, so that you can
ensure that a given package is not tagged with &quot;latest&quot; or published to ensure that a given package is not tagged with &quot;latest&quot; or published to
the global public registry by default.</p> the global public registry by default.</p>
<p>Any config values can be overridden, but of course only &quot;tag&quot; and <p>Any config values can be overridden, but of course only &quot;tag&quot; and
&quot;registry&quot; probably matter for the purposes of publishing.</p> &quot;registry&quot; probably matter for the purposes of publishing.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> to see the list of config options that can be <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> to see the list of config options that can be
overridden.</p> overridden.</p>
<h2 id="default-values">DEFAULT VALUES</h2>
<h2 id="DEFAULT-VALUES">DEFAULT VALUES</h2>
<p>npm will default some values based on package contents.</p> <p>npm will default some values based on package contents.</p>
<ul>
<ul><li><p><code>&quot;scripts&quot;: {&quot;start&quot;: &quot;node server.js&quot;}</code></p><p>If there is a <code>server.js</code> file in the root of your package, then npm <li><p><code>&quot;scripts&quot;: {&quot;start&quot;: &quot;node server.js&quot;}</code></p>
will default the <code>start</code> command to <code>node server.js</code>.</p></li><li><p><code>&quot;scripts&quot;:{&quot;preinstall&quot;: &quot;node-gyp rebuild&quot;}</code></p><p>If there is a <code>binding.gyp</code> file in the root of your package, npm will <p>If there is a <code>server.js</code> file in the root of your package, then npm
default the <code>preinstall</code> command to compile using node-gyp.</p></li><li><p><code>&quot;contributors&quot;: [...]</code></p><p>If there is an <code>AUTHORS</code> file in the root of your package, npm will will default the <code>start</code> command to <code>node server.js</code>.</p>
</li>
<li><p><code>&quot;scripts&quot;:{&quot;preinstall&quot;: &quot;node-gyp rebuild&quot;}</code></p>
<p>If there is a <code>binding.gyp</code> file in the root of your package, npm will
default the <code>preinstall</code> command to compile using node-gyp.</p>
</li>
<li><p><code>&quot;contributors&quot;: [...]</code></p>
<p>If there is an <code>AUTHORS</code> file in the root of your package, npm will
treat each line as a <code>Name &lt;email&gt; (url)</code> format, where email and url treat each line as a <code>Name &lt;email&gt; (url)</code> format, where email and url
are optional. Lines which start with a <code>#</code> or are blank, will be are optional. Lines which start with a <code>#</code> or are blank, will be
ignored.</p></li></ul> ignored.</p>
</li>
<h2 id="SEE-ALSO">SEE ALSO</h2> </ul>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/semver.html">semver(7)</a></li>
<li><a href="../cli/npm-init.html">npm-init(1)</a></li>
<li><a href="../cli/npm-version.html">npm-version(1)</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="../cli/npm-help.html">npm-help(1)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../cli/npm-rm.html">npm-rm(1)</a></li>
</ul>
<ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</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="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -589,5 +459,5 @@ ignored.</p></li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">package.json &mdash; npm@1.4.9</p> <p id="footer">package.json &mdash; npm@1.4.10</p>

50
deps/npm/html/doc/files/npmrc.html

@ -10,57 +10,49 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../files/npmrc.html">npmrc</a></h1> <p>The npm config files</p> <h1><a href="../files/npmrc.html">npmrc</a></h1> <p>The npm config files</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm gets its config settings from the command line, environment <p>npm gets its config settings from the command line, environment
variables, and <code>npmrc</code> files.</p> variables, and <code>npmrc</code> files.</p>
<p>The <code>npm config</code> command can be used to update and edit the contents <p>The <code>npm config</code> command can be used to update and edit the contents
of the user and global npmrc files.</p> of the user and global npmrc files.</p>
<p>For a list of available configuration options, see <a href="../misc/npm-config.html">npm-config(7)</a>.</p> <p>For a list of available configuration options, see <a href="../misc/npm-config.html">npm-config(7)</a>.</p>
<h2 id="files">FILES</h2>
<h2 id="FILES">FILES</h2>
<p>The three relevant files are:</p> <p>The three relevant files are:</p>
<ul>
<ul><li>per-user config file (~/.npmrc)</li><li>global config file ($PREFIX/npmrc)</li><li>npm builtin config file (/path/to/npm/npmrc)</li></ul> <li>per-user config file (~/.npmrc)</li>
<li>global config file ($PREFIX/npmrc)</li>
<li>npm builtin config file (/path/to/npm/npmrc)</li>
</ul>
<p>All npm config files are an ini-formatted list of <code>key = value</code> <p>All npm config files are an ini-formatted list of <code>key = value</code>
parameters. Environment variables can be replaced using parameters. Environment variables can be replaced using
<code>${VARIABLE_NAME}</code>. For example:</p> <code>${VARIABLE_NAME}</code>. For example:</p>
<pre><code>prefix = ${HOME}/.npm-packages
<pre><code>prefix = ${HOME}/.npm-packages</code></pre> </code></pre><p>Each of these files is loaded, and config options are resolved in
<p>Each of these files is loaded, and config options are resolved in
priority order. For example, a setting in the userconfig file would priority order. For example, a setting in the userconfig file would
override the setting in the globalconfig file.</p> override the setting in the globalconfig file.</p>
<h3 id="per-user-config-file">Per-user config file</h3>
<h3 id="Per-user-config-file">Per-user config file</h3>
<p><code>$HOME/.npmrc</code> (or the <code>userconfig</code> param, if set in the environment <p><code>$HOME/.npmrc</code> (or the <code>userconfig</code> param, if set in the environment
or on the command line)</p> or on the command line)</p>
<h3 id="global-config-file">Global config file</h3>
<h3 id="Global-config-file">Global config file</h3>
<p><code>$PREFIX/etc/npmrc</code> (or the <code>globalconfig</code> param, if set above): <p><code>$PREFIX/etc/npmrc</code> (or the <code>globalconfig</code> param, if set above):
This file is an ini-file formatted list of <code>key = value</code> parameters. This file is an ini-file formatted list of <code>key = value</code> parameters.
Environment variables can be replaced as above.</p> Environment variables can be replaced as above.</p>
<h3 id="built-in-config-file">Built-in config file</h3>
<h3 id="Built-in-config-file">Built-in config file</h3>
<p><code>path/to/npm/itself/npmrc</code></p> <p><code>path/to/npm/itself/npmrc</code></p>
<p>This is an unchangeable &quot;builtin&quot; configuration file that npm keeps <p>This is an unchangeable &quot;builtin&quot; configuration file that npm keeps
consistent across updates. Set fields in here using the <code>./configure</code> consistent across updates. Set fields in here using the <code>./configure</code>
script that comes with npm. This is primarily for distribution script that comes with npm. This is primarily for distribution
maintainers to override default configs in a standard and consistent maintainers to override default configs in a standard and consistent
manner.</p> manner.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<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/package.json.html">package.json(5)</a></li>
<li><a href="../cli/npm.html">npm(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><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/package.json.html">package.json(5)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -72,5 +64,5 @@ manner.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npmrc &mdash; npm@1.4.9</p> <p id="footer">npmrc &mdash; npm@1.4.10</p>

360
deps/npm/html/doc/files/package.json.html

@ -10,257 +10,178 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../files/package.json.html">package.json</a></h1> <p>Specifics of npm&#39;s package.json handling</p> <h1><a href="../files/package.json.html">package.json</a></h1> <p>Specifics of npm&#39;s package.json handling</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This document is all you need to know about what&#39;s required in your package.json <p>This document is all you need to know about what&#39;s required in your package.json
file. It must be actual JSON, not just a JavaScript object literal.</p> file. It must be actual JSON, not just a JavaScript object literal.</p>
<p>A lot of the behavior described in this document is affected by the config <p>A lot of the behavior described in this document is affected by the config
settings described in <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.</p> settings described in <code><a href="../misc/npm-config.html">npm-config(7)</a></code>.</p>
<h2 id="name">name</h2> <h2 id="name">name</h2>
<p>The <em>most</em> important things in your package.json are the name and version fields. <p>The <em>most</em> important things in your package.json are the name and version fields.
Those are actually required, and your package won&#39;t install without Those are actually required, and your package won&#39;t install without
them. The name and version together form an identifier that is assumed them. The name and version together form an identifier that is assumed
to be completely unique. Changes to the package should come along with to be completely unique. Changes to the package should come along with
changes to the version.</p> changes to the version.</p>
<p>The name is what your thing is called. Some tips:</p> <p>The name is what your thing is called. Some tips:</p>
<ul>
<ul><li>Don&#39;t put &quot;js&quot; or &quot;node&quot; in the name. It&#39;s assumed that it&#39;s js, since you&#39;re <li>Don&#39;t put &quot;js&quot; or &quot;node&quot; in the name. It&#39;s assumed that it&#39;s js, since you&#39;re
writing a package.json file, and you can specify the engine using the &quot;engines&quot; writing a package.json file, and you can specify the engine using the &quot;engines&quot;
field. (See below.)</li><li>The name ends up being part of a URL, an argument on the command line, and a field. (See below.)</li>
<li>The name ends up being part of a URL, an argument on the command line, and a
folder name. Any name with non-url-safe characters will be rejected. folder name. Any name with non-url-safe characters will be rejected.
Also, it can&#39;t start with a dot or an underscore.</li><li>The name will probably be passed as an argument to require(), so it should Also, it can&#39;t start with a dot or an underscore.</li>
be something short, but also reasonably descriptive.</li><li>You may want to check the npm registry to see if there&#39;s something by that name <li>The name will probably be passed as an argument to require(), so it should
already, before you get too attached to it. http://registry.npmjs.org/</li></ul> be something short, but also reasonably descriptive.</li>
<li>You may want to check the npm registry to see if there&#39;s something by that name
already, before you get too attached to it. <a href="http://registry.npmjs.org/">http://registry.npmjs.org/</a></li>
</ul>
<h2 id="version">version</h2> <h2 id="version">version</h2>
<p>The <em>most</em> important things in your package.json are the name and version fields. <p>The <em>most</em> important things in your package.json are the name and version fields.
Those are actually required, and your package won&#39;t install without Those are actually required, and your package won&#39;t install without
them. The name and version together form an identifier that is assumed them. The name and version together form an identifier that is assumed
to be completely unique. Changes to the package should come along with to be completely unique. Changes to the package should come along with
changes to the version.</p> changes to the version.</p>
<p>Version must be parseable by <p>Version must be parseable by
<a href="https://github.com/isaacs/node-semver">node-semver</a>, which is bundled <a href="https://github.com/isaacs/node-semver">node-semver</a>, which is bundled
with npm as a dependency. (<code>npm install semver</code> to use it yourself.)</p> with npm as a dependency. (<code>npm install semver</code> to use it yourself.)</p>
<p>More on version numbers and ranges at <a href="../misc/semver.html">semver(7)</a>.</p> <p>More on version numbers and ranges at <a href="../misc/semver.html">semver(7)</a>.</p>
<h2 id="description">description</h2> <h2 id="description">description</h2>
<p>Put a description in it. It&#39;s a string. This helps people discover your <p>Put a description in it. It&#39;s a string. This helps people discover your
package, as it&#39;s listed in <code>npm search</code>.</p> package, as it&#39;s listed in <code>npm search</code>.</p>
<h2 id="keywords">keywords</h2> <h2 id="keywords">keywords</h2>
<p>Put keywords in it. It&#39;s an array of strings. This helps people <p>Put keywords in it. It&#39;s an array of strings. This helps people
discover your package as it&#39;s listed in <code>npm search</code>.</p> discover your package as it&#39;s listed in <code>npm search</code>.</p>
<h2 id="homepage">homepage</h2> <h2 id="homepage">homepage</h2>
<p>The url to the project homepage.</p> <p>The url to the project homepage.</p>
<p><strong>NOTE</strong>: This is <em>not</em> the same as &quot;url&quot;. If you put a &quot;url&quot; field, <p><strong>NOTE</strong>: This is <em>not</em> the same as &quot;url&quot;. If you put a &quot;url&quot; field,
then the registry will think it&#39;s a redirection to your package that has then the registry will think it&#39;s a redirection to your package that has
been published somewhere else, and spit at you.</p> been published somewhere else, and spit at you.</p>
<p>Literally. Spit. I&#39;m so not kidding.</p> <p>Literally. Spit. I&#39;m so not kidding.</p>
<h2 id="bugs">bugs</h2> <h2 id="bugs">bugs</h2>
<p>The url to your project&#39;s issue tracker and / or the email address to which <p>The url to your project&#39;s issue tracker and / or the email address to which
issues should be reported. These are helpful for people who encounter issues issues should be reported. These are helpful for people who encounter issues
with your package.</p> with your package.</p>
<p>It should look like this:</p> <p>It should look like this:</p>
<pre><code>{ &quot;url&quot; : &quot;http://github.com/owner/project/issues&quot; <pre><code>{ &quot;url&quot; : &quot;http://github.com/owner/project/issues&quot;
, &quot;email&quot; : &quot;project@hostname.com&quot; , &quot;email&quot; : &quot;project@hostname.com&quot;
}</code></pre> }
</code></pre><p>You can specify either one or both values. If you want to provide only a url,
<p>You can specify either one or both values. If you want to provide only a url,
you can specify the value for &quot;bugs&quot; as a simple string instead of an object.</p> you can specify the value for &quot;bugs&quot; as a simple string instead of an object.</p>
<p>If a url is provided, it will be used by the <code>npm bugs</code> command.</p> <p>If a url is provided, it will be used by the <code>npm bugs</code> command.</p>
<h2 id="license">license</h2> <h2 id="license">license</h2>
<p>You should specify a license for your package so that people know how they are <p>You should specify a license for your package so that people know how they are
permitted to use it, and any restrictions you&#39;re placing on it.</p> permitted to use it, and any restrictions you&#39;re placing on it.</p>
<p>The simplest way, assuming you&#39;re using a common license such as BSD-3-Clause <p>The simplest way, assuming you&#39;re using a common license such as BSD-3-Clause
or MIT, is to just specify the standard SPDX ID of the license you&#39;re using, or MIT, is to just specify the standard SPDX ID of the license you&#39;re using,
like this:</p> like this:</p>
<pre><code>{ &quot;license&quot; : &quot;BSD-3-Clause&quot; }
<pre><code>{ &quot;license&quot; : &quot;BSD-3-Clause&quot; }</code></pre> </code></pre><p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license IDs</a>.
<p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license IDs</a>.
Ideally you should pick one that is Ideally you should pick one that is
<a href="http://opensource.org/licenses/alphabetical">OSI</a> approved.</p> <a href="http://opensource.org/licenses/alphabetical">OSI</a> approved.</p>
<p>It&#39;s also a good idea to include a LICENSE file at the top level in <p>It&#39;s also a good idea to include a LICENSE file at the top level in
your package.</p> your package.</p>
<h2 id="people-fields-author-contributors">people fields: author, contributors</h2> <h2 id="people-fields-author-contributors">people fields: author, contributors</h2>
<p>The &quot;author&quot; is one person. &quot;contributors&quot; is an array of people. A &quot;person&quot; <p>The &quot;author&quot; is one person. &quot;contributors&quot; is an array of people. A &quot;person&quot;
is an object with a &quot;name&quot; field and optionally &quot;url&quot; and &quot;email&quot;, like this:</p> is an object with a &quot;name&quot; field and optionally &quot;url&quot; and &quot;email&quot;, like this:</p>
<pre><code>{ &quot;name&quot; : &quot;Barney Rubble&quot; <pre><code>{ &quot;name&quot; : &quot;Barney Rubble&quot;
, &quot;email&quot; : &quot;b@rubble.com&quot; , &quot;email&quot; : &quot;b@rubble.com&quot;
, &quot;url&quot; : &quot;http://barnyrubble.tumblr.com/&quot; , &quot;url&quot; : &quot;http://barnyrubble.tumblr.com/&quot;
}</code></pre> }
</code></pre><p>Or you can shorten that all into a single string, and npm will parse it for you:</p>
<p>Or you can shorten that all into a single string, and npm will parse it for you:</p> <pre><code>&quot;Barney Rubble &lt;b@rubble.com&gt; (http://barnyrubble.tumblr.com/)
</code></pre><p>Both email and url are optional either way.</p>
<pre><code>&quot;Barney Rubble &lt;b@rubble.com&gt; (http://barnyrubble.tumblr.com/)</code></pre>
<p>Both email and url are optional either way.</p>
<p>npm also sets a top-level &quot;maintainers&quot; field with your npm user info.</p> <p>npm also sets a top-level &quot;maintainers&quot; field with your npm user info.</p>
<h2 id="files">files</h2> <h2 id="files">files</h2>
<p>The &quot;files&quot; field is an array of files to include in your project. If <p>The &quot;files&quot; field is an array of files to include in your project. If
you name a folder in the array, then it will also include the files you name a folder in the array, then it will also include the files
inside that folder. (Unless they would be ignored by another rule.)</p> inside that folder. (Unless they would be ignored by another rule.)</p>
<p>You can also provide a &quot;.npmignore&quot; file in the root of your package, <p>You can also provide a &quot;.npmignore&quot; file in the root of your package,
which will keep files from being included, even if they would be picked which will keep files from being included, even if they would be picked
up by the files array. The &quot;.npmignore&quot; file works just like a up by the files array. The &quot;.npmignore&quot; file works just like a
&quot;.gitignore&quot;.</p> &quot;.gitignore&quot;.</p>
<h2 id="main">main</h2> <h2 id="main">main</h2>
<p>The main field is a module ID that is the primary entry point to your program. <p>The main field is a module ID that is the primary entry point to your program.
That is, if your package is named <code>foo</code>, and a user installs it, and then does That is, if your package is named <code>foo</code>, and a user installs it, and then does
<code>require(&quot;foo&quot;)</code>, then your main module&#39;s exports object will be returned.</p> <code>require(&quot;foo&quot;)</code>, then your main module&#39;s exports object will be returned.</p>
<p>This should be a module ID relative to the root of your package folder.</p> <p>This should be a module ID relative to the root of your package folder.</p>
<p>For most modules, it makes the most sense to have a main script and often not <p>For most modules, it makes the most sense to have a main script and often not
much else.</p> much else.</p>
<h2 id="bin">bin</h2> <h2 id="bin">bin</h2>
<p>A lot of packages have one or more executable files that they&#39;d like to <p>A lot of packages have one or more executable files that they&#39;d like to
install into the PATH. npm makes this pretty easy (in fact, it uses this install into the PATH. npm makes this pretty easy (in fact, it uses this
feature to install the &quot;npm&quot; executable.)</p> feature to install the &quot;npm&quot; executable.)</p>
<p>To use this, supply a <code>bin</code> field in your package.json which is a map of <p>To use this, supply a <code>bin</code> field in your package.json which is a map of
command name to local file name. On install, npm will symlink that file into command name to local file name. On install, npm will symlink that file into
<code>prefix/bin</code> for global installs, or <code>./node_modules/.bin/</code> for local <code>prefix/bin</code> for global installs, or <code>./node_modules/.bin/</code> for local
installs.</p> installs.</p>
<p>For example, npm has this:</p> <p>For example, npm has this:</p>
<pre><code>{ &quot;bin&quot; : { &quot;npm&quot; : &quot;./cli.js&quot; } }
<pre><code>{ &quot;bin&quot; : { &quot;npm&quot; : &quot;./cli.js&quot; } }</code></pre> </code></pre><p>So, when you install npm, it&#39;ll create a symlink from the <code>cli.js</code> script to
<p>So, when you install npm, it&#39;ll create a symlink from the <code>cli.js</code> script to
<code>/usr/local/bin/npm</code>.</p> <code>/usr/local/bin/npm</code>.</p>
<p>If you have a single executable, and its name should be the name <p>If you have a single executable, and its name should be the name
of the package, then you can just supply it as a string. For example:</p> of the package, then you can just supply it as a string. For example:</p>
<pre><code>{ &quot;name&quot;: &quot;my-program&quot; <pre><code>{ &quot;name&quot;: &quot;my-program&quot;
, &quot;version&quot;: &quot;1.2.5&quot; , &quot;version&quot;: &quot;1.2.5&quot;
, &quot;bin&quot;: &quot;./path/to/program&quot; }</code></pre> , &quot;bin&quot;: &quot;./path/to/program&quot; }
</code></pre><p>would be the same as this:</p>
<p>would be the same as this:</p>
<pre><code>{ &quot;name&quot;: &quot;my-program&quot; <pre><code>{ &quot;name&quot;: &quot;my-program&quot;
, &quot;version&quot;: &quot;1.2.5&quot; , &quot;version&quot;: &quot;1.2.5&quot;
, &quot;bin&quot; : { &quot;my-program&quot; : &quot;./path/to/program&quot; } }</code></pre> , &quot;bin&quot; : { &quot;my-program&quot; : &quot;./path/to/program&quot; } }
</code></pre><h2 id="man">man</h2>
<h2 id="man">man</h2>
<p>Specify either a single file or an array of filenames to put in place for the <p>Specify either a single file or an array of filenames to put in place for the
<code>man</code> program to find.</p> <code>man</code> program to find.</p>
<p>If only a single file is provided, then it&#39;s installed such that it is the <p>If only a single file is provided, then it&#39;s installed such that it is the
result from <code>man &lt;pkgname&gt;</code>, regardless of its actual filename. For example:</p> result from <code>man &lt;pkgname&gt;</code>, regardless of its actual filename. For example:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : &quot;./man/doc.1&quot; , &quot;man&quot; : &quot;./man/doc.1&quot;
}</code></pre> }
</code></pre><p>would link the <code>./man/doc.1</code> file in such that it is the target for <code>man foo</code></p>
<p>would link the <code>./man/doc.1</code> file in such that it is the target for <code>man foo</code></p>
<p>If the filename doesn&#39;t start with the package name, then it&#39;s prefixed. <p>If the filename doesn&#39;t start with the package name, then it&#39;s prefixed.
So, this:</p> So, this:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/bar.1&quot; ] , &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/bar.1&quot; ]
}</code></pre> }
</code></pre><p>will create files to do <code>man foo</code> and <code>man foo-bar</code>.</p>
<p>will create files to do <code>man foo</code> and <code>man foo-bar</code>.</p>
<p>Man files must end with a number, and optionally a <code>.gz</code> suffix if they are <p>Man files must end with a number, and optionally a <code>.gz</code> suffix if they are
compressed. The number dictates which man section the file is installed into.</p> compressed. The number dictates which man section the file is installed into.</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;version&quot; : &quot;1.2.3&quot; , &quot;version&quot; : &quot;1.2.3&quot;
, &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot; , &quot;description&quot; : &quot;A packaged foo fooer for fooing foos&quot;
, &quot;main&quot; : &quot;foo.js&quot; , &quot;main&quot; : &quot;foo.js&quot;
, &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/foo.2&quot; ] , &quot;man&quot; : [ &quot;./man/foo.1&quot;, &quot;./man/foo.2&quot; ]
}</code></pre> }
</code></pre><p>will create entries for <code>man foo</code> and <code>man 2 foo</code></p>
<p>will create entries for <code>man foo</code> and <code>man 2 foo</code></p>
<h2 id="directories">directories</h2> <h2 id="directories">directories</h2>
<p>The CommonJS <a href="http://wiki.commonjs.org/wiki/Packages/1.0">Packages</a> spec details a <p>The CommonJS <a href="http://wiki.commonjs.org/wiki/Packages/1.0">Packages</a> spec details a
few ways that you can indicate the structure of your package using a <code>directories</code> few ways that you can indicate the structure of your package using a <code>directories</code>
hash. If you look at <a href="http://registry.npmjs.org/npm/latest">npm&#39;s package.json</a>, hash. If you look at <a href="http://registry.npmjs.org/npm/latest">npm&#39;s package.json</a>,
you&#39;ll see that it has directories for doc, lib, and man.</p> you&#39;ll see that it has directories for doc, lib, and man.</p>
<p>In the future, this information may be used in other creative ways.</p> <p>In the future, this information may be used in other creative ways.</p>
<h3 id="directories-lib">directories.lib</h3> <h3 id="directories-lib">directories.lib</h3>
<p>Tell people where the bulk of your library is. Nothing special is done <p>Tell people where the bulk of your library is. Nothing special is done
with the lib folder in any way, but it&#39;s useful meta info.</p> with the lib folder in any way, but it&#39;s useful meta info.</p>
<h3 id="directories-bin">directories.bin</h3> <h3 id="directories-bin">directories.bin</h3>
<p>If you specify a &quot;bin&quot; directory, then all the files in that folder will <p>If you specify a &quot;bin&quot; directory, then all the files in that folder will
be used as the &quot;bin&quot; hash.</p> be used as the &quot;bin&quot; hash.</p>
<p>If you have a &quot;bin&quot; hash already, then this has no effect.</p> <p>If you have a &quot;bin&quot; hash already, then this has no effect.</p>
<h3 id="directories-man">directories.man</h3> <h3 id="directories-man">directories.man</h3>
<p>A folder that is full of man pages. Sugar to generate a &quot;man&quot; array by <p>A folder that is full of man pages. Sugar to generate a &quot;man&quot; array by
walking the folder.</p> walking the folder.</p>
<h3 id="directories-doc">directories.doc</h3> <h3 id="directories-doc">directories.doc</h3>
<p>Put markdown files in here. Eventually, these will be displayed nicely, <p>Put markdown files in here. Eventually, these will be displayed nicely,
maybe, someday.</p> maybe, someday.</p>
<h3 id="directories-example">directories.example</h3> <h3 id="directories-example">directories.example</h3>
<p>Put example scripts in here. Someday, it might be exposed in some clever way.</p> <p>Put example scripts in here. Someday, it might be exposed in some clever way.</p>
<h2 id="repository">repository</h2> <h2 id="repository">repository</h2>
<p>Specify the place where your code lives. This is helpful for people who <p>Specify the place where your code lives. This is helpful for people who
want to contribute. If the git repo is on github, then the <code>npm docs</code> want to contribute. If the git repo is on github, then the <code>npm docs</code>
command will be able to find you.</p> command will be able to find you.</p>
<p>Do it like this:</p> <p>Do it like this:</p>
<pre><code>&quot;repository&quot; : <pre><code>&quot;repository&quot; :
{ &quot;type&quot; : &quot;git&quot; { &quot;type&quot; : &quot;git&quot;
, &quot;url&quot; : &quot;http://github.com/npm/npm.git&quot; , &quot;url&quot; : &quot;http://github.com/npm/npm.git&quot;
@ -269,52 +190,52 @@ command will be able to find you.</p>
&quot;repository&quot; : &quot;repository&quot; :
{ &quot;type&quot; : &quot;svn&quot; { &quot;type&quot; : &quot;svn&quot;
, &quot;url&quot; : &quot;http://v8.googlecode.com/svn/trunk/&quot; , &quot;url&quot; : &quot;http://v8.googlecode.com/svn/trunk/&quot;
}</code></pre> }
</code></pre><p>The URL should be a publicly available (perhaps read-only) url that can be handed
<p>The URL should be a publicly available (perhaps read-only) url that can be handed
directly to a VCS program without any modification. It should not be a url to an directly to a VCS program without any modification. It should not be a url to an
html project page that you put in your browser. It&#39;s for computers.</p> html project page that you put in your browser. It&#39;s for computers.</p>
<h2 id="scripts">scripts</h2> <h2 id="scripts">scripts</h2>
<p>The &quot;scripts&quot; member is an object hash of script commands that are run <p>The &quot;scripts&quot; member is an object hash of script commands that are run
at various times in the lifecycle of your package. The key is the lifecycle at various times in the lifecycle of your package. The key is the lifecycle
event, and the value is the command to run at that point.</p> event, and the value is the command to run at that point.</p>
<p>See <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> to find out more about writing package scripts.</p> <p>See <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> to find out more about writing package scripts.</p>
<h2 id="config">config</h2> <h2 id="config">config</h2>
<p>A &quot;config&quot; hash can be used to set configuration <p>A &quot;config&quot; hash can be used to set configuration
parameters used in package scripts that persist across upgrades. For parameters used in package scripts that persist across upgrades. For
instance, if a package had the following:</p> instance, if a package had the following:</p>
<pre><code>{ &quot;name&quot; : &quot;foo&quot; <pre><code>{ &quot;name&quot; : &quot;foo&quot;
, &quot;config&quot; : { &quot;port&quot; : &quot;8080&quot; } }</code></pre> , &quot;config&quot; : { &quot;port&quot; : &quot;8080&quot; } }
</code></pre><p>and then had a &quot;start&quot; command that then referenced the
<p>and then had a &quot;start&quot; command that then referenced the
<code>npm_package_config_port</code> environment variable, then the user could <code>npm_package_config_port</code> environment variable, then the user could
override that by doing <code>npm config set foo:port 8001</code>.</p> override that by doing <code>npm config set foo:port 8001</code>.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> for more on package <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and <code><a href="../misc/npm-scripts.html">npm-scripts(7)</a></code> for more on package
configs.</p> configs.</p>
<h2 id="dependencies">dependencies</h2> <h2 id="dependencies">dependencies</h2>
<p>Dependencies are specified with a simple hash of package name to <p>Dependencies are specified with a simple hash of package name to
version range. The version range is a string which has one or more version range. The version range is a string which has one or more
space-separated descriptors. Dependencies can also be identified with space-separated descriptors. Dependencies can also be identified with
a tarball or git URL.</p> a tarball or git URL.</p>
<p><strong>Please do not put test harnesses or transpilers in your <p><strong>Please do not put test harnesses or transpilers in your
<code>dependencies</code> hash.</strong> See <code>devDependencies</code>, below.</p> <code>dependencies</code> hash.</strong> See <code>devDependencies</code>, below.</p>
<p>See <a href="../misc/semver.html">semver(7)</a> for more details about specifying version ranges.</p> <p>See <a href="../misc/semver.html">semver(7)</a> for more details about specifying version ranges.</p>
<ul>
<ul><li><code>version</code> Must match <code>version</code> exactly</li><li><code>&gt;version</code> Must be greater than <code>version</code></li><li><code>&gt;=version</code> etc</li><li><code>&lt;version</code></li><li><code>&lt;=version</code></li><li><code>~version</code> &quot;Approximately equivalent to version&quot; See <a href="../misc/semver.html">semver(7)</a></li><li><code>^version</code> &quot;Compatible with version&quot; See <a href="../misc/semver.html">semver(7)</a></li><li><code>1.2.x</code> 1.2.0, 1.2.1, etc., but not 1.3.0</li><li><code>http://...</code> See &#39;URLs as Dependencies&#39; below</li><li><code>*</code> Matches any version</li><li><code>&quot;&quot;</code> (just an empty string) Same as <code>*</code></li><li><code>version1 - version2</code> Same as <code>&gt;=version1 &lt;=version2</code>.</li><li><code>range1 || range2</code> Passes if either range1 or range2 are satisfied.</li><li><code>git...</code> See &#39;Git URLs as Dependencies&#39; below</li><li><code>user/repo</code> See &#39;GitHub URLs&#39; below</li></ul> <li><code>version</code> Must match <code>version</code> exactly</li>
<li><code>&gt;version</code> Must be greater than <code>version</code></li>
<li><code>&gt;=version</code> etc</li>
<li><code>&lt;version</code></li>
<li><code>&lt;=version</code></li>
<li><code>~version</code> &quot;Approximately equivalent to version&quot; See <a href="../misc/semver.html">semver(7)</a></li>
<li><code>^version</code> &quot;Compatible with version&quot; See <a href="../misc/semver.html">semver(7)</a></li>
<li><code>1.2.x</code> 1.2.0, 1.2.1, etc., but not 1.3.0</li>
<li><code>http://...</code> See &#39;URLs as Dependencies&#39; below</li>
<li><code>*</code> Matches any version</li>
<li><code>&quot;&quot;</code> (just an empty string) Same as <code>*</code></li>
<li><code>version1 - version2</code> Same as <code>&gt;=version1 &lt;=version2</code>.</li>
<li><code>range1 || range2</code> Passes if either range1 or range2 are satisfied.</li>
<li><code>git...</code> See &#39;Git URLs as Dependencies&#39; below</li>
<li><code>user/repo</code> See &#39;GitHub URLs&#39; below</li>
</ul>
<p>For example, these are all valid:</p> <p>For example, these are all valid:</p>
<pre><code>{ &quot;dependencies&quot; : <pre><code>{ &quot;dependencies&quot; :
{ &quot;foo&quot; : &quot;1.0.0 - 2.9999.9999&quot; { &quot;foo&quot; : &quot;1.0.0 - 2.9999.9999&quot;
, &quot;bar&quot; : &quot;&gt;=1.0.2 &lt;2.1.2&quot; , &quot;bar&quot; : &quot;&gt;=1.0.2 &lt;2.1.2&quot;
@ -327,59 +248,42 @@ a tarball or git URL.</p>
, &quot;two&quot; : &quot;2.x&quot; , &quot;two&quot; : &quot;2.x&quot;
, &quot;thr&quot; : &quot;3.3.x&quot; , &quot;thr&quot; : &quot;3.3.x&quot;
} }
}</code></pre> }
</code></pre><h3 id="urls-as-dependencies">URLs as Dependencies</h3>
<h3 id="URLs-as-Dependencies">URLs as Dependencies</h3>
<p>You may specify a tarball URL in place of a version range.</p> <p>You may specify a tarball URL in place of a version range.</p>
<p>This tarball will be downloaded and installed locally to your package at <p>This tarball will be downloaded and installed locally to your package at
install time.</p> install time.</p>
<h3 id="git-urls-as-dependencies">Git URLs as Dependencies</h3>
<h3 id="Git-URLs-as-Dependencies">Git URLs as Dependencies</h3>
<p>Git urls can be of the form:</p> <p>Git urls can be of the form:</p>
<pre><code>git://github.com/user/project.git#commit-ish <pre><code>git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish
git+ssh://user@hostname/project.git#commit-ish git+ssh://user@hostname/project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish</code></pre> git+https://user@hostname/project/blah.git#commit-ish
</code></pre><p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
<p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
an argument to <code>git checkout</code>. The default is <code>master</code>.</p> an argument to <code>git checkout</code>. The default is <code>master</code>.</p>
<h2 id="github-urls">GitHub URLs</h2>
<h2 id="GitHub-URLs">GitHub URLs</h2>
<p>As of version 1.1.65, you can refer to GitHub urls as just &quot;foo&quot;: &quot;user/foo-project&quot;. For example:</p> <p>As of version 1.1.65, you can refer to GitHub urls as just &quot;foo&quot;: &quot;user/foo-project&quot;. For example:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;foo&quot;, &quot;name&quot;: &quot;foo&quot;,
&quot;version&quot;: &quot;0.0.0&quot;, &quot;version&quot;: &quot;0.0.0&quot;,
&quot;dependencies&quot;: { &quot;dependencies&quot;: {
&quot;express&quot;: &quot;visionmedia/express&quot; &quot;express&quot;: &quot;visionmedia/express&quot;
} }
}</code></pre> }
</code></pre><h2 id="devdependencies">devDependencies</h2>
<h2 id="devDependencies">devDependencies</h2>
<p>If someone is planning on downloading and using your module in their <p>If someone is planning on downloading and using your module in their
program, then they probably don&#39;t want or need to download and build program, then they probably don&#39;t want or need to download and build
the external test or documentation framework that you use.</p> the external test or documentation framework that you use.</p>
<p>In this case, it&#39;s best to list these additional items in a <p>In this case, it&#39;s best to list these additional items in a
<code>devDependencies</code> hash.</p> <code>devDependencies</code> hash.</p>
<p>These things will be installed when doing <code>npm link</code> or <code>npm install</code> <p>These things will be installed when doing <code>npm link</code> or <code>npm install</code>
from the root of a package, and can be managed like any other npm from the root of a package, and can be managed like any other npm
configuration param. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more on the topic.</p> configuration param. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more on the topic.</p>
<p>For build steps that are not platform-specific, such as compiling <p>For build steps that are not platform-specific, such as compiling
CoffeeScript or other languages to JavaScript, use the <code>prepublish</code> CoffeeScript or other languages to JavaScript, use the <code>prepublish</code>
script to do this, and make the required package a devDependency.</p> script to do this, and make the required package a devDependency.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>{ &quot;name&quot;: &quot;ethopia-waza&quot;, <pre><code>{ &quot;name&quot;: &quot;ethopia-waza&quot;,
&quot;description&quot;: &quot;a delightfully fruity coffee varietal&quot;, &quot;description&quot;: &quot;a delightfully fruity coffee varietal&quot;,
&quot;version&quot;: &quot;1.2.3&quot;, &quot;version&quot;: &quot;1.2.3&quot;,
@ -390,64 +294,48 @@ script to do this, and make the required package a devDependency.</p>
&quot;prepublish&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot; &quot;prepublish&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot;
}, },
&quot;main&quot;: &quot;lib/waza.js&quot; &quot;main&quot;: &quot;lib/waza.js&quot;
}</code></pre> }
</code></pre><p>The <code>prepublish</code> script will be run before publishing, so that users
<p>The <code>prepublish</code> script will be run before publishing, so that users
can consume the functionality without requiring them to compile it can consume the functionality without requiring them to compile it
themselves. In dev mode (ie, locally running <code>npm install</code>), it&#39;ll themselves. In dev mode (ie, locally running <code>npm install</code>), it&#39;ll
run this script as well, so that you can test it easily.</p> run this script as well, so that you can test it easily.</p>
<h2 id="peerdependencies">peerDependencies</h2>
<h2 id="peerDependencies">peerDependencies</h2>
<p>In some cases, you want to express the compatibility of your package with an <p>In some cases, you want to express the compatibility of your package with an
host tool or library, while not necessarily doing a <code>require</code> of this host. host tool or library, while not necessarily doing a <code>require</code> of this host.
This is usually refered to as a <em>plugin</em>. Notably, your module may be exposing This is usually refered to as a <em>plugin</em>. Notably, your module may be exposing
a specific interface, expected and specified by the host documentation.</p> a specific interface, expected and specified by the host documentation.</p>
<p>For example:</p> <p>For example:</p>
<pre><code>{ <pre><code>{
&quot;name&quot;: &quot;tea-latte&quot;, &quot;name&quot;: &quot;tea-latte&quot;,
&quot;version&quot;: &quot;1.3.5&quot; &quot;version&quot;: &quot;1.3.5&quot;
&quot;peerDependencies&quot;: { &quot;peerDependencies&quot;: {
&quot;tea&quot;: &quot;2.x&quot; &quot;tea&quot;: &quot;2.x&quot;
} }
}</code></pre> }
</code></pre><p>This ensures your package <code>tea-latte</code> can be installed <em>along</em> with the second
<p>This ensures your package <code>tea-latte</code> can be installed <em>along</em> with the second
major version of the host package <code>tea</code> only. The host package is automatically major version of the host package <code>tea</code> only. The host package is automatically
installed if needed. <code>npm install tea-latte</code> could possibly yield the following installed if needed. <code>npm install tea-latte</code> could possibly yield the following
dependency graph:</p> dependency graph:</p>
<pre><code>├── tea-latte@1.3.5 <pre><code>├── tea-latte@1.3.5
└── tea@2.2.0</code></pre> └── tea@2.2.0
</code></pre><p>Trying to install another plugin with a conflicting requirement will cause an
<p>Trying to install another plugin with a conflicting requirement will cause an
error. For this reason, make sure your plugin requirement is as broad as error. For this reason, make sure your plugin requirement is as broad as
possible, and not to lock it down to specific patch versions.</p> possible, and not to lock it down to specific patch versions.</p>
<p>Assuming the host complies with <a href="http://semver.org/">semver</a>, only changes in <p>Assuming the host complies with <a href="http://semver.org/">semver</a>, only changes in
the host package&#39;s major version will break your plugin. Thus, if you&#39;ve worked the host package&#39;s major version will break your plugin. Thus, if you&#39;ve worked
with every 1.x version of the host package, use <code>&quot;^1.0&quot;</code> or <code>&quot;1.x&quot;</code> to express with every 1.x version of the host package, use <code>&quot;^1.0&quot;</code> or <code>&quot;1.x&quot;</code> to express
this. If you depend on features introduced in 1.5.2, use <code>&quot;&gt;= 1.5.2 &lt; 2&quot;</code>.</p> this. If you depend on features introduced in 1.5.2, use <code>&quot;&gt;= 1.5.2 &lt; 2&quot;</code>.</p>
<h2 id="bundleddependencies">bundledDependencies</h2>
<h2 id="bundledDependencies">bundledDependencies</h2>
<p>Array of package names that will be bundled when publishing the package.</p> <p>Array of package names that will be bundled when publishing the package.</p>
<p>If this is spelled <code>&quot;bundleDependencies&quot;</code>, then that is also honorable.</p> <p>If this is spelled <code>&quot;bundleDependencies&quot;</code>, then that is also honorable.</p>
<h2 id="optionaldependencies">optionalDependencies</h2>
<h2 id="optionalDependencies">optionalDependencies</h2>
<p>If a dependency can be used, but you would like npm to proceed if it <p>If a dependency can be used, but you would like npm to proceed if it
cannot be found or fails to install, then you may put it in the cannot be found or fails to install, then you may put it in the
<code>optionalDependencies</code> hash. This is a map of package name to version <code>optionalDependencies</code> hash. This is a map of package name to version
or url, just like the <code>dependencies</code> hash. The difference is that or url, just like the <code>dependencies</code> hash. The difference is that
failure is tolerated.</p> failure is tolerated.</p>
<p>It is still your program&#39;s responsibility to handle the lack of the <p>It is still your program&#39;s responsibility to handle the lack of the
dependency. For example, something like this:</p> dependency. For example, something like this:</p>
<pre><code>try { <pre><code>try {
var foo = require(&#39;foo&#39;) var foo = require(&#39;foo&#39;)
var fooVersion = require(&#39;foo/package.json&#39;).version var fooVersion = require(&#39;foo/package.json&#39;).version
@ -462,122 +350,104 @@ if ( notGoodFooVersion(fooVersion) ) {
if (foo) { if (foo) {
foo.doFooThings() foo.doFooThings()
}</code></pre> }
</code></pre><p>Entries in <code>optionalDependencies</code> will override entries of the same name in
<p>Entries in <code>optionalDependencies</code> will override entries of the same name in
<code>dependencies</code>, so it&#39;s usually best to only put in one place.</p> <code>dependencies</code>, so it&#39;s usually best to only put in one place.</p>
<h2 id="engines">engines</h2> <h2 id="engines">engines</h2>
<p>You can specify the version of node that your stuff works on:</p> <p>You can specify the version of node that your stuff works on:</p>
<pre><code>{ &quot;engines&quot; : { &quot;node&quot; : &quot;&gt;=0.10.3 &lt;0.12&quot; } }
<pre><code>{ &quot;engines&quot; : { &quot;node&quot; : &quot;&gt;=0.10.3 &lt;0.12&quot; } }</code></pre> </code></pre><p>And, like with dependencies, if you don&#39;t specify the version (or if you
<p>And, like with dependencies, if you don&#39;t specify the version (or if you
specify &quot;*&quot; as the version), then any version of node will do.</p> specify &quot;*&quot; as the version), then any version of node will do.</p>
<p>If you specify an &quot;engines&quot; field, then npm will require that &quot;node&quot; be <p>If you specify an &quot;engines&quot; field, then npm will require that &quot;node&quot; be
somewhere on that list. If &quot;engines&quot; is omitted, then npm will just assume somewhere on that list. If &quot;engines&quot; is omitted, then npm will just assume
that it works on node.</p> that it works on node.</p>
<p>You can also use the &quot;engines&quot; field to specify which versions of npm <p>You can also use the &quot;engines&quot; field to specify which versions of npm
are capable of properly installing your program. For example:</p> are capable of properly installing your program. For example:</p>
<pre><code>{ &quot;engines&quot; : { &quot;npm&quot; : &quot;~1.0.20&quot; } }
<pre><code>{ &quot;engines&quot; : { &quot;npm&quot; : &quot;~1.0.20&quot; } }</code></pre> </code></pre><p>Note that, unless the user has set the <code>engine-strict</code> config flag, this
<p>Note that, unless the user has set the <code>engine-strict</code> config flag, this
field is advisory only.</p> field is advisory only.</p>
<h2 id="enginestrict">engineStrict</h2>
<h2 id="engineStrict">engineStrict</h2>
<p>If you are sure that your module will <em>definitely not</em> run properly on <p>If you are sure that your module will <em>definitely not</em> run properly on
versions of Node/npm other than those specified in the <code>engines</code> hash, versions of Node/npm other than those specified in the <code>engines</code> hash,
then you can set <code>&quot;engineStrict&quot;: true</code> in your package.json file. then you can set <code>&quot;engineStrict&quot;: true</code> in your package.json file.
This will override the user&#39;s <code>engine-strict</code> config setting.</p> This will override the user&#39;s <code>engine-strict</code> config setting.</p>
<p>Please do not do this unless you are really very very sure. If your <p>Please do not do this unless you are really very very sure. If your
engines hash is something overly restrictive, you can quite easily and engines hash is something overly restrictive, you can quite easily and
inadvertently lock yourself into obscurity and prevent your users from inadvertently lock yourself into obscurity and prevent your users from
updating to new versions of Node. Consider this choice carefully. If updating to new versions of Node. Consider this choice carefully. If
people abuse it, it will be removed in a future version of npm.</p> people abuse it, it will be removed in a future version of npm.</p>
<h2 id="os">os</h2> <h2 id="os">os</h2>
<p>You can specify which operating systems your <p>You can specify which operating systems your
module will run on:</p> module will run on:</p>
<pre><code>&quot;os&quot; : [ &quot;darwin&quot;, &quot;linux&quot; ]
<pre><code>&quot;os&quot; : [ &quot;darwin&quot;, &quot;linux&quot; ]</code></pre> </code></pre><p>You can also blacklist instead of whitelist operating systems,
<p>You can also blacklist instead of whitelist operating systems,
just prepend the blacklisted os with a &#39;!&#39;:</p> just prepend the blacklisted os with a &#39;!&#39;:</p>
<pre><code>&quot;os&quot; : [ &quot;!win32&quot; ]
<pre><code>&quot;os&quot; : [ &quot;!win32&quot; ]</code></pre> </code></pre><p>The host operating system is determined by <code>process.platform</code></p>
<p>The host operating system is determined by <code>process.platform</code></p>
<p>It is allowed to both blacklist, and whitelist, although there isn&#39;t any <p>It is allowed to both blacklist, and whitelist, although there isn&#39;t any
good reason to do this.</p> good reason to do this.</p>
<h2 id="cpu">cpu</h2> <h2 id="cpu">cpu</h2>
<p>If your code only runs on certain cpu architectures, <p>If your code only runs on certain cpu architectures,
you can specify which ones.</p> you can specify which ones.</p>
<pre><code>&quot;cpu&quot; : [ &quot;x64&quot;, &quot;ia32&quot; ]
<pre><code>&quot;cpu&quot; : [ &quot;x64&quot;, &quot;ia32&quot; ]</code></pre> </code></pre><p>Like the <code>os</code> option, you can also blacklist architectures:</p>
<pre><code>&quot;cpu&quot; : [ &quot;!arm&quot;, &quot;!mips&quot; ]
<p>Like the <code>os</code> option, you can also blacklist architectures:</p> </code></pre><p>The host architecture is determined by <code>process.arch</code></p>
<h2 id="preferglobal">preferGlobal</h2>
<pre><code>&quot;cpu&quot; : [ &quot;!arm&quot;, &quot;!mips&quot; ]</code></pre>
<p>The host architecture is determined by <code>process.arch</code></p>
<h2 id="preferGlobal">preferGlobal</h2>
<p>If your package is primarily a command-line application that should be <p>If your package is primarily a command-line application that should be
installed globally, then set this value to <code>true</code> to provide a warning installed globally, then set this value to <code>true</code> to provide a warning
if it is installed locally.</p> if it is installed locally.</p>
<p>It doesn&#39;t actually prevent users from installing it locally, but it <p>It doesn&#39;t actually prevent users from installing it locally, but it
does help prevent some confusion if it doesn&#39;t work as expected.</p> does help prevent some confusion if it doesn&#39;t work as expected.</p>
<h2 id="private">private</h2> <h2 id="private">private</h2>
<p>If you set <code>&quot;private&quot;: true</code> in your package.json, then npm will refuse <p>If you set <code>&quot;private&quot;: true</code> in your package.json, then npm will refuse
to publish it.</p> to publish it.</p>
<p>This is a way to prevent accidental publication of private repositories. <p>This is a way to prevent accidental publication of private repositories.
If you would like to ensure that a given package is only ever published If you would like to ensure that a given package is only ever published
to a specific registry (for example, an internal registry), to a specific registry (for example, an internal registry),
then use the <code>publishConfig</code> hash described below then use the <code>publishConfig</code> hash described below
to override the <code>registry</code> config param at publish-time.</p> to override the <code>registry</code> config param at publish-time.</p>
<h2 id="publishconfig">publishConfig</h2>
<h2 id="publishConfig">publishConfig</h2>
<p>This is a set of config values that will be used at publish-time. It&#39;s <p>This is a set of config values that will be used at publish-time. It&#39;s
especially handy if you want to set the tag or registry, so that you can especially handy if you want to set the tag or registry, so that you can
ensure that a given package is not tagged with &quot;latest&quot; or published to ensure that a given package is not tagged with &quot;latest&quot; or published to
the global public registry by default.</p> the global public registry by default.</p>
<p>Any config values can be overridden, but of course only &quot;tag&quot; and <p>Any config values can be overridden, but of course only &quot;tag&quot; and
&quot;registry&quot; probably matter for the purposes of publishing.</p> &quot;registry&quot; probably matter for the purposes of publishing.</p>
<p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> to see the list of config options that can be <p>See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> to see the list of config options that can be
overridden.</p> overridden.</p>
<h2 id="default-values">DEFAULT VALUES</h2>
<h2 id="DEFAULT-VALUES">DEFAULT VALUES</h2>
<p>npm will default some values based on package contents.</p> <p>npm will default some values based on package contents.</p>
<ul>
<ul><li><p><code>&quot;scripts&quot;: {&quot;start&quot;: &quot;node server.js&quot;}</code></p><p>If there is a <code>server.js</code> file in the root of your package, then npm <li><p><code>&quot;scripts&quot;: {&quot;start&quot;: &quot;node server.js&quot;}</code></p>
will default the <code>start</code> command to <code>node server.js</code>.</p></li><li><p><code>&quot;scripts&quot;:{&quot;preinstall&quot;: &quot;node-gyp rebuild&quot;}</code></p><p>If there is a <code>binding.gyp</code> file in the root of your package, npm will <p>If there is a <code>server.js</code> file in the root of your package, then npm
default the <code>preinstall</code> command to compile using node-gyp.</p></li><li><p><code>&quot;contributors&quot;: [...]</code></p><p>If there is an <code>AUTHORS</code> file in the root of your package, npm will will default the <code>start</code> command to <code>node server.js</code>.</p>
</li>
<li><p><code>&quot;scripts&quot;:{&quot;preinstall&quot;: &quot;node-gyp rebuild&quot;}</code></p>
<p>If there is a <code>binding.gyp</code> file in the root of your package, npm will
default the <code>preinstall</code> command to compile using node-gyp.</p>
</li>
<li><p><code>&quot;contributors&quot;: [...]</code></p>
<p>If there is an <code>AUTHORS</code> file in the root of your package, npm will
treat each line as a <code>Name &lt;email&gt; (url)</code> format, where email and url treat each line as a <code>Name &lt;email&gt; (url)</code> format, where email and url
are optional. Lines which start with a <code>#</code> or are blank, will be are optional. Lines which start with a <code>#</code> or are blank, will be
ignored.</p></li></ul> ignored.</p>
</li>
<h2 id="SEE-ALSO">SEE ALSO</h2> </ul>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/semver.html">semver(7)</a></li>
<li><a href="../cli/npm-init.html">npm-init(1)</a></li>
<li><a href="../cli/npm-version.html">npm-version(1)</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="../cli/npm-help.html">npm-help(1)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm-install.html">npm-install(1)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../cli/npm-rm.html">npm-rm(1)</a></li>
</ul>
<ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</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="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -589,5 +459,5 @@ ignored.</p></li></ul>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">package.json &mdash; npm@1.4.9</p> <p id="footer">package.json &mdash; npm@1.4.10</p>

415
deps/npm/html/doc/index.html

@ -10,414 +10,211 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="misc/npm-index.html">npm-index</a></h1> <p>Index of all npm documentation</p> <h1><a href="misc/npm-index.html">npm-index</a></h1> <p>Index of all npm documentation</p>
<h2 id="readme-1-"><a href="../doc/README.html">README</a></h2>
<h2 id="README-1"><a href="../doc/README.html">README</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h1 id="command-line-documentation">Command Line Documentation</h1>
<h1>Command Line Documentation</h1> <h2 id="npm-1-"><a href="cli/npm.html">npm(1)</a></h2>
<h2 id="npm-1"><a href="cli/npm.html">npm(1)</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h2 id="npm-adduser-1-"><a href="cli/npm-adduser.html">npm-adduser(1)</a></h2>
<h2 id="npm-adduser-1"><a href="cli/npm-adduser.html">npm-adduser(1)</a></h2>
<p>Add a registry user account</p> <p>Add a registry user account</p>
<h2 id="npm-bin-1-"><a href="cli/npm-bin.html">npm-bin(1)</a></h2>
<h2 id="npm-bin-1"><a href="cli/npm-bin.html">npm-bin(1)</a></h2>
<p>Display npm bin folder</p> <p>Display npm bin folder</p>
<h2 id="npm-bugs-1-"><a href="cli/npm-bugs.html">npm-bugs(1)</a></h2>
<h2 id="npm-bugs-1"><a href="cli/npm-bugs.html">npm-bugs(1)</a></h2>
<p>Bugs for a package in a web browser maybe</p> <p>Bugs for a package in a web browser maybe</p>
<h2 id="npm-build-1-"><a href="cli/npm-build.html">npm-build(1)</a></h2>
<h2 id="npm-build-1"><a href="cli/npm-build.html">npm-build(1)</a></h2>
<p>Build a package</p> <p>Build a package</p>
<h2 id="npm-bundle-1-"><a href="cli/npm-bundle.html">npm-bundle(1)</a></h2>
<h2 id="npm-bundle-1"><a href="cli/npm-bundle.html">npm-bundle(1)</a></h2>
<p>REMOVED</p> <p>REMOVED</p>
<h2 id="npm-cache-1-"><a href="cli/npm-cache.html">npm-cache(1)</a></h2>
<h2 id="npm-cache-1"><a href="cli/npm-cache.html">npm-cache(1)</a></h2>
<p>Manipulates packages cache</p> <p>Manipulates packages cache</p>
<h2 id="npm-completion-1-"><a href="cli/npm-completion.html">npm-completion(1)</a></h2>
<h2 id="npm-completion-1"><a href="cli/npm-completion.html">npm-completion(1)</a></h2>
<p>Tab Completion for npm</p> <p>Tab Completion for npm</p>
<h2 id="npm-config-1-"><a href="cli/npm-config.html">npm-config(1)</a></h2>
<h2 id="npm-config-1"><a href="cli/npm-config.html">npm-config(1)</a></h2>
<p>Manage the npm configuration files</p> <p>Manage the npm configuration files</p>
<h2 id="npm-dedupe-1-"><a href="cli/npm-dedupe.html">npm-dedupe(1)</a></h2>
<h2 id="npm-dedupe-1"><a href="cli/npm-dedupe.html">npm-dedupe(1)</a></h2>
<p>Reduce duplication</p> <p>Reduce duplication</p>
<h2 id="npm-deprecate-1-"><a href="cli/npm-deprecate.html">npm-deprecate(1)</a></h2>
<h2 id="npm-deprecate-1"><a href="cli/npm-deprecate.html">npm-deprecate(1)</a></h2>
<p>Deprecate a version of a package</p> <p>Deprecate a version of a package</p>
<h2 id="npm-docs-1-"><a href="cli/npm-docs.html">npm-docs(1)</a></h2>
<h2 id="npm-docs-1"><a href="cli/npm-docs.html">npm-docs(1)</a></h2>
<p>Docs for a package in a web browser maybe</p> <p>Docs for a package in a web browser maybe</p>
<h2 id="npm-edit-1-"><a href="cli/npm-edit.html">npm-edit(1)</a></h2>
<h2 id="npm-edit-1"><a href="cli/npm-edit.html">npm-edit(1)</a></h2>
<p>Edit an installed package</p> <p>Edit an installed package</p>
<h2 id="npm-explore-1-"><a href="cli/npm-explore.html">npm-explore(1)</a></h2>
<h2 id="npm-explore-1"><a href="cli/npm-explore.html">npm-explore(1)</a></h2>
<p>Browse an installed package</p> <p>Browse an installed package</p>
<h2 id="npm-help-search-1-"><a href="cli/npm-help-search.html">npm-help-search(1)</a></h2>
<h2 id="npm-help-search-1"><a href="cli/npm-help-search.html">npm-help-search(1)</a></h2>
<p>Search npm help documentation</p> <p>Search npm help documentation</p>
<h2 id="npm-help-1-"><a href="cli/npm-help.html">npm-help(1)</a></h2>
<h2 id="npm-help-1"><a href="cli/npm-help.html">npm-help(1)</a></h2>
<p>Get help on npm</p> <p>Get help on npm</p>
<h2 id="npm-init-1-"><a href="cli/npm-init.html">npm-init(1)</a></h2>
<h2 id="npm-init-1"><a href="cli/npm-init.html">npm-init(1)</a></h2>
<p>Interactively create a package.json file</p> <p>Interactively create a package.json file</p>
<h2 id="npm-install-1-"><a href="cli/npm-install.html">npm-install(1)</a></h2>
<h2 id="npm-install-1"><a href="cli/npm-install.html">npm-install(1)</a></h2>
<p>Install a package</p> <p>Install a package</p>
<h2 id="npm-link-1-"><a href="cli/npm-link.html">npm-link(1)</a></h2>
<h2 id="npm-link-1"><a href="cli/npm-link.html">npm-link(1)</a></h2>
<p>Symlink a package folder</p> <p>Symlink a package folder</p>
<h2 id="npm-ls-1-"><a href="cli/npm-ls.html">npm-ls(1)</a></h2>
<h2 id="npm-ls-1"><a href="cli/npm-ls.html">npm-ls(1)</a></h2>
<p>List installed packages</p> <p>List installed packages</p>
<h2 id="npm-outdated-1-"><a href="cli/npm-outdated.html">npm-outdated(1)</a></h2>
<h2 id="npm-outdated-1"><a href="cli/npm-outdated.html">npm-outdated(1)</a></h2>
<p>Check for outdated packages</p> <p>Check for outdated packages</p>
<h2 id="npm-owner-1-"><a href="cli/npm-owner.html">npm-owner(1)</a></h2>
<h2 id="npm-owner-1"><a href="cli/npm-owner.html">npm-owner(1)</a></h2>
<p>Manage package owners</p> <p>Manage package owners</p>
<h2 id="npm-pack-1-"><a href="cli/npm-pack.html">npm-pack(1)</a></h2>
<h2 id="npm-pack-1"><a href="cli/npm-pack.html">npm-pack(1)</a></h2>
<p>Create a tarball from a package</p> <p>Create a tarball from a package</p>
<h2 id="npm-prefix-1-"><a href="cli/npm-prefix.html">npm-prefix(1)</a></h2>
<h2 id="npm-prefix-1"><a href="cli/npm-prefix.html">npm-prefix(1)</a></h2>
<p>Display prefix</p> <p>Display prefix</p>
<h2 id="npm-prune-1-"><a href="cli/npm-prune.html">npm-prune(1)</a></h2>
<h2 id="npm-prune-1"><a href="cli/npm-prune.html">npm-prune(1)</a></h2>
<p>Remove extraneous packages</p> <p>Remove extraneous packages</p>
<h2 id="npm-publish-1-"><a href="cli/npm-publish.html">npm-publish(1)</a></h2>
<h2 id="npm-publish-1"><a href="cli/npm-publish.html">npm-publish(1)</a></h2>
<p>Publish a package</p> <p>Publish a package</p>
<h2 id="npm-rebuild-1-"><a href="cli/npm-rebuild.html">npm-rebuild(1)</a></h2>
<h2 id="npm-rebuild-1"><a href="cli/npm-rebuild.html">npm-rebuild(1)</a></h2>
<p>Rebuild a package</p> <p>Rebuild a package</p>
<h2 id="npm-repo-1-"><a href="cli/npm-repo.html">npm-repo(1)</a></h2>
<h2 id="npm-repo-1"><a href="cli/npm-repo.html">npm-repo(1)</a></h2>
<p>Open package repository page in the browser</p> <p>Open package repository page in the browser</p>
<h2 id="npm-restart-1-"><a href="cli/npm-restart.html">npm-restart(1)</a></h2>
<h2 id="npm-restart-1"><a href="cli/npm-restart.html">npm-restart(1)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-rm-1-"><a href="cli/npm-rm.html">npm-rm(1)</a></h2>
<h2 id="npm-rm-1"><a href="cli/npm-rm.html">npm-rm(1)</a></h2>
<p>Remove a package</p> <p>Remove a package</p>
<h2 id="npm-root-1-"><a href="cli/npm-root.html">npm-root(1)</a></h2>
<h2 id="npm-root-1"><a href="cli/npm-root.html">npm-root(1)</a></h2>
<p>Display npm root</p> <p>Display npm root</p>
<h2 id="npm-run-script-1-"><a href="cli/npm-run-script.html">npm-run-script(1)</a></h2>
<h2 id="npm-run-script-1"><a href="cli/npm-run-script.html">npm-run-script(1)</a></h2>
<p>Run arbitrary package scripts</p> <p>Run arbitrary package scripts</p>
<h2 id="npm-search-1-"><a href="cli/npm-search.html">npm-search(1)</a></h2>
<h2 id="npm-search-1"><a href="cli/npm-search.html">npm-search(1)</a></h2>
<p>Search for packages</p> <p>Search for packages</p>
<h2 id="npm-shrinkwrap-1-"><a href="cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></h2>
<h2 id="npm-shrinkwrap-1"><a href="cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></h2>
<p>Lock down dependency versions</p> <p>Lock down dependency versions</p>
<h2 id="npm-star-1-"><a href="cli/npm-star.html">npm-star(1)</a></h2>
<h2 id="npm-star-1"><a href="cli/npm-star.html">npm-star(1)</a></h2>
<p>Mark your favorite packages</p> <p>Mark your favorite packages</p>
<h2 id="npm-stars-1-"><a href="cli/npm-stars.html">npm-stars(1)</a></h2>
<h2 id="npm-stars-1"><a href="cli/npm-stars.html">npm-stars(1)</a></h2>
<p>View packages marked as favorites</p> <p>View packages marked as favorites</p>
<h2 id="npm-start-1-"><a href="cli/npm-start.html">npm-start(1)</a></h2>
<h2 id="npm-start-1"><a href="cli/npm-start.html">npm-start(1)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-stop-1-"><a href="cli/npm-stop.html">npm-stop(1)</a></h2>
<h2 id="npm-stop-1"><a href="cli/npm-stop.html">npm-stop(1)</a></h2>
<p>Stop a package</p> <p>Stop a package</p>
<h2 id="npm-submodule-1-"><a href="cli/npm-submodule.html">npm-submodule(1)</a></h2>
<h2 id="npm-submodule-1"><a href="cli/npm-submodule.html">npm-submodule(1)</a></h2>
<p>Add a package as a git submodule</p> <p>Add a package as a git submodule</p>
<h2 id="npm-tag-1-"><a href="cli/npm-tag.html">npm-tag(1)</a></h2>
<h2 id="npm-tag-1"><a href="cli/npm-tag.html">npm-tag(1)</a></h2>
<p>Tag a published version</p> <p>Tag a published version</p>
<h2 id="npm-test-1-"><a href="cli/npm-test.html">npm-test(1)</a></h2>
<h2 id="npm-test-1"><a href="cli/npm-test.html">npm-test(1)</a></h2>
<p>Test a package</p> <p>Test a package</p>
<h2 id="npm-uninstall-1-"><a href="cli/npm-uninstall.html">npm-uninstall(1)</a></h2>
<h2 id="npm-uninstall-1"><a href="cli/npm-uninstall.html">npm-uninstall(1)</a></h2>
<p>Remove a package</p> <p>Remove a package</p>
<h2 id="npm-unpublish-1-"><a href="cli/npm-unpublish.html">npm-unpublish(1)</a></h2>
<h2 id="npm-unpublish-1"><a href="cli/npm-unpublish.html">npm-unpublish(1)</a></h2>
<p>Remove a package from the registry</p> <p>Remove a package from the registry</p>
<h2 id="npm-update-1-"><a href="cli/npm-update.html">npm-update(1)</a></h2>
<h2 id="npm-update-1"><a href="cli/npm-update.html">npm-update(1)</a></h2>
<p>Update a package</p> <p>Update a package</p>
<h2 id="npm-version-1-"><a href="cli/npm-version.html">npm-version(1)</a></h2>
<h2 id="npm-version-1"><a href="cli/npm-version.html">npm-version(1)</a></h2>
<p>Bump a package version</p> <p>Bump a package version</p>
<h2 id="npm-view-1-"><a href="cli/npm-view.html">npm-view(1)</a></h2>
<h2 id="npm-view-1"><a href="cli/npm-view.html">npm-view(1)</a></h2>
<p>View registry info</p> <p>View registry info</p>
<h2 id="npm-whoami-1-"><a href="cli/npm-whoami.html">npm-whoami(1)</a></h2>
<h2 id="npm-whoami-1"><a href="cli/npm-whoami.html">npm-whoami(1)</a></h2>
<p>Display npm username</p> <p>Display npm username</p>
<h1 id="api-documentation">API Documentation</h1>
<h1>API Documentation</h1> <h2 id="npm-3-"><a href="api/npm.html">npm(3)</a></h2>
<h2 id="npm-3"><a href="api/npm.html">npm(3)</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h2 id="npm-bin-3-"><a href="api/npm-bin.html">npm-bin(3)</a></h2>
<h2 id="npm-bin-3"><a href="api/npm-bin.html">npm-bin(3)</a></h2>
<p>Display npm bin folder</p> <p>Display npm bin folder</p>
<h2 id="npm-bugs-3-"><a href="api/npm-bugs.html">npm-bugs(3)</a></h2>
<h2 id="npm-bugs-3"><a href="api/npm-bugs.html">npm-bugs(3)</a></h2>
<p>Bugs for a package in a web browser maybe</p> <p>Bugs for a package in a web browser maybe</p>
<h2 id="npm-commands-3-"><a href="api/npm-commands.html">npm-commands(3)</a></h2>
<h2 id="npm-commands-3"><a href="api/npm-commands.html">npm-commands(3)</a></h2>
<p>npm commands</p> <p>npm commands</p>
<h2 id="npm-config-3-"><a href="api/npm-config.html">npm-config(3)</a></h2>
<h2 id="npm-config-3"><a href="api/npm-config.html">npm-config(3)</a></h2>
<p>Manage the npm configuration files</p> <p>Manage the npm configuration files</p>
<h2 id="npm-deprecate-3-"><a href="api/npm-deprecate.html">npm-deprecate(3)</a></h2>
<h2 id="npm-deprecate-3"><a href="api/npm-deprecate.html">npm-deprecate(3)</a></h2>
<p>Deprecate a version of a package</p> <p>Deprecate a version of a package</p>
<h2 id="npm-docs-3-"><a href="api/npm-docs.html">npm-docs(3)</a></h2>
<h2 id="npm-docs-3"><a href="api/npm-docs.html">npm-docs(3)</a></h2>
<p>Docs for a package in a web browser maybe</p> <p>Docs for a package in a web browser maybe</p>
<h2 id="npm-edit-3-"><a href="api/npm-edit.html">npm-edit(3)</a></h2>
<h2 id="npm-edit-3"><a href="api/npm-edit.html">npm-edit(3)</a></h2>
<p>Edit an installed package</p> <p>Edit an installed package</p>
<h2 id="npm-explore-3-"><a href="api/npm-explore.html">npm-explore(3)</a></h2>
<h2 id="npm-explore-3"><a href="api/npm-explore.html">npm-explore(3)</a></h2>
<p>Browse an installed package</p> <p>Browse an installed package</p>
<h2 id="npm-help-search-3-"><a href="api/npm-help-search.html">npm-help-search(3)</a></h2>
<h2 id="npm-help-search-3"><a href="api/npm-help-search.html">npm-help-search(3)</a></h2>
<p>Search the help pages</p> <p>Search the help pages</p>
<h2 id="npm-init-3-"><a href="api/npm-init.html">npm-init(3)</a></h2>
<h2 id="npm-init-3"><a href="api/npm-init.html">npm-init(3)</a></h2>
<p>Interactively create a package.json file</p> <p>Interactively create a package.json file</p>
<h2 id="npm-install-3-"><a href="api/npm-install.html">npm-install(3)</a></h2>
<h2 id="npm-install-3"><a href="api/npm-install.html">npm-install(3)</a></h2>
<p>install a package programmatically</p> <p>install a package programmatically</p>
<h2 id="npm-link-3-"><a href="api/npm-link.html">npm-link(3)</a></h2>
<h2 id="npm-link-3"><a href="api/npm-link.html">npm-link(3)</a></h2>
<p>Symlink a package folder</p> <p>Symlink a package folder</p>
<h2 id="npm-load-3-"><a href="api/npm-load.html">npm-load(3)</a></h2>
<h2 id="npm-load-3"><a href="api/npm-load.html">npm-load(3)</a></h2>
<p>Load config settings</p> <p>Load config settings</p>
<h2 id="npm-ls-3-"><a href="api/npm-ls.html">npm-ls(3)</a></h2>
<h2 id="npm-ls-3"><a href="api/npm-ls.html">npm-ls(3)</a></h2>
<p>List installed packages</p> <p>List installed packages</p>
<h2 id="npm-outdated-3-"><a href="api/npm-outdated.html">npm-outdated(3)</a></h2>
<h2 id="npm-outdated-3"><a href="api/npm-outdated.html">npm-outdated(3)</a></h2>
<p>Check for outdated packages</p> <p>Check for outdated packages</p>
<h2 id="npm-owner-3-"><a href="api/npm-owner.html">npm-owner(3)</a></h2>
<h2 id="npm-owner-3"><a href="api/npm-owner.html">npm-owner(3)</a></h2>
<p>Manage package owners</p> <p>Manage package owners</p>
<h2 id="npm-pack-3-"><a href="api/npm-pack.html">npm-pack(3)</a></h2>
<h2 id="npm-pack-3"><a href="api/npm-pack.html">npm-pack(3)</a></h2>
<p>Create a tarball from a package</p> <p>Create a tarball from a package</p>
<h2 id="npm-prefix-3-"><a href="api/npm-prefix.html">npm-prefix(3)</a></h2>
<h2 id="npm-prefix-3"><a href="api/npm-prefix.html">npm-prefix(3)</a></h2>
<p>Display prefix</p> <p>Display prefix</p>
<h2 id="npm-prune-3-"><a href="api/npm-prune.html">npm-prune(3)</a></h2>
<h2 id="npm-prune-3"><a href="api/npm-prune.html">npm-prune(3)</a></h2>
<p>Remove extraneous packages</p> <p>Remove extraneous packages</p>
<h2 id="npm-publish-3-"><a href="api/npm-publish.html">npm-publish(3)</a></h2>
<h2 id="npm-publish-3"><a href="api/npm-publish.html">npm-publish(3)</a></h2>
<p>Publish a package</p> <p>Publish a package</p>
<h2 id="npm-rebuild-3-"><a href="api/npm-rebuild.html">npm-rebuild(3)</a></h2>
<h2 id="npm-rebuild-3"><a href="api/npm-rebuild.html">npm-rebuild(3)</a></h2>
<p>Rebuild a package</p> <p>Rebuild a package</p>
<h2 id="npm-repo-3-"><a href="api/npm-repo.html">npm-repo(3)</a></h2>
<h2 id="npm-repo-3"><a href="api/npm-repo.html">npm-repo(3)</a></h2>
<p>Open package repository page in the browser</p> <p>Open package repository page in the browser</p>
<h2 id="npm-restart-3-"><a href="api/npm-restart.html">npm-restart(3)</a></h2>
<h2 id="npm-restart-3"><a href="api/npm-restart.html">npm-restart(3)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-root-3-"><a href="api/npm-root.html">npm-root(3)</a></h2>
<h2 id="npm-root-3"><a href="api/npm-root.html">npm-root(3)</a></h2>
<p>Display npm root</p> <p>Display npm root</p>
<h2 id="npm-run-script-3-"><a href="api/npm-run-script.html">npm-run-script(3)</a></h2>
<h2 id="npm-run-script-3"><a href="api/npm-run-script.html">npm-run-script(3)</a></h2>
<p>Run arbitrary package scripts</p> <p>Run arbitrary package scripts</p>
<h2 id="npm-search-3-"><a href="api/npm-search.html">npm-search(3)</a></h2>
<h2 id="npm-search-3"><a href="api/npm-search.html">npm-search(3)</a></h2>
<p>Search for packages</p> <p>Search for packages</p>
<h2 id="npm-shrinkwrap-3-"><a href="api/npm-shrinkwrap.html">npm-shrinkwrap(3)</a></h2>
<h2 id="npm-shrinkwrap-3"><a href="api/npm-shrinkwrap.html">npm-shrinkwrap(3)</a></h2>
<p>programmatically generate package shrinkwrap file</p> <p>programmatically generate package shrinkwrap file</p>
<h2 id="npm-start-3-"><a href="api/npm-start.html">npm-start(3)</a></h2>
<h2 id="npm-start-3"><a href="api/npm-start.html">npm-start(3)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-stop-3-"><a href="api/npm-stop.html">npm-stop(3)</a></h2>
<h2 id="npm-stop-3"><a href="api/npm-stop.html">npm-stop(3)</a></h2>
<p>Stop a package</p> <p>Stop a package</p>
<h2 id="npm-submodule-3-"><a href="api/npm-submodule.html">npm-submodule(3)</a></h2>
<h2 id="npm-submodule-3"><a href="api/npm-submodule.html">npm-submodule(3)</a></h2>
<p>Add a package as a git submodule</p> <p>Add a package as a git submodule</p>
<h2 id="npm-tag-3-"><a href="api/npm-tag.html">npm-tag(3)</a></h2>
<h2 id="npm-tag-3"><a href="api/npm-tag.html">npm-tag(3)</a></h2>
<p>Tag a published version</p> <p>Tag a published version</p>
<h2 id="npm-test-3-"><a href="api/npm-test.html">npm-test(3)</a></h2>
<h2 id="npm-test-3"><a href="api/npm-test.html">npm-test(3)</a></h2>
<p>Test a package</p> <p>Test a package</p>
<h2 id="npm-uninstall-3-"><a href="api/npm-uninstall.html">npm-uninstall(3)</a></h2>
<h2 id="npm-uninstall-3"><a href="api/npm-uninstall.html">npm-uninstall(3)</a></h2>
<p>uninstall a package programmatically</p> <p>uninstall a package programmatically</p>
<h2 id="npm-unpublish-3-"><a href="api/npm-unpublish.html">npm-unpublish(3)</a></h2>
<h2 id="npm-unpublish-3"><a href="api/npm-unpublish.html">npm-unpublish(3)</a></h2>
<p>Remove a package from the registry</p> <p>Remove a package from the registry</p>
<h2 id="npm-update-3-"><a href="api/npm-update.html">npm-update(3)</a></h2>
<h2 id="npm-update-3"><a href="api/npm-update.html">npm-update(3)</a></h2>
<p>Update a package</p> <p>Update a package</p>
<h2 id="npm-version-3-"><a href="api/npm-version.html">npm-version(3)</a></h2>
<h2 id="npm-version-3"><a href="api/npm-version.html">npm-version(3)</a></h2>
<p>Bump a package version</p> <p>Bump a package version</p>
<h2 id="npm-view-3-"><a href="api/npm-view.html">npm-view(3)</a></h2>
<h2 id="npm-view-3"><a href="api/npm-view.html">npm-view(3)</a></h2>
<p>View registry info</p> <p>View registry info</p>
<h2 id="npm-whoami-3-"><a href="api/npm-whoami.html">npm-whoami(3)</a></h2>
<h2 id="npm-whoami-3"><a href="api/npm-whoami.html">npm-whoami(3)</a></h2>
<p>Display npm username</p> <p>Display npm username</p>
<h1 id="files">Files</h1>
<h1>Files</h1> <h2 id="npm-folders-5-"><a href="files/npm-folders.html">npm-folders(5)</a></h2>
<h2 id="npm-folders-5"><a href="files/npm-folders.html">npm-folders(5)</a></h2>
<p>Folder Structures Used by npm</p> <p>Folder Structures Used by npm</p>
<h2 id="npmrc-5-"><a href="files/npmrc.html">npmrc(5)</a></h2>
<h2 id="npmrc-5"><a href="files/npmrc.html">npmrc(5)</a></h2>
<p>The npm config files</p> <p>The npm config files</p>
<h2 id="package-json-5-"><a href="files/package.json.html">package.json(5)</a></h2>
<h2 id="package-json-5"><a href="files/package.json.html">package.json(5)</a></h2>
<p>Specifics of npm&#39;s package.json handling</p> <p>Specifics of npm&#39;s package.json handling</p>
<h1 id="misc">Misc</h1>
<h1>Misc</h1> <h2 id="npm-coding-style-7-"><a href="misc/npm-coding-style.html">npm-coding-style(7)</a></h2>
<h2 id="npm-coding-style-7"><a href="misc/npm-coding-style.html">npm-coding-style(7)</a></h2>
<p>npm&#39;s &quot;funny&quot; coding style</p> <p>npm&#39;s &quot;funny&quot; coding style</p>
<h2 id="npm-config-7-"><a href="misc/npm-config.html">npm-config(7)</a></h2>
<h2 id="npm-config-7"><a href="misc/npm-config.html">npm-config(7)</a></h2>
<p>More than you probably want to know about npm configuration</p> <p>More than you probably want to know about npm configuration</p>
<h2 id="npm-developers-7-"><a href="misc/npm-developers.html">npm-developers(7)</a></h2>
<h2 id="npm-developers-7"><a href="misc/npm-developers.html">npm-developers(7)</a></h2>
<p>Developer Guide</p> <p>Developer Guide</p>
<h2 id="npm-disputes-7-"><a href="misc/npm-disputes.html">npm-disputes(7)</a></h2>
<h2 id="npm-disputes-7"><a href="misc/npm-disputes.html">npm-disputes(7)</a></h2>
<p>Handling Module Name Disputes</p> <p>Handling Module Name Disputes</p>
<h2 id="npm-faq-7-"><a href="misc/npm-faq.html">npm-faq(7)</a></h2>
<h2 id="npm-faq-7"><a href="misc/npm-faq.html">npm-faq(7)</a></h2>
<p>Frequently Asked Questions</p> <p>Frequently Asked Questions</p>
<h2 id="npm-index-7-"><a href="misc/npm-index.html">npm-index(7)</a></h2>
<h2 id="npm-index-7"><a href="misc/npm-index.html">npm-index(7)</a></h2>
<p>Index of all npm documentation</p> <p>Index of all npm documentation</p>
<h2 id="npm-registry-7-"><a href="misc/npm-registry.html">npm-registry(7)</a></h2>
<h2 id="npm-registry-7"><a href="misc/npm-registry.html">npm-registry(7)</a></h2>
<p>The JavaScript Package Registry</p> <p>The JavaScript Package Registry</p>
<h2 id="npm-scripts-7-"><a href="misc/npm-scripts.html">npm-scripts(7)</a></h2>
<h2 id="npm-scripts-7"><a href="misc/npm-scripts.html">npm-scripts(7)</a></h2>
<p>How npm handles the &quot;scripts&quot; field</p> <p>How npm handles the &quot;scripts&quot; field</p>
<h2 id="removing-npm-7-"><a href="misc/removing-npm.html">removing-npm(7)</a></h2>
<h2 id="removing-npm-7"><a href="misc/removing-npm.html">removing-npm(7)</a></h2>
<p>Cleaning the Slate</p> <p>Cleaning the Slate</p>
<h2 id="semver-7-"><a href="misc/semver.html">semver(7)</a></h2>
<h2 id="semver-7"><a href="misc/semver.html">semver(7)</a></h2>
<p>The semantic versioner for npm</p> <p>The semantic versioner for npm</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -429,5 +226,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-index &mdash; npm@1.4.9</p> <p id="footer">npm-index &mdash; npm@1.4.10</p>

122
deps/npm/html/doc/misc/npm-coding-style.html

@ -10,71 +10,51 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../misc/npm-coding-style.html">npm-coding-style</a></h1> <p>npm&#39;s &quot;funny&quot; coding style</p> <h1><a href="../misc/npm-coding-style.html">npm-coding-style</a></h1> <p>npm&#39;s &quot;funny&quot; coding style</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>npm&#39;s coding style is a bit unconventional. It is not different for <p>npm&#39;s coding style is a bit unconventional. It is not different for
difference&#39;s sake, but rather a carefully crafted style that is difference&#39;s sake, but rather a carefully crafted style that is
designed to reduce visual clutter and make bugs more apparent.</p> designed to reduce visual clutter and make bugs more apparent.</p>
<p>If you want to contribute to npm (which is very encouraged), you should <p>If you want to contribute to npm (which is very encouraged), you should
make your code conform to npm&#39;s style.</p> make your code conform to npm&#39;s style.</p>
<p>Note: this concerns npm&#39;s code not the specific packages at npmjs.org</p> <p>Note: this concerns npm&#39;s code not the specific packages at npmjs.org</p>
<h2 id="line-length">Line Length</h2>
<h2 id="Line-Length">Line Length</h2>
<p>Keep lines shorter than 80 characters. It&#39;s better for lines to be <p>Keep lines shorter than 80 characters. It&#39;s better for lines to be
too short than to be too long. Break up long lists, objects, and other too short than to be too long. Break up long lists, objects, and other
statements onto multiple lines.</p> statements onto multiple lines.</p>
<h2 id="indentation">Indentation</h2>
<h2 id="Indentation">Indentation</h2>
<p>Two-spaces. Tabs are better, but they look like hell in web browsers <p>Two-spaces. Tabs are better, but they look like hell in web browsers
(and on github), and node uses 2 spaces, so that&#39;s that.</p> (and on github), and node uses 2 spaces, so that&#39;s that.</p>
<p>Configure your editor appropriately.</p> <p>Configure your editor appropriately.</p>
<h2 id="curly-braces">Curly braces</h2>
<h2 id="Curly-braces">Curly braces</h2>
<p>Curly braces belong on the same line as the thing that necessitates them.</p> <p>Curly braces belong on the same line as the thing that necessitates them.</p>
<p>Bad:</p> <p>Bad:</p>
<pre><code>function () <pre><code>function ()
{</code></pre> {
</code></pre><p>Good:</p>
<p>Good:</p> <pre><code>function () {
</code></pre><p>If a block needs to wrap to the next line, use a curly brace. Don&#39;t
<pre><code>function () {</code></pre>
<p>If a block needs to wrap to the next line, use a curly brace. Don&#39;t
use it if it doesn&#39;t.</p> use it if it doesn&#39;t.</p>
<p>Bad:</p> <p>Bad:</p>
<pre><code>if (foo) { bar() } <pre><code>if (foo) { bar() }
while (foo) while (foo)
bar()</code></pre> bar()
</code></pre><p>Good:</p>
<p>Good:</p>
<pre><code>if (foo) bar() <pre><code>if (foo) bar()
while (foo) { while (foo) {
bar() bar()
}</code></pre> }
</code></pre><h2 id="semicolons">Semicolons</h2>
<h2 id="Semicolons">Semicolons</h2>
<p>Don&#39;t use them except in four situations:</p> <p>Don&#39;t use them except in four situations:</p>
<ul>
<ul><li><code>for (;;)</code> loops. They&#39;re actually required.</li><li>null loops like: <code>while (something) ;</code> (But you&#39;d better have a good <li><code>for (;;)</code> loops. They&#39;re actually required.</li>
reason for doing that.)</li><li><code>case &quot;foo&quot;: doSomething(); break</code></li><li>In front of a leading <code>(</code> or <code>[</code> at the start of the line. <li>null loops like: <code>while (something) ;</code> (But you&#39;d better have a good
reason for doing that.)</li>
<li><code>case &quot;foo&quot;: doSomething(); break</code></li>
<li>In front of a leading <code>(</code> or <code>[</code> at the start of the line.
This prevents the expression from being interpreted This prevents the expression from being interpreted
as a function call or property access, respectively.</li></ul> as a function call or property access, respectively.</li>
</ul>
<p>Some examples of good semicolon usage:</p> <p>Some examples of good semicolon usage:</p>
<pre><code>;(x || y).doSomething() <pre><code>;(x || y).doSomething()
;[a, b, c].forEach(doSomething) ;[a, b, c].forEach(doSomething)
for (var i = 0; i &lt; 10; i ++) { for (var i = 0; i &lt; 10; i ++) {
@ -84,18 +64,14 @@ for (var i = 0; i &lt; 10; i ++) {
default: throw new Error(&quot;unknown state&quot;) default: throw new Error(&quot;unknown state&quot;)
} }
end() end()
}</code></pre> }
</code></pre><p>Note that starting lines with <code>-</code> and <code>+</code> also should be prefixed
<p>Note that starting lines with <code>-</code> and <code>+</code> also should be prefixed
with a semicolon, but this is much less common.</p> with a semicolon, but this is much less common.</p>
<h2 id="comma-first">Comma First</h2>
<h2 id="Comma-First">Comma First</h2>
<p>If there is a list of things separated by commas, and it wraps <p>If there is a list of things separated by commas, and it wraps
across multiple lines, put the comma at the start of the next across multiple lines, put the comma at the start of the next
line, directly below the token that starts the list. Put the line, directly below the token that starts the list. Put the
final token in the list on a line by itself. For example:</p> final token in the list on a line by itself. For example:</p>
<pre><code>var magicWords = [ &quot;abracadabra&quot; <pre><code>var magicWords = [ &quot;abracadabra&quot;
, &quot;gesundheit&quot; , &quot;gesundheit&quot;
, &quot;ventrilo&quot; , &quot;ventrilo&quot;
@ -106,84 +82,60 @@ final token in the list on a line by itself. For example:</p>
, a = 1 , a = 1
, b = &quot;abc&quot; , b = &quot;abc&quot;
, etc , etc
, somethingElse</code></pre> , somethingElse
</code></pre><h2 id="whitespace">Whitespace</h2>
<h2 id="Whitespace">Whitespace</h2>
<p>Put a single space in front of ( for anything other than a function call. <p>Put a single space in front of ( for anything other than a function call.
Also use a single space wherever it makes things more readable.</p> Also use a single space wherever it makes things more readable.</p>
<p>Don&#39;t leave trailing whitespace at the end of lines. Don&#39;t indent empty <p>Don&#39;t leave trailing whitespace at the end of lines. Don&#39;t indent empty
lines. Don&#39;t use more spaces than are helpful.</p> lines. Don&#39;t use more spaces than are helpful.</p>
<h2 id="functions">Functions</h2>
<h2 id="Functions">Functions</h2>
<p>Use named functions. They make stack traces a lot easier to read.</p> <p>Use named functions. They make stack traces a lot easier to read.</p>
<h2 id="callbacks-sync-async-style">Callbacks, Sync/async Style</h2>
<h2 id="Callbacks-Sync-async-Style">Callbacks, Sync/async Style</h2>
<p>Use the asynchronous/non-blocking versions of things as much as possible. <p>Use the asynchronous/non-blocking versions of things as much as possible.
It might make more sense for npm to use the synchronous fs APIs, but this It might make more sense for npm to use the synchronous fs APIs, but this
way, the fs and http and child process stuff all uses the same callback-passing way, the fs and http and child process stuff all uses the same callback-passing
methodology.</p> methodology.</p>
<p>The callback should always be the last argument in the list. Its first <p>The callback should always be the last argument in the list. Its first
argument is the Error or null.</p> argument is the Error or null.</p>
<p>Be very careful never to ever ever throw anything. It&#39;s worse than useless. <p>Be very careful never to ever ever throw anything. It&#39;s worse than useless.
Just send the error message back as the first argument to the callback.</p> Just send the error message back as the first argument to the callback.</p>
<h2 id="errors">Errors</h2>
<h2 id="Errors">Errors</h2>
<p>Always create a new Error object with your message. Don&#39;t just return a <p>Always create a new Error object with your message. Don&#39;t just return a
string message to the callback. Stack traces are handy.</p> string message to the callback. Stack traces are handy.</p>
<h2 id="logging">Logging</h2>
<h2 id="Logging">Logging</h2>
<p>Logging is done using the <a href="https://github.com/npm/npmlog">npmlog</a> <p>Logging is done using the <a href="https://github.com/npm/npmlog">npmlog</a>
utility.</p> utility.</p>
<p>Please clean up logs when they are no longer helpful. In particular, <p>Please clean up logs when they are no longer helpful. In particular,
logging the same object over and over again is not helpful. Logs should logging the same object over and over again is not helpful. Logs should
report what&#39;s happening so that it&#39;s easier to track down where a fault report what&#39;s happening so that it&#39;s easier to track down where a fault
occurs.</p> occurs.</p>
<p>Use appropriate log levels. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and search for <p>Use appropriate log levels. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> and search for
&quot;loglevel&quot;.</p> &quot;loglevel&quot;.</p>
<h2 id="case-naming-etc-">Case, naming, etc.</h2>
<h2 id="Case-naming-etc">Case, naming, etc.</h2>
<p>Use <code>lowerCamelCase</code> for multiword identifiers when they refer to objects, <p>Use <code>lowerCamelCase</code> for multiword identifiers when they refer to objects,
functions, methods, members, or anything not specified in this section.</p> functions, methods, members, or anything not specified in this section.</p>
<p>Use <code>UpperCamelCase</code> for class names (things that you&#39;d pass to &quot;new&quot;).</p> <p>Use <code>UpperCamelCase</code> for class names (things that you&#39;d pass to &quot;new&quot;).</p>
<p>Use <code>all-lower-hyphen-css-case</code> for multiword filenames and config keys.</p> <p>Use <code>all-lower-hyphen-css-case</code> for multiword filenames and config keys.</p>
<p>Use named functions. They make stack traces easier to follow.</p> <p>Use named functions. They make stack traces easier to follow.</p>
<p>Use <code>CAPS_SNAKE_CASE</code> for constants, things that should never change <p>Use <code>CAPS_SNAKE_CASE</code> for constants, things that should never change
and are rarely used.</p> and are rarely used.</p>
<p>Use a single uppercase letter for function names where the function <p>Use a single uppercase letter for function names where the function
would normally be anonymous, but needs to call itself recursively. It would normally be anonymous, but needs to call itself recursively. It
makes it clear that it&#39;s a &quot;throwaway&quot; function.</p> makes it clear that it&#39;s a &quot;throwaway&quot; function.</p>
<h2 id="null-undefined-false-0">null, undefined, false, 0</h2> <h2 id="null-undefined-false-0">null, undefined, false, 0</h2>
<p>Boolean variables and functions should always be either <code>true</code> or <p>Boolean variables and functions should always be either <code>true</code> or
<code>false</code>. Don&#39;t set it to 0 unless it&#39;s supposed to be a number.</p> <code>false</code>. Don&#39;t set it to 0 unless it&#39;s supposed to be a number.</p>
<p>When something is intentionally missing or removed, set it to <code>null</code>.</p> <p>When something is intentionally missing or removed, set it to <code>null</code>.</p>
<p>Don&#39;t set things to <code>undefined</code>. Reserve that value to mean &quot;not yet <p>Don&#39;t set things to <code>undefined</code>. Reserve that value to mean &quot;not yet
set to anything.&quot;</p> set to anything.&quot;</p>
<p>Boolean objects are verboten.</p> <p>Boolean objects are verboten.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-developers.html">npm-developers(7)</a></li>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm.html">npm(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-developers.html">npm-developers(7)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -195,5 +147,5 @@ set to anything.&quot;</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-coding-style &mdash; npm@1.4.9</p> <p id="footer">npm-coding-style &mdash; npm@1.4.10</p>

832
deps/npm/html/doc/misc/npm-config.html

File diff suppressed because it is too large

174
deps/npm/html/doc/misc/npm-developers.html

@ -10,172 +10,166 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../misc/npm-developers.html">npm-developers</a></h1> <p>Developer Guide</p> <h1><a href="../misc/npm-developers.html">npm-developers</a></h1> <p>Developer Guide</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>So, you&#39;ve decided to use npm to develop (and maybe publish/deploy) <p>So, you&#39;ve decided to use npm to develop (and maybe publish/deploy)
your project.</p> your project.</p>
<p>Fantastic!</p> <p>Fantastic!</p>
<p>There are a few things that you need to do above the simple steps <p>There are a few things that you need to do above the simple steps
that your users will do to install your program.</p> that your users will do to install your program.</p>
<h2 id="about-these-documents">About These Documents</h2>
<h2 id="About-These-Documents">About These Documents</h2>
<p>These are man pages. If you install npm, you should be able to <p>These are man pages. If you install npm, you should be able to
then do <code>man npm-thing</code> to get the documentation on a particular then do <code>man npm-thing</code> to get the documentation on a particular
topic, or <code>npm help thing</code> to see the same information.</p> topic, or <code>npm help thing</code> to see the same information.</p>
<h2 id="what-is-a-package-">What is a <code>package</code></h2>
<h2 id="What-is-a-package">What is a <code>package</code></h2>
<p>A package is:</p> <p>A package is:</p>
<ul>
<ul><li>a) a folder containing a program described by a package.json file</li><li>b) a gzipped tarball containing (a)</li><li>c) a url that resolves to (b)</li><li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry with (c)</li><li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li><li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li><li>g) a <code>git</code> url that, when cloned, results in (a).</li></ul> <li>a) a folder containing a program described by a package.json file</li>
<li>b) a gzipped tarball containing (a)</li>
<li>c) a url that resolves to (b)</li>
<li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry with (c)</li>
<li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li>
<li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li>
<li>g) a <code>git</code> url that, when cloned, results in (a).</li>
</ul>
<p>Even if you never publish your package, you can still get a lot of <p>Even if you never publish your package, you can still get a lot of
benefits of using npm if you just want to write a node program (a), and benefits of using npm if you just want to write a node program (a), and
perhaps if you also want to be able to easily install it elsewhere perhaps if you also want to be able to easily install it elsewhere
after packing it up into a tarball (b).</p> after packing it up into a tarball (b).</p>
<p>Git urls can be of the form:</p> <p>Git urls can be of the form:</p>
<pre><code>git://github.com/user/project.git#commit-ish <pre><code>git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish</code></pre> git+https://user@hostname/project/blah.git#commit-ish
</code></pre><p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
<p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
an argument to <code>git checkout</code>. The default is <code>master</code>.</p> an argument to <code>git checkout</code>. The default is <code>master</code>.</p>
<h2 id="the-package-json-file">The package.json File</h2>
<h2 id="The-package-json-File">The package.json File</h2>
<p>You need to have a <code>package.json</code> file in the root of your project to do <p>You need to have a <code>package.json</code> file in the root of your project to do
much of anything with npm. That is basically the whole interface.</p> much of anything with npm. That is basically the whole interface.</p>
<p>See <code><a href="../files/package.json.html">package.json(5)</a></code> for details about what goes in that file. At the very <p>See <code><a href="../files/package.json.html">package.json(5)</a></code> for details about what goes in that file. At the very
least, you need:</p> least, you need:</p>
<ul>
<ul><li><p>name: <li><p>name:
This should be a string that identifies your project. Please do not This should be a string that identifies your project. Please do not
use the name to specify that it runs on node, or is in JavaScript. use the name to specify that it runs on node, or is in JavaScript.
You can use the &quot;engines&quot; field to explicitly state the versions of You can use the &quot;engines&quot; field to explicitly state the versions of
node (or whatever else) that your program requires, and it&#39;s pretty node (or whatever else) that your program requires, and it&#39;s pretty
well assumed that it&#39;s javascript.</p><p>It does not necessarily need to match your github repository name.</p><p>So, <code>node-foo</code> and <code>bar-js</code> are bad names. <code>foo</code> or <code>bar</code> are better.</p></li><li><p>version: well assumed that it&#39;s javascript.</p>
A semver-compatible version.</p></li><li><p>engines: <p>It does not necessarily need to match your github repository name.</p>
<p>So, <code>node-foo</code> and <code>bar-js</code> are bad names. <code>foo</code> or <code>bar</code> are better.</p>
</li>
<li><p>version:
A semver-compatible version.</p>
</li>
<li><p>engines:
Specify the versions of node (or whatever else) that your program Specify the versions of node (or whatever else) that your program
runs on. The node API changes a lot, and there may be bugs or new runs on. The node API changes a lot, and there may be bugs or new
functionality that you depend on. Be explicit.</p></li><li><p>author: functionality that you depend on. Be explicit.</p>
Take some credit.</p></li><li><p>scripts: </li>
<li><p>author:
Take some credit.</p>
</li>
<li><p>scripts:
If you have a special compilation or installation script, then you If you have a special compilation or installation script, then you
should put it in the <code>scripts</code> hash. You should definitely have at should put it in the <code>scripts</code> hash. You should definitely have at
least a basic smoke-test command as the &quot;scripts.test&quot; field. least a basic smoke-test command as the &quot;scripts.test&quot; field.
See <a href="../misc/npm-scripts.html">npm-scripts(7)</a>.</p></li><li><p>main: See <a href="../misc/npm-scripts.html">npm-scripts(7)</a>.</p>
</li>
<li><p>main:
If you have a single module that serves as the entry point to your If you have a single module that serves as the entry point to your
program (like what the &quot;foo&quot; package gives you at require(&quot;foo&quot;)), program (like what the &quot;foo&quot; package gives you at require(&quot;foo&quot;)),
then you need to specify that in the &quot;main&quot; field.</p></li><li><p>directories: then you need to specify that in the &quot;main&quot; field.</p>
</li>
<li><p>directories:
This is a hash of folders. The best ones to include are &quot;lib&quot; and This is a hash of folders. The best ones to include are &quot;lib&quot; and
&quot;doc&quot;, but if you specify a folder full of man pages in &quot;man&quot;, then &quot;doc&quot;, but if you specify a folder full of man pages in &quot;man&quot;, then
they&#39;ll get installed just like these ones.</p></li></ul> they&#39;ll get installed just like these ones.</p>
</li>
</ul>
<p>You can use <code>npm init</code> in the root of your package in order to get you <p>You can use <code>npm init</code> in the root of your package in order to get you
started with a pretty basic package.json file. See <code><a href="../cli/npm-init.html">npm-init(1)</a></code> for started with a pretty basic package.json file. See <code><a href="../cli/npm-init.html">npm-init(1)</a></code> for
more info.</p> more info.</p>
<h2 id="keeping-files-out-of-your-package">Keeping files <em>out</em> of your package</h2>
<h2 id="Keeping-files-out-of-your-package">Keeping files <em>out</em> of your package</h2>
<p>Use a <code>.npmignore</code> file to keep stuff out of your package. If there&#39;s <p>Use a <code>.npmignore</code> file to keep stuff out of your package. If there&#39;s
no <code>.npmignore</code> file, but there <em>is</em> a <code>.gitignore</code> file, then npm will no <code>.npmignore</code> file, but there <em>is</em> a <code>.gitignore</code> file, then npm will
ignore the stuff matched by the <code>.gitignore</code> file. If you <em>want</em> to ignore the stuff matched by the <code>.gitignore</code> file. If you <em>want</em> to
include something that is excluded by your <code>.gitignore</code> file, you can include something that is excluded by your <code>.gitignore</code> file, you can
create an empty <code>.npmignore</code> file to override it.</p> create an empty <code>.npmignore</code> file to override it.</p>
<p>By default, the following paths and files are ignored, so there&#39;s no <p>By default, the following paths and files are ignored, so there&#39;s no
need to add them to <code>.npmignore</code> explicitly:</p> need to add them to <code>.npmignore</code> explicitly:</p>
<ul>
<ul><li><code>.*.swp</code></li><li><code>._*</code></li><li><code>.DS_Store</code></li><li><code>.git</code></li><li><code>.hg</code></li><li><code>.lock-wscript</code></li><li><code>.svn</code></li><li><code>.wafpickle-*</code></li><li><code>CVS</code></li><li><code>npm-debug.log</code></li></ul> <li><code>.*.swp</code></li>
<li><code>._*</code></li>
<li><code>.DS_Store</code></li>
<li><code>.git</code></li>
<li><code>.hg</code></li>
<li><code>.lock-wscript</code></li>
<li><code>.svn</code></li>
<li><code>.wafpickle-*</code></li>
<li><code>CVS</code></li>
<li><code>npm-debug.log</code></li>
</ul>
<p>Additionally, everything in <code>node_modules</code> is ignored, except for <p>Additionally, everything in <code>node_modules</code> is ignored, except for
bundled dependencies. npm automatically handles this for you, so don&#39;t bundled dependencies. npm automatically handles this for you, so don&#39;t
bother adding <code>node_modules</code> to <code>.npmignore</code>.</p> bother adding <code>node_modules</code> to <code>.npmignore</code>.</p>
<p>The following paths and files are never ignored, so adding them to <p>The following paths and files are never ignored, so adding them to
<code>.npmignore</code> is pointless:</p> <code>.npmignore</code> is pointless:</p>
<ul>
<ul><li><code>package.json</code></li><li><code><a href="../../doc/README.html">README</a>.*</code></li></ul> <li><code>package.json</code></li>
<li><code><a href="../../doc/README.html">README</a>.*</code></li>
<h2 id="Link-Packages">Link Packages</h2> </ul>
<h2 id="link-packages">Link Packages</h2>
<p><code>npm link</code> is designed to install a development package and see the <p><code>npm link</code> is designed to install a development package and see the
changes in real time without having to keep re-installing it. (You do changes in real time without having to keep re-installing it. (You do
need to either re-link or <code>npm rebuild -g</code> to update compiled packages, need to either re-link or <code>npm rebuild -g</code> to update compiled packages,
of course.)</p> of course.)</p>
<p>More info at <code><a href="../cli/npm-link.html">npm-link(1)</a></code>.</p> <p>More info at <code><a href="../cli/npm-link.html">npm-link(1)</a></code>.</p>
<h2 id="before-publishing-make-sure-your-package-installs-and-works">Before Publishing: Make Sure Your Package Installs and Works</h2>
<h2 id="Before-Publishing-Make-Sure-Your-Package-Installs-and-Works">Before Publishing: Make Sure Your Package Installs and Works</h2>
<p><strong>This is important.</strong></p> <p><strong>This is important.</strong></p>
<p>If you can not install it locally, you&#39;ll have <p>If you can not install it locally, you&#39;ll have
problems trying to publish it. Or, worse yet, you&#39;ll be able to problems trying to publish it. Or, worse yet, you&#39;ll be able to
publish it, but you&#39;ll be publishing a broken or pointless package. publish it, but you&#39;ll be publishing a broken or pointless package.
So don&#39;t do that.</p> So don&#39;t do that.</p>
<p>In the root of your package, do this:</p> <p>In the root of your package, do this:</p>
<pre><code>npm install . -g
<pre><code>npm install . -g</code></pre> </code></pre><p>That&#39;ll show you that it&#39;s working. If you&#39;d rather just create a symlink
<p>That&#39;ll show you that it&#39;s working. If you&#39;d rather just create a symlink
package that points to your working directory, then do this:</p> package that points to your working directory, then do this:</p>
<pre><code>npm link
<pre><code>npm link</code></pre> </code></pre><p>Use <code>npm ls -g</code> to see if it&#39;s there.</p>
<p>Use <code>npm ls -g</code> to see if it&#39;s there.</p>
<p>To test a local install, go into some other folder, and then do:</p> <p>To test a local install, go into some other folder, and then do:</p>
<pre><code>cd ../some-other-folder <pre><code>cd ../some-other-folder
npm install ../my-package</code></pre> npm install ../my-package
</code></pre><p>to install it locally into the node_modules folder in that other place.</p>
<p>to install it locally into the node_modules folder in that other place.</p>
<p>Then go into the node-repl, and try using require(&quot;my-thing&quot;) to <p>Then go into the node-repl, and try using require(&quot;my-thing&quot;) to
bring in your module&#39;s main module.</p> bring in your module&#39;s main module.</p>
<h2 id="create-a-user-account">Create a User Account</h2>
<h2 id="Create-a-User-Account">Create a User Account</h2>
<p>Create a user with the adduser command. It works like this:</p> <p>Create a user with the adduser command. It works like this:</p>
<pre><code>npm adduser
<pre><code>npm adduser</code></pre> </code></pre><p>and then follow the prompts.</p>
<p>and then follow the prompts.</p>
<p>This is documented better in <a href="../cli/npm-adduser.html">npm-adduser(1)</a>.</p> <p>This is documented better in <a href="../cli/npm-adduser.html">npm-adduser(1)</a>.</p>
<h2 id="publish-your-package">Publish your package</h2>
<h2 id="Publish-your-package">Publish your package</h2>
<p>This part&#39;s easy. IN the root of your folder, do this:</p> <p>This part&#39;s easy. IN the root of your folder, do this:</p>
<pre><code>npm publish
<pre><code>npm publish</code></pre> </code></pre><p>You can give publish a url to a tarball, or a filename of a tarball,
<p>You can give publish a url to a tarball, or a filename of a tarball,
or a path to a folder.</p> or a path to a folder.</p>
<p>Note that pretty much <strong>everything in that folder will be exposed</strong> <p>Note that pretty much <strong>everything in that folder will be exposed</strong>
by default. So, if you have secret stuff in there, use a by default. So, if you have secret stuff in there, use a
<code>.npmignore</code> file to list out the globs to ignore, or publish <code>.npmignore</code> file to list out the globs to ignore, or publish
from a fresh checkout.</p> from a fresh checkout.</p>
<h2 id="brag-about-it">Brag about it</h2>
<h2 id="Brag-about-it">Brag about it</h2>
<p>Send emails, write blogs, blab in IRC.</p> <p>Send emails, write blogs, blab in IRC.</p>
<p>Tell the world how easy it is to install your program!</p> <p>Tell the world how easy it is to install your program!</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-faq.html">npm-faq(7)</a></li>
<li><a href="../cli/npm.html">npm(1)</a></li>
<li><a href="../cli/npm-init.html">npm-init(1)</a></li>
<li><a href="../files/package.json.html">package.json(5)</a></li>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
<li><a href="../cli/npm-publish.html">npm-publish(1)</a></li>
<li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm.html">npm(1)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-adduser.html">npm-adduser(1)</a></li><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -187,5 +181,5 @@ from a fresh checkout.</p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-developers &mdash; npm@1.4.9</p> <p id="footer">npm-developers &mdash; npm@1.4.10</p>

89
deps/npm/html/doc/misc/npm-disputes.html

@ -10,90 +10,97 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../misc/npm-disputes.html">npm-disputes</a></h1> <p>Handling Module Name Disputes</p> <h1><a href="../misc/npm-disputes.html">npm-disputes</a></h1> <p>Handling Module Name Disputes</p>
<h2 id="synopsis">SYNOPSIS</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2> <ol>
<li>Get the author email with <code>npm owner ls &lt;pkgname&gt;</code></li>
<ol><li>Get the author email with <code>npm owner ls &lt;pkgname&gt;</code></li><li>Email the author, CC <a href="mailto:support@npmjs.com">support@npmjs.com</a></li><li>After a few weeks, if there&#39;s no resolution, we&#39;ll sort it out.</li></ol> <li>Email the author, CC <a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#x6f;&#58;&#x73;&#117;&#112;&#112;&#x6f;&#x72;&#x74;&#64;&#x6e;&#112;&#109;&#x6a;&#x73;&#x2e;&#x63;&#x6f;&#x6d;">&#x73;&#117;&#112;&#112;&#x6f;&#x72;&#x74;&#64;&#x6e;&#112;&#109;&#x6a;&#x73;&#x2e;&#x63;&#x6f;&#x6d;</a></li>
<li>After a few weeks, if there&#39;s no resolution, we&#39;ll sort it out.</li>
</ol>
<p>Don&#39;t squat on package names. Publish code or move out of the way.</p> <p>Don&#39;t squat on package names. Publish code or move out of the way.</p>
<h2 id="description">DESCRIPTION</h2>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>There sometimes arise cases where a user publishes a module, and then <p>There sometimes arise cases where a user publishes a module, and then
later, some other user wants to use that name. Here are some common later, some other user wants to use that name. Here are some common
ways that happens (each of these is based on actual events.)</p> ways that happens (each of these is based on actual events.)</p>
<ol>
<ol><li>Joe writes a JavaScript module <code>foo</code>, which is not node-specific. <li>Joe writes a JavaScript module <code>foo</code>, which is not node-specific.
Joe doesn&#39;t use node at all. Bob wants to use <code>foo</code> in node, so he Joe doesn&#39;t use node at all. Bob wants to use <code>foo</code> in node, so he
wraps it in an npm module. Some time later, Joe starts using node, wraps it in an npm module. Some time later, Joe starts using node,
and wants to take over management of his program.</li><li>Bob writes an npm module <code>foo</code>, and publishes it. Perhaps much and wants to take over management of his program.</li>
<li>Bob writes an npm module <code>foo</code>, and publishes it. Perhaps much
later, Joe finds a bug in <code>foo</code>, and fixes it. He sends a pull later, Joe finds a bug in <code>foo</code>, and fixes it. He sends a pull
request to Bob, but Bob doesn&#39;t have the time to deal with it, request to Bob, but Bob doesn&#39;t have the time to deal with it,
because he has a new job and a new baby and is focused on his new because he has a new job and a new baby and is focused on his new
erlang project, and kind of not involved with node any more. Joe erlang project, and kind of not involved with node any more. Joe
would like to publish a new <code>foo</code>, but can&#39;t, because the name is would like to publish a new <code>foo</code>, but can&#39;t, because the name is
taken.</li><li>Bob writes a 10-line flow-control library, and calls it <code>foo</code>, and taken.</li>
<li>Bob writes a 10-line flow-control library, and calls it <code>foo</code>, and
publishes it to the npm registry. Being a simple little thing, it publishes it to the npm registry. Being a simple little thing, it
never really has to be updated. Joe works for Foo Inc, the makers never really has to be updated. Joe works for Foo Inc, the makers
of the critically acclaimed and widely-marketed <code>foo</code> JavaScript of the critically acclaimed and widely-marketed <code>foo</code> JavaScript
toolkit framework. They publish it to npm as <code>foojs</code>, but people are toolkit framework. They publish it to npm as <code>foojs</code>, but people are
routinely confused when <code>npm install foo</code> is some different thing.</li><li>Bob writes a parser for the widely-known <code>foo</code> file format, because routinely confused when <code>npm install foo</code> is some different thing.</li>
<li>Bob writes a parser for the widely-known <code>foo</code> file format, because
he needs it for work. Then, he gets a new job, and never updates the he needs it for work. Then, he gets a new job, and never updates the
prototype. Later on, Joe writes a much more complete <code>foo</code> parser, prototype. Later on, Joe writes a much more complete <code>foo</code> parser,
but can&#39;t publish, because Bob&#39;s <code>foo</code> is in the way.</li></ol> but can&#39;t publish, because Bob&#39;s <code>foo</code> is in the way.</li>
</ol>
<p>The validity of Joe&#39;s claim in each situation can be debated. However, <p>The validity of Joe&#39;s claim in each situation can be debated. However,
Joe&#39;s appropriate course of action in each case is the same.</p> Joe&#39;s appropriate course of action in each case is the same.</p>
<ol>
<ol><li><code>npm owner ls foo</code>. This will tell Joe the email address of the <li><code>npm owner ls foo</code>. This will tell Joe the email address of the
owner (Bob).</li><li>Joe emails Bob, explaining the situation <strong>as respectfully as owner (Bob).</li>
<li>Joe emails Bob, explaining the situation <strong>as respectfully as
possible</strong>, and what he would like to do with the module name. He possible</strong>, and what he would like to do with the module name. He
adds the npm support staff <a href="mailto:support@npmjs.com">support@npmjs.com</a> to the CC list of adds the npm support staff <a href="&#109;&#97;&#105;&#108;&#x74;&#x6f;&#58;&#115;&#117;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#112;&#x6d;&#106;&#115;&#46;&#99;&#111;&#109;">&#115;&#117;&#x70;&#x70;&#111;&#114;&#116;&#x40;&#x6e;&#112;&#x6d;&#106;&#115;&#46;&#99;&#111;&#109;</a> to the CC list of
the email. Mention in the email that Bob can run <code>npm owner add the email. Mention in the email that Bob can run <code>npm owner add
joe foo</code> to add Joe as an owner of the <code>foo</code> package.</li><li>After a reasonable amount of time, if Bob has not responded, or if joe foo</code> to add Joe as an owner of the <code>foo</code> package.</li>
<li>After a reasonable amount of time, if Bob has not responded, or if
Bob and Joe can&#39;t come to any sort of resolution, email support Bob and Joe can&#39;t come to any sort of resolution, email support
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and we&#39;ll sort it out. (&quot;Reasonable&quot; is <a href="&#109;&#x61;&#x69;&#108;&#116;&#x6f;&#x3a;&#115;&#x75;&#112;&#x70;&#111;&#x72;&#116;&#x40;&#x6e;&#112;&#109;&#106;&#115;&#x2e;&#99;&#x6f;&#x6d;">&#115;&#x75;&#112;&#x70;&#111;&#x72;&#116;&#x40;&#x6e;&#112;&#109;&#106;&#115;&#x2e;&#99;&#x6f;&#x6d;</a> and we&#39;ll sort it out. (&quot;Reasonable&quot; is
usually at least 4 weeks, but extra time is allowed around common usually at least 4 weeks, but extra time is allowed around common
holidays.)</li></ol> holidays.)</li>
</ol>
<h2 id="REASONING">REASONING</h2> <h2 id="reasoning">REASONING</h2>
<p>In almost every case so far, the parties involved have been able to reach <p>In almost every case so far, the parties involved have been able to reach
an amicable resolution without any major intervention. Most people an amicable resolution without any major intervention. Most people
really do want to be reasonable, and are probably not even aware that really do want to be reasonable, and are probably not even aware that
they&#39;re in your way.</p> they&#39;re in your way.</p>
<p>Module ecosystems are most vibrant and powerful when they are as <p>Module ecosystems are most vibrant and powerful when they are as
self-directed as possible. If an admin one day deletes something you self-directed as possible. If an admin one day deletes something you
had worked on, then that is going to make most people quite upset, had worked on, then that is going to make most people quite upset,
regardless of the justification. When humans solve their problems by regardless of the justification. When humans solve their problems by
talking to other humans with respect, everyone has the chance to end up talking to other humans with respect, everyone has the chance to end up
feeling good about the interaction.</p> feeling good about the interaction.</p>
<h2 id="exceptions">EXCEPTIONS</h2>
<h2 id="EXCEPTIONS">EXCEPTIONS</h2>
<p>Some things are not allowed, and will be removed without discussion if <p>Some things are not allowed, and will be removed without discussion if
they are brought to the attention of the npm registry admins, including they are brought to the attention of the npm registry admins, including
but not limited to:</p> but not limited to:</p>
<ol>
<ol><li>Malware (that is, a package designed to exploit or harm the machine on <li>Malware (that is, a package designed to exploit or harm the machine on
which it is installed).</li><li>Violations of copyright or licenses (for example, cloning an which it is installed).</li>
<li>Violations of copyright or licenses (for example, cloning an
MIT-licensed program, and then removing or changing the copyright and MIT-licensed program, and then removing or changing the copyright and
license statement).</li><li>Illegal content.</li><li>&quot;Squatting&quot; on a package name that you <em>plan</em> to use, but aren&#39;t license statement).</li>
<li>Illegal content.</li>
<li>&quot;Squatting&quot; on a package name that you <em>plan</em> to use, but aren&#39;t
actually using. Sorry, I don&#39;t care how great the name is, or how actually using. Sorry, I don&#39;t care how great the name is, or how
perfect a fit it is for the thing that someday might happen. If perfect a fit it is for the thing that someday might happen. If
someone wants to use it today, and you&#39;re just taking up space with someone wants to use it today, and you&#39;re just taking up space with
an empty tarball, you&#39;re going to be evicted.</li><li>Putting empty packages in the registry. Packages must have SOME an empty tarball, you&#39;re going to be evicted.</li>
<li>Putting empty packages in the registry. Packages must have SOME
functionality. It can be silly, but it can&#39;t be <em>nothing</em>. (See functionality. It can be silly, but it can&#39;t be <em>nothing</em>. (See
also: squatting.)</li><li>Doing weird things with the registry, like using it as your own also: squatting.)</li>
<li>Doing weird things with the registry, like using it as your own
personal application database or otherwise putting non-packagey personal application database or otherwise putting non-packagey
things into it.</li></ol> things into it.</li>
</ol>
<p>If you see bad behavior like this, please report it right away.</p> <p>If you see bad behavior like this, please report it right away.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-registry.html">npm-registry(7)</a></li>
<li><a href="../cli/npm-owner.html">npm-owner(1)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../misc/npm-registry.html">npm-registry(7)</a></li><li><a href="../cli/npm-owner.html">npm-owner(1)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -105,5 +112,5 @@ things into it.</li></ol>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-disputes &mdash; npm@1.4.9</p> <p id="footer">npm-disputes &mdash; npm@1.4.10</p>

260
deps/npm/html/doc/misc/npm-faq.html

@ -10,238 +10,181 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../misc/npm-faq.html">npm-faq</a></h1> <p>Frequently Asked Questions</p> <h1><a href="../misc/npm-faq.html">npm-faq</a></h1> <p>Frequently Asked Questions</p>
<h2 id="where-can-i-find-these-docs-in-html-">Where can I find these docs in HTML?</h2>
<h2 id="Where-can-I-find-these-docs-in-HTML">Where can I find these docs in HTML?</h2>
<p><a href="https://www.npmjs.org/doc/">https://www.npmjs.org/doc/</a>, or run:</p> <p><a href="https://www.npmjs.org/doc/">https://www.npmjs.org/doc/</a>, or run:</p>
<pre><code>npm config set viewer browser
<pre><code>npm config set viewer browser</code></pre> </code></pre><p>to open these documents in your default web browser rather than <code>man</code>.</p>
<h2 id="it-didn-t-work-">It didn&#39;t work.</h2>
<p>to open these documents in your default web browser rather than <code>man</code>.</p>
<h2 id="It-didn-t-work">It didn&#39;t work.</h2>
<p>That&#39;s not really a question.</p> <p>That&#39;s not really a question.</p>
<h2 id="why-didn-t-it-work-">Why didn&#39;t it work?</h2>
<h2 id="Why-didn-t-it-work">Why didn&#39;t it work?</h2>
<p>I don&#39;t know yet.</p> <p>I don&#39;t know yet.</p>
<p>Read the error output, and if you can&#39;t figure out what it means, <p>Read the error output, and if you can&#39;t figure out what it means,
do what it says and post a bug with all the information it asks for.</p> do what it says and post a bug with all the information it asks for.</p>
<h2 id="where-does-npm-put-stuff-">Where does npm put stuff?</h2>
<h2 id="Where-does-npm-put-stuff">Where does npm put stuff?</h2>
<p>See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code></p> <p>See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code></p>
<p>tl;dr:</p> <p>tl;dr:</p>
<ul>
<ul><li>Use the <code>npm root</code> command to see where modules go, and the <code>npm bin</code> <li>Use the <code>npm root</code> command to see where modules go, and the <code>npm bin</code>
command to see where executables go</li><li>Global installs are different from local installs. If you install command to see where executables go</li>
<li>Global installs are different from local installs. If you install
something with the <code>-g</code> flag, then its executables go in <code>npm bin -g</code> something with the <code>-g</code> flag, then its executables go in <code>npm bin -g</code>
and its modules go in <code>npm root -g</code>.</li></ul> and its modules go in <code>npm root -g</code>.</li>
</ul>
<h2 id="How-do-I-install-something-on-my-computer-in-a-central-location">How do I install something on my computer in a central location?</h2> <h2 id="how-do-i-install-something-on-my-computer-in-a-central-location-">How do I install something on my computer in a central location?</h2>
<p>Install it globally by tacking <code>-g</code> or <code>--global</code> to the command. (This <p>Install it globally by tacking <code>-g</code> or <code>--global</code> to the command. (This
is especially important for command line utilities that need to add is especially important for command line utilities that need to add
their bins to the global system <code>PATH</code>.)</p> their bins to the global system <code>PATH</code>.)</p>
<h2 id="i-installed-something-globally-but-i-can-t-require-it">I installed something globally, but I can&#39;t <code>require()</code> it</h2>
<h2 id="I-installed-something-globally-but-I-can-t-require-it">I installed something globally, but I can&#39;t <code>require()</code> it</h2>
<p>Install it locally.</p> <p>Install it locally.</p>
<p>The global install location is a place for command-line utilities <p>The global install location is a place for command-line utilities
to put their bins in the system <code>PATH</code>. It&#39;s not for use with <code>require()</code>.</p> to put their bins in the system <code>PATH</code>. It&#39;s not for use with <code>require()</code>.</p>
<p>If you <code>require()</code> a module in your code, then that means it&#39;s a <p>If you <code>require()</code> a module in your code, then that means it&#39;s a
dependency, and a part of your program. You need to install it locally dependency, and a part of your program. You need to install it locally
in your program.</p> in your program.</p>
<h2 id="why-can-t-npm-just-put-everything-in-one-place-like-other-package-managers-">Why can&#39;t npm just put everything in one place, like other package managers?</h2>
<h2 id="Why-can-t-npm-just-put-everything-in-one-place-like-other-package-managers">Why can&#39;t npm just put everything in one place, like other package managers?</h2>
<p>Not every change is an improvement, but every improvement is a change. <p>Not every change is an improvement, but every improvement is a change.
This would be like asking git to do network IO for every commit. It&#39;s This would be like asking git to do network IO for every commit. It&#39;s
not going to happen, because it&#39;s a terrible idea that causes more not going to happen, because it&#39;s a terrible idea that causes more
problems than it solves.</p> problems than it solves.</p>
<p>It is much harder to avoid dependency conflicts without nesting <p>It is much harder to avoid dependency conflicts without nesting
dependencies. This is fundamental to the way that npm works, and has dependencies. This is fundamental to the way that npm works, and has
proven to be an extremely successful approach. See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code> for proven to be an extremely successful approach. See <code><a href="../files/npm-folders.html">npm-folders(5)</a></code> for
more details.</p> more details.</p>
<p>If you want a package to be installed in one place, and have all your <p>If you want a package to be installed in one place, and have all your
programs reference the same copy of it, then use the <code>npm link</code> command. programs reference the same copy of it, then use the <code>npm link</code> command.
That&#39;s what it&#39;s for. Install it globally, then link it into each That&#39;s what it&#39;s for. Install it globally, then link it into each
program that uses it.</p> program that uses it.</p>
<h2 id="whatever-i-really-want-the-old-style-everything-global-style-">Whatever, I really want the old style &#39;everything global&#39; style.</h2>
<h2 id="Whatever-I-really-want-the-old-style-everything-global-style">Whatever, I really want the old style &#39;everything global&#39; style.</h2>
<p>Write your own package manager. You could probably even wrap up <code>npm</code> <p>Write your own package manager. You could probably even wrap up <code>npm</code>
in a shell script if you really wanted to.</p> in a shell script if you really wanted to.</p>
<p>npm will not help you do something that is known to be a bad idea.</p> <p>npm will not help you do something that is known to be a bad idea.</p>
<h2 id="should-i-check-my-node_modules-folder-into-git-">Should I check my <code>node_modules</code> folder into git?</h2>
<h2 id="Should-I-check-my-node_modules-folder-into-git">Should I check my <code>node_modules</code> folder into git?</h2>
<p>Mikeal Rogers answered this question very well:</p> <p>Mikeal Rogers answered this question very well:</p>
<p><a href="http://www.futurealoof.com/posts/nodemodules-in-git.html">http://www.futurealoof.com/posts/nodemodules-in-git.html</a></p> <p><a href="http://www.futurealoof.com/posts/nodemodules-in-git.html">http://www.futurealoof.com/posts/nodemodules-in-git.html</a></p>
<p>tl;dr</p> <p>tl;dr</p>
<ul>
<ul><li>Check <code>node_modules</code> into git for things you <strong>deploy</strong>, such as <li>Check <code>node_modules</code> into git for things you <strong>deploy</strong>, such as
websites and apps.</li><li>Do not check <code>node_modules</code> into git for libraries and modules websites and apps.</li>
intended to be reused.</li><li>Use npm to manage dependencies in your dev environment, but not in <li>Do not check <code>node_modules</code> into git for libraries and modules
your deployment scripts.</li></ul> intended to be reused.</li>
<li>Use npm to manage dependencies in your dev environment, but not in
<h2 id="Is-it-npm-or-NPM-or-Npm">Is it &#39;npm&#39; or &#39;NPM&#39; or &#39;Npm&#39;?</h2> your deployment scripts.</li>
</ul>
<h2 id="is-it-npm-or-npm-or-npm-">Is it &#39;npm&#39; or &#39;NPM&#39; or &#39;Npm&#39;?</h2>
<p>npm should never be capitalized unless it is being displayed in a <p>npm should never be capitalized unless it is being displayed in a
location that is customarily all-caps (such as the title of man pages.)</p> location that is customarily all-caps (such as the title of man pages.)</p>
<h2 id="if-npm-is-an-acronym-why-is-it-never-capitalized-">If &#39;npm&#39; is an acronym, why is it never capitalized?</h2>
<h2 id="If-npm-is-an-acronym-why-is-it-never-capitalized">If &#39;npm&#39; is an acronym, why is it never capitalized?</h2>
<p>Contrary to the belief of many, &quot;npm&quot; is not in fact an abbreviation for <p>Contrary to the belief of many, &quot;npm&quot; is not in fact an abbreviation for
&quot;Node Package Manager&quot;. It is a recursive bacronymic abbreviation for &quot;Node Package Manager&quot;. It is a recursive bacronymic abbreviation for
&quot;npm is not an acronym&quot;. (If it was &quot;ninaa&quot;, then it would be an &quot;npm is not an acronym&quot;. (If it was &quot;ninaa&quot;, then it would be an
acronym, and thus incorrectly named.)</p> acronym, and thus incorrectly named.)</p>
<p>&quot;NPM&quot;, however, <em>is</em> an acronym (more precisely, a capitonym) for the <p>&quot;NPM&quot;, however, <em>is</em> an acronym (more precisely, a capitonym) for the
National Association of Pastoral Musicians. You can learn more National Association of Pastoral Musicians. You can learn more
about them at <a href="http://npm.org/">http://npm.org/</a>.</p> about them at <a href="http://npm.org/">http://npm.org/</a>.</p>
<p>In software, &quot;NPM&quot; is a Non-Parametric Mapping utility written by <p>In software, &quot;NPM&quot; is a Non-Parametric Mapping utility written by
Chris Rorden. You can analyze pictures of brains with it. Learn more Chris Rorden. You can analyze pictures of brains with it. Learn more
about the (capitalized) NPM program at <a href="http://www.cabiatl.com/mricro/npm/">http://www.cabiatl.com/mricro/npm/</a>.</p> about the (capitalized) NPM program at <a href="http://www.cabiatl.com/mricro/npm/">http://www.cabiatl.com/mricro/npm/</a>.</p>
<p>The first seed that eventually grew into this flower was a bash utility <p>The first seed that eventually grew into this flower was a bash utility
named &quot;pm&quot;, which was a shortened descendent of &quot;pkgmakeinst&quot;, a named &quot;pm&quot;, which was a shortened descendent of &quot;pkgmakeinst&quot;, a
bash function that was used to install various different things on different bash function that was used to install various different things on different
platforms, most often using Yahoo&#39;s <code>yinst</code>. If <code>npm</code> was ever an platforms, most often using Yahoo&#39;s <code>yinst</code>. If <code>npm</code> was ever an
acronym for anything, it was <code>node pm</code> or maybe <code>new pm</code>.</p> acronym for anything, it was <code>node pm</code> or maybe <code>new pm</code>.</p>
<p>So, in all seriousness, the &quot;npm&quot; project is named after its command-line <p>So, in all seriousness, the &quot;npm&quot; project is named after its command-line
utility, which was organically selected to be easily typed by a right-handed utility, which was organically selected to be easily typed by a right-handed
programmer using a US QWERTY keyboard layout, ending with the programmer using a US QWERTY keyboard layout, ending with the
right-ring-finger in a postition to type the <code>-</code> key for flags and right-ring-finger in a postition to type the <code>-</code> key for flags and
other command-line arguments. That command-line utility is always other command-line arguments. That command-line utility is always
lower-case, though it starts most sentences it is a part of.</p> lower-case, though it starts most sentences it is a part of.</p>
<h2 id="how-do-i-list-installed-packages-">How do I list installed packages?</h2>
<h2 id="How-do-I-list-installed-packages">How do I list installed packages?</h2>
<p><code>npm ls</code></p> <p><code>npm ls</code></p>
<h2 id="how-do-i-search-for-packages-">How do I search for packages?</h2>
<h2 id="How-do-I-search-for-packages">How do I search for packages?</h2>
<p><code>npm search</code></p> <p><code>npm search</code></p>
<p>Arguments are greps. <code>npm search jsdom</code> shows jsdom packages.</p> <p>Arguments are greps. <code>npm search jsdom</code> shows jsdom packages.</p>
<h2 id="how-do-i-update-npm-">How do I update npm?</h2>
<h2 id="How-do-I-update-npm">How do I update npm?</h2> <pre><code>npm update npm -g
</code></pre><p>You can also update all outdated local packages by doing <code>npm update</code> without
<pre><code>npm update npm -g</code></pre>
<p>You can also update all outdated local packages by doing <code>npm update</code> without
any arguments, or global packages by doing <code>npm update -g</code>.</p> any arguments, or global packages by doing <code>npm update -g</code>.</p>
<p>Occasionally, the version of npm will progress such that the current <p>Occasionally, the version of npm will progress such that the current
version cannot be properly installed with the version that you have version cannot be properly installed with the version that you have
installed already. (Consider, if there is ever a bug in the <code>update</code> installed already. (Consider, if there is ever a bug in the <code>update</code>
command.)</p> command.)</p>
<p>In those cases, you can do this:</p> <p>In those cases, you can do this:</p>
<pre><code>curl https://www.npmjs.org/install.sh | sh
<pre><code>curl https://www.npmjs.org/install.sh | sh</code></pre> </code></pre><h2 id="what-is-a-package-">What is a <code>package</code>?</h2>
<h2 id="What-is-a-package">What is a <code>package</code>?</h2>
<p>A package is:</p> <p>A package is:</p>
<ul>
<ul><li>a) a folder containing a program described by a package.json file</li><li>b) a gzipped tarball containing (a)</li><li>c) a url that resolves to (b)</li><li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry with (c)</li><li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li><li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li><li>g) a <code>git</code> url that, when cloned, results in (a).</li></ul> <li>a) a folder containing a program described by a package.json file</li>
<li>b) a gzipped tarball containing (a)</li>
<li>c) a url that resolves to (b)</li>
<li>d) a <code>&lt;name&gt;@&lt;version&gt;</code> that is published on the registry with (c)</li>
<li>e) a <code>&lt;name&gt;@&lt;tag&gt;</code> that points to (d)</li>
<li>f) a <code>&lt;name&gt;</code> that has a &quot;latest&quot; tag satisfying (e)</li>
<li>g) a <code>git</code> url that, when cloned, results in (a).</li>
</ul>
<p>Even if you never publish your package, you can still get a lot of <p>Even if you never publish your package, you can still get a lot of
benefits of using npm if you just want to write a node program (a), and benefits of using npm if you just want to write a node program (a), and
perhaps if you also want to be able to easily install it elsewhere perhaps if you also want to be able to easily install it elsewhere
after packing it up into a tarball (b).</p> after packing it up into a tarball (b).</p>
<p>Git urls can be of the form:</p> <p>Git urls can be of the form:</p>
<pre><code>git://github.com/user/project.git#commit-ish <pre><code>git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish git+ssh://user@hostname:project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish</code></pre> git+https://user@hostname/project/blah.git#commit-ish
</code></pre><p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
<p>The <code>commit-ish</code> can be any tag, sha, or branch which can be supplied as
an argument to <code>git checkout</code>. The default is <code>master</code>.</p> an argument to <code>git checkout</code>. The default is <code>master</code>.</p>
<h2 id="what-is-a-module-">What is a <code>module</code>?</h2>
<h2 id="What-is-a-module">What is a <code>module</code>?</h2>
<p>A module is anything that can be loaded with <code>require()</code> in a Node.js <p>A module is anything that can be loaded with <code>require()</code> in a Node.js
program. The following things are all examples of things that can be program. The following things are all examples of things that can be
loaded as modules:</p> loaded as modules:</p>
<ul>
<ul><li>A folder with a <code>package.json</code> file containing a <code>main</code> field.</li><li>A folder with an <code>index.js</code> file in it.</li><li>A JavaScript file.</li></ul> <li>A folder with a <code>package.json</code> file containing a <code>main</code> field.</li>
<li>A folder with an <code>index.js</code> file in it.</li>
<li>A JavaScript file.</li>
</ul>
<p>Most npm packages are modules, because they are libraries that you <p>Most npm packages are modules, because they are libraries that you
load with <code>require</code>. However, there&#39;s no requirement that an npm load with <code>require</code>. However, there&#39;s no requirement that an npm
package be a module! Some only contain an executable command-line package be a module! Some only contain an executable command-line
interface, and don&#39;t provide a <code>main</code> field for use in Node programs.</p> interface, and don&#39;t provide a <code>main</code> field for use in Node programs.</p>
<p>Almost all npm packages (at least, those that are Node programs) <p>Almost all npm packages (at least, those that are Node programs)
<em>contain</em> many modules within them (because every file they load with <em>contain</em> many modules within them (because every file they load with
<code>require()</code> is a module).</p> <code>require()</code> is a module).</p>
<p>In the context of a Node program, the <code>module</code> is also the thing that <p>In the context of a Node program, the <code>module</code> is also the thing that
was loaded <em>from</em> a file. For example, in the following program:</p> was loaded <em>from</em> a file. For example, in the following program:</p>
<pre><code>var req = require(&#39;request&#39;)
<pre><code>var req = require(&#39;request&#39;)</code></pre> </code></pre><p>we might say that &quot;The variable <code>req</code> refers to the <code>request</code> module&quot;.</p>
<h2 id="so-why-is-it-the-node_modules-folder-but-package-json-file-why-not-node_packages-or-module-json-">So, why is it the &quot;<code>node_modules</code>&quot; folder, but &quot;<code>package.json</code>&quot; file? Why not <code>node_packages</code> or <code>module.json</code>?</h2>
<p>we might say that &quot;The variable <code>req</code> refers to the <code>request</code> module&quot;.</p>
<h2 id="So-why-is-it-the-node_modules-folder-but-package-json-file-Why-not-node_packages-or-module-json">So, why is it the &quot;<code>node_modules</code>&quot; folder, but &quot;<code>package.json</code>&quot; file? Why not <code>node_packages</code> or <code>module.json</code>?</h2>
<p>The <code>package.json</code> file defines the package. (See &quot;What is a <p>The <code>package.json</code> file defines the package. (See &quot;What is a
package?&quot; above.)</p> package?&quot; above.)</p>
<p>The <code>node_modules</code> folder is the place Node.js looks for modules. <p>The <code>node_modules</code> folder is the place Node.js looks for modules.
(See &quot;What is a module?&quot; above.)</p> (See &quot;What is a module?&quot; above.)</p>
<p>For example, if you create a file at <code>node_modules/foo.js</code> and then <p>For example, if you create a file at <code>node_modules/foo.js</code> and then
had a program that did <code>var f = require(&#39;foo.js&#39;)</code> then it would load had a program that did <code>var f = require(&#39;foo.js&#39;)</code> then it would load
the module. However, <code>foo.js</code> is not a &quot;package&quot; in this case, the module. However, <code>foo.js</code> is not a &quot;package&quot; in this case,
because it does not have a package.json.</p> because it does not have a package.json.</p>
<p>Alternatively, if you create a package which does not have an <p>Alternatively, if you create a package which does not have an
<code>index.js</code> or a <code>&quot;main&quot;</code> field in the <code>package.json</code> file, then it is <code>index.js</code> or a <code>&quot;main&quot;</code> field in the <code>package.json</code> file, then it is
not a module. Even if it&#39;s installed in <code>node_modules</code>, it can&#39;t be not a module. Even if it&#39;s installed in <code>node_modules</code>, it can&#39;t be
an argument to <code>require()</code>.</p> an argument to <code>require()</code>.</p>
<h2 id="-node_modules-is-the-name-of-my-deity-s-arch-rival-and-a-forbidden-word-in-my-religion-can-i-configure-npm-to-use-a-different-folder-"><code>&quot;node_modules&quot;</code> is the name of my deity&#39;s arch-rival, and a Forbidden Word in my religion. Can I configure npm to use a different folder?</h2>
<h2 id="node_modules-is-the-name-of-my-deity-s-arch-rival-and-a-Forbidden-Word-in-my-religion-Can-I-configure-npm-to-use-a-different-folder"><code>&quot;node_modules&quot;</code> is the name of my deity&#39;s arch-rival, and a Forbidden Word in my religion. Can I configure npm to use a different folder?</h2>
<p>No. This will never happen. This question comes up sometimes, <p>No. This will never happen. This question comes up sometimes,
because it seems silly from the outside that npm couldn&#39;t just be because it seems silly from the outside that npm couldn&#39;t just be
configured to put stuff somewhere else, and then npm could load them configured to put stuff somewhere else, and then npm could load them
from there. It&#39;s an arbitrary spelling choice, right? What&#39;s the big from there. It&#39;s an arbitrary spelling choice, right? What&#39;s the big
deal?</p> deal?</p>
<p>At the time of this writing, the string <code>&#39;node_modules&#39;</code> appears 151 <p>At the time of this writing, the string <code>&#39;node_modules&#39;</code> appears 151
times in 53 separate files in npm and node core (excluding tests and times in 53 separate files in npm and node core (excluding tests and
documentation).</p> documentation).</p>
<p>Some of these references are in node&#39;s built-in module loader. Since <p>Some of these references are in node&#39;s built-in module loader. Since
npm is not involved <strong>at all</strong> at run-time, node itself would have to npm is not involved <strong>at all</strong> at run-time, node itself would have to
be configured to know where you&#39;ve decided to stick stuff. Complexity be configured to know where you&#39;ve decided to stick stuff. Complexity
hurdle #1. Since the Node module system is locked, this cannot be hurdle #1. Since the Node module system is locked, this cannot be
changed, and is enough to kill this request. But I&#39;ll continue, in changed, and is enough to kill this request. But I&#39;ll continue, in
deference to your deity&#39;s delicate feelings regarding spelling.</p> deference to your deity&#39;s delicate feelings regarding spelling.</p>
<p>Many of the others are in dependencies that npm uses, which are not <p>Many of the others are in dependencies that npm uses, which are not
necessarily tightly coupled to npm (in the sense that they do not read necessarily tightly coupled to npm (in the sense that they do not read
npm&#39;s configuration files, etc.) Each of these would have to be npm&#39;s configuration files, etc.) Each of these would have to be
configured to take the name of the <code>node_modules</code> folder as a configured to take the name of the <code>node_modules</code> folder as a
parameter. Complexity hurdle #2.</p> parameter. Complexity hurdle #2.</p>
<p>Furthermore, npm has the ability to &quot;bundle&quot; dependencies by adding <p>Furthermore, npm has the ability to &quot;bundle&quot; dependencies by adding
the dep names to the <code>&quot;bundledDependencies&quot;</code> list in package.json, the dep names to the <code>&quot;bundledDependencies&quot;</code> list in package.json,
which causes the folder to be included in the package tarball. What which causes the folder to be included in the package tarball. What
@ -249,7 +192,6 @@ if the author of a module bundles its dependencies, and they use a
different spelling for <code>node_modules</code>? npm would have to rename the different spelling for <code>node_modules</code>? npm would have to rename the
folder at publish time, and then be smart enough to unpack it using folder at publish time, and then be smart enough to unpack it using
your locally configured name. Complexity hurdle #3.</p> your locally configured name. Complexity hurdle #3.</p>
<p>Furthermore, what happens when you <em>change</em> this name? Fine, it&#39;s <p>Furthermore, what happens when you <em>change</em> this name? Fine, it&#39;s
easy enough the first time, just rename the <code>node_modules</code> folders to easy enough the first time, just rename the <code>node_modules</code> folders to
<code>./blergyblerp/</code> or whatever name you choose. But what about when you <code>./blergyblerp/</code> or whatever name you choose. But what about when you
@ -258,98 +200,80 @@ configuration settings, so this would be rather difficult to do
properly. It would have to track every previous value for this properly. It would have to track every previous value for this
config, and always accept any of them, or else yesterday&#39;s install may config, and always accept any of them, or else yesterday&#39;s install may
be broken tomorrow. Complexity hurdle #5.</p> be broken tomorrow. Complexity hurdle #5.</p>
<p>Never going to happen. The folder is named <code>node_modules</code>. It is <p>Never going to happen. The folder is named <code>node_modules</code>. It is
written indelibly in the Node Way, handed down from the ancient times written indelibly in the Node Way, handed down from the ancient times
of Node 0.3.</p> of Node 0.3.</p>
<h2 id="how-do-i-install-node-with-npm-">How do I install node with npm?</h2>
<h2 id="How-do-I-install-node-with-npm">How do I install node with npm?</h2>
<p>You don&#39;t. Try one of these node version managers:</p> <p>You don&#39;t. Try one of these node version managers:</p>
<p>Unix:</p> <p>Unix:</p>
<ul>
<ul><li><a href="http://github.com/isaacs/nave">http://github.com/isaacs/nave</a></li><li><a href="http://github.com/visionmedia/n">http://github.com/visionmedia/n</a></li><li><a href="http://github.com/creationix/nvm">http://github.com/creationix/nvm</a></li></ul> <li><a href="http://github.com/isaacs/nave">http://github.com/isaacs/nave</a></li>
<li><a href="http://github.com/visionmedia/n">http://github.com/visionmedia/n</a></li>
<li><a href="http://github.com/creationix/nvm">http://github.com/creationix/nvm</a></li>
</ul>
<p>Windows:</p> <p>Windows:</p>
<ul>
<ul><li><a href="http://github.com/marcelklehr/nodist">http://github.com/marcelklehr/nodist</a></li><li><a href="https://github.com/hakobera/nvmw">https://github.com/hakobera/nvmw</a></li><li><a href="https://github.com/nanjingboy/nvmw">https://github.com/nanjingboy/nvmw</a></li></ul> <li><a href="http://github.com/marcelklehr/nodist">http://github.com/marcelklehr/nodist</a></li>
<li><a href="https://github.com/hakobera/nvmw">https://github.com/hakobera/nvmw</a></li>
<h2 id="How-can-I-use-npm-for-development">How can I use npm for development?</h2> <li><a href="https://github.com/nanjingboy/nvmw">https://github.com/nanjingboy/nvmw</a></li>
</ul>
<h2 id="how-can-i-use-npm-for-development-">How can I use npm for development?</h2>
<p>See <code><a href="../misc/npm-developers.html">npm-developers(7)</a></code> and <code><a href="../files/package.json.html">package.json(5)</a></code>.</p> <p>See <code><a href="../misc/npm-developers.html">npm-developers(7)</a></code> and <code><a href="../files/package.json.html">package.json(5)</a></code>.</p>
<p>You&#39;ll most likely want to <code>npm link</code> your development folder. That&#39;s <p>You&#39;ll most likely want to <code>npm link</code> your development folder. That&#39;s
awesomely handy.</p> awesomely handy.</p>
<p>To set up your own private registry, check out <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>.</p> <p>To set up your own private registry, check out <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>.</p>
<h2 id="can-i-list-a-url-as-a-dependency-">Can I list a url as a dependency?</h2>
<h2 id="Can-I-list-a-url-as-a-dependency">Can I list a url as a dependency?</h2>
<p>Yes. It should be a url to a gzipped tarball containing a single folder <p>Yes. It should be a url to a gzipped tarball containing a single folder
that has a package.json in its root, or a git url. that has a package.json in its root, or a git url.
(See &quot;what is a package?&quot; above.)</p> (See &quot;what is a package?&quot; above.)</p>
<h2 id="how-do-i-symlink-to-a-dev-folder-so-i-don-t-have-to-keep-re-installing-">How do I symlink to a dev folder so I don&#39;t have to keep re-installing?</h2>
<h2 id="How-do-I-symlink-to-a-dev-folder-so-I-don-t-have-to-keep-re-installing">How do I symlink to a dev folder so I don&#39;t have to keep re-installing?</h2>
<p>See <code><a href="../cli/npm-link.html">npm-link(1)</a></code></p> <p>See <code><a href="../cli/npm-link.html">npm-link(1)</a></code></p>
<h2 id="the-package-registry-website-what-is-that-exactly-">The package registry website. What is that exactly?</h2>
<h2 id="The-package-registry-website-What-is-that-exactly">The package registry website. What is that exactly?</h2>
<p>See <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>.</p> <p>See <code><a href="../misc/npm-registry.html">npm-registry(7)</a></code>.</p>
<h2 id="i-forgot-my-password-and-can-t-publish-how-do-i-reset-it-">I forgot my password, and can&#39;t publish. How do I reset it?</h2>
<h2 id="I-forgot-my-password-and-can-t-publish-How-do-I-reset-it">I forgot my password, and can&#39;t publish. How do I reset it?</h2>
<p>Go to <a href="https://npmjs.org/forgot">https://npmjs.org/forgot</a>.</p> <p>Go to <a href="https://npmjs.org/forgot">https://npmjs.org/forgot</a>.</p>
<h2 id="i-get-econnrefused-a-lot-what-s-up-">I get ECONNREFUSED a lot. What&#39;s up?</h2>
<h2 id="I-get-ECONNREFUSED-a-lot-What-s-up">I get ECONNREFUSED a lot. What&#39;s up?</h2>
<p>Either the registry is down, or node&#39;s DNS isn&#39;t able to reach out.</p> <p>Either the registry is down, or node&#39;s DNS isn&#39;t able to reach out.</p>
<p>To check if the registry is down, open up <p>To check if the registry is down, open up
<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a> in a web browser. This will also tell <a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a> in a web browser. This will also tell
you if you are just unable to access the internet for some reason.</p> you if you are just unable to access the internet for some reason.</p>
<p>If the registry IS down, let us know by emailing <a href="&#x6d;&#x61;&#x69;&#108;&#116;&#x6f;&#58;&#x73;&#x75;&#x70;&#x70;&#111;&#x72;&#116;&#x40;&#110;&#112;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#109;">&#x73;&#x75;&#x70;&#x70;&#111;&#x72;&#116;&#x40;&#110;&#112;&#x6d;&#x6a;&#115;&#x2e;&#x63;&#x6f;&#109;</a>
<p>If the registry IS down, let us know by emailing <a href="mailto:support@npmjs.com">support@npmjs.com</a>
or posting an issue at <a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a>. If it&#39;s or posting an issue at <a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a>. If it&#39;s
down for the world (and not just on your local network) then we&#39;re down for the world (and not just on your local network) then we&#39;re
probably already being pinged about it.</p> probably already being pinged about it.</p>
<p>You can also often get a faster response by visiting the #npm channel <p>You can also often get a faster response by visiting the #npm channel
on Freenode IRC.</p> on Freenode IRC.</p>
<h2 id="why-no-namespaces-">Why no namespaces?</h2>
<h2 id="Why-no-namespaces">Why no namespaces?</h2>
<p>Please see this discussion: <a href="https://github.com/npm/npm/issues/798">https://github.com/npm/npm/issues/798</a></p> <p>Please see this discussion: <a href="https://github.com/npm/npm/issues/798">https://github.com/npm/npm/issues/798</a></p>
<p>tl;dr - It doesn&#39;t actually make things better, and can make them worse.</p> <p>tl;dr - It doesn&#39;t actually make things better, and can make them worse.</p>
<p>If you want to namespace your own packages, you may: simply use the <p>If you want to namespace your own packages, you may: simply use the
<code>-</code> character to separate the names. npm is a mostly anarchic system. <code>-</code> character to separate the names. npm is a mostly anarchic system.
There is not sufficient need to impose namespace rules on everyone.</p> There is not sufficient need to impose namespace rules on everyone.</p>
<h2 id="who-does-npm-">Who does npm?</h2>
<h2 id="Who-does-npm">Who does npm?</h2>
<p>npm was originally written by Isaac Z. Schlueter, and many others have <p>npm was originally written by Isaac Z. Schlueter, and many others have
contributed to it, some of them quite substantially.</p> contributed to it, some of them quite substantially.</p>
<p>The npm open source project, The npm Registry, and <a href="https://www.npmjs.org">the community <p>The npm open source project, The npm Registry, and <a href="https://www.npmjs.org">the community
website</a> are maintained and operated by the website</a> are maintained and operated by the
good folks at <a href="https://www.npmjs.com">npm, Inc.</a></p> good folks at <a href="https://www.npmjs.com">npm, Inc.</a></p>
<h2 id="i-have-a-question-or-request-not-addressed-here-where-should-i-put-it-">I have a question or request not addressed here. Where should I put it?</h2>
<h2 id="I-have-a-question-or-request-not-addressed-here-Where-should-I-put-it">I have a question or request not addressed here. Where should I put it?</h2>
<p>Post an issue on the github project:</p> <p>Post an issue on the github project:</p>
<ul>
<ul><li><a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a></li></ul> <li><a href="https://github.com/npm/npm/issues">https://github.com/npm/npm/issues</a></li>
</ul>
<h2 id="Why-does-npm-hate-me">Why does npm hate me?</h2> <h2 id="why-does-npm-hate-me-">Why does npm hate me?</h2>
<p>npm is not capable of hatred. It loves everyone, especially you.</p> <p>npm is not capable of hatred. It loves everyone, especially you.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../cli/npm.html">npm(1)</a></li>
<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-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>
<li><a href="../misc/npm-config.html">npm-config(7)</a></li>
<li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
</ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="../cli/npm.html">npm(1)</a></li><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-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><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../files/npm-folders.html">npm-folders(5)</a></li></ul>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -361,5 +285,5 @@ good folks at <a href="https://www.npmjs.com">npm, Inc.</a></p>
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-faq &mdash; npm@1.4.9</p> <p id="footer">npm-faq &mdash; npm@1.4.10</p>

415
deps/npm/html/doc/misc/npm-index.html

@ -10,414 +10,211 @@
<div id="wrapper"> <div id="wrapper">
<h1><a href="../misc/npm-index.html">npm-index</a></h1> <p>Index of all npm documentation</p> <h1><a href="../misc/npm-index.html">npm-index</a></h1> <p>Index of all npm documentation</p>
<h2 id="readme-1-"><a href="../../doc/README.html">README</a></h2>
<h2 id="README-1"><a href="../../doc/README.html">README</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h1 id="command-line-documentation">Command Line Documentation</h1>
<h1>Command Line Documentation</h1> <h2 id="npm-1-"><a href="../cli/npm.html">npm(1)</a></h2>
<h2 id="npm-1"><a href="../cli/npm.html">npm(1)</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h2 id="npm-adduser-1-"><a href="../cli/npm-adduser.html">npm-adduser(1)</a></h2>
<h2 id="npm-adduser-1"><a href="../cli/npm-adduser.html">npm-adduser(1)</a></h2>
<p>Add a registry user account</p> <p>Add a registry user account</p>
<h2 id="npm-bin-1-"><a href="../cli/npm-bin.html">npm-bin(1)</a></h2>
<h2 id="npm-bin-1"><a href="../cli/npm-bin.html">npm-bin(1)</a></h2>
<p>Display npm bin folder</p> <p>Display npm bin folder</p>
<h2 id="npm-bugs-1-"><a href="../cli/npm-bugs.html">npm-bugs(1)</a></h2>
<h2 id="npm-bugs-1"><a href="../cli/npm-bugs.html">npm-bugs(1)</a></h2>
<p>Bugs for a package in a web browser maybe</p> <p>Bugs for a package in a web browser maybe</p>
<h2 id="npm-build-1-"><a href="../cli/npm-build.html">npm-build(1)</a></h2>
<h2 id="npm-build-1"><a href="../cli/npm-build.html">npm-build(1)</a></h2>
<p>Build a package</p> <p>Build a package</p>
<h2 id="npm-bundle-1-"><a href="../cli/npm-bundle.html">npm-bundle(1)</a></h2>
<h2 id="npm-bundle-1"><a href="../cli/npm-bundle.html">npm-bundle(1)</a></h2>
<p>REMOVED</p> <p>REMOVED</p>
<h2 id="npm-cache-1-"><a href="../cli/npm-cache.html">npm-cache(1)</a></h2>
<h2 id="npm-cache-1"><a href="../cli/npm-cache.html">npm-cache(1)</a></h2>
<p>Manipulates packages cache</p> <p>Manipulates packages cache</p>
<h2 id="npm-completion-1-"><a href="../cli/npm-completion.html">npm-completion(1)</a></h2>
<h2 id="npm-completion-1"><a href="../cli/npm-completion.html">npm-completion(1)</a></h2>
<p>Tab Completion for npm</p> <p>Tab Completion for npm</p>
<h2 id="npm-config-1-"><a href="../cli/npm-config.html">npm-config(1)</a></h2>
<h2 id="npm-config-1"><a href="../cli/npm-config.html">npm-config(1)</a></h2>
<p>Manage the npm configuration files</p> <p>Manage the npm configuration files</p>
<h2 id="npm-dedupe-1-"><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></h2>
<h2 id="npm-dedupe-1"><a href="../cli/npm-dedupe.html">npm-dedupe(1)</a></h2>
<p>Reduce duplication</p> <p>Reduce duplication</p>
<h2 id="npm-deprecate-1-"><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></h2>
<h2 id="npm-deprecate-1"><a href="../cli/npm-deprecate.html">npm-deprecate(1)</a></h2>
<p>Deprecate a version of a package</p> <p>Deprecate a version of a package</p>
<h2 id="npm-docs-1-"><a href="../cli/npm-docs.html">npm-docs(1)</a></h2>
<h2 id="npm-docs-1"><a href="../cli/npm-docs.html">npm-docs(1)</a></h2>
<p>Docs for a package in a web browser maybe</p> <p>Docs for a package in a web browser maybe</p>
<h2 id="npm-edit-1-"><a href="../cli/npm-edit.html">npm-edit(1)</a></h2>
<h2 id="npm-edit-1"><a href="../cli/npm-edit.html">npm-edit(1)</a></h2>
<p>Edit an installed package</p> <p>Edit an installed package</p>
<h2 id="npm-explore-1-"><a href="../cli/npm-explore.html">npm-explore(1)</a></h2>
<h2 id="npm-explore-1"><a href="../cli/npm-explore.html">npm-explore(1)</a></h2>
<p>Browse an installed package</p> <p>Browse an installed package</p>
<h2 id="npm-help-search-1-"><a href="../cli/npm-help-search.html">npm-help-search(1)</a></h2>
<h2 id="npm-help-search-1"><a href="../cli/npm-help-search.html">npm-help-search(1)</a></h2>
<p>Search npm help documentation</p> <p>Search npm help documentation</p>
<h2 id="npm-help-1-"><a href="../cli/npm-help.html">npm-help(1)</a></h2>
<h2 id="npm-help-1"><a href="../cli/npm-help.html">npm-help(1)</a></h2>
<p>Get help on npm</p> <p>Get help on npm</p>
<h2 id="npm-init-1-"><a href="../cli/npm-init.html">npm-init(1)</a></h2>
<h2 id="npm-init-1"><a href="../cli/npm-init.html">npm-init(1)</a></h2>
<p>Interactively create a package.json file</p> <p>Interactively create a package.json file</p>
<h2 id="npm-install-1-"><a href="../cli/npm-install.html">npm-install(1)</a></h2>
<h2 id="npm-install-1"><a href="../cli/npm-install.html">npm-install(1)</a></h2>
<p>Install a package</p> <p>Install a package</p>
<h2 id="npm-link-1-"><a href="../cli/npm-link.html">npm-link(1)</a></h2>
<h2 id="npm-link-1"><a href="../cli/npm-link.html">npm-link(1)</a></h2>
<p>Symlink a package folder</p> <p>Symlink a package folder</p>
<h2 id="npm-ls-1-"><a href="../cli/npm-ls.html">npm-ls(1)</a></h2>
<h2 id="npm-ls-1"><a href="../cli/npm-ls.html">npm-ls(1)</a></h2>
<p>List installed packages</p> <p>List installed packages</p>
<h2 id="npm-outdated-1-"><a href="../cli/npm-outdated.html">npm-outdated(1)</a></h2>
<h2 id="npm-outdated-1"><a href="../cli/npm-outdated.html">npm-outdated(1)</a></h2>
<p>Check for outdated packages</p> <p>Check for outdated packages</p>
<h2 id="npm-owner-1-"><a href="../cli/npm-owner.html">npm-owner(1)</a></h2>
<h2 id="npm-owner-1"><a href="../cli/npm-owner.html">npm-owner(1)</a></h2>
<p>Manage package owners</p> <p>Manage package owners</p>
<h2 id="npm-pack-1-"><a href="../cli/npm-pack.html">npm-pack(1)</a></h2>
<h2 id="npm-pack-1"><a href="../cli/npm-pack.html">npm-pack(1)</a></h2>
<p>Create a tarball from a package</p> <p>Create a tarball from a package</p>
<h2 id="npm-prefix-1-"><a href="../cli/npm-prefix.html">npm-prefix(1)</a></h2>
<h2 id="npm-prefix-1"><a href="../cli/npm-prefix.html">npm-prefix(1)</a></h2>
<p>Display prefix</p> <p>Display prefix</p>
<h2 id="npm-prune-1-"><a href="../cli/npm-prune.html">npm-prune(1)</a></h2>
<h2 id="npm-prune-1"><a href="../cli/npm-prune.html">npm-prune(1)</a></h2>
<p>Remove extraneous packages</p> <p>Remove extraneous packages</p>
<h2 id="npm-publish-1-"><a href="../cli/npm-publish.html">npm-publish(1)</a></h2>
<h2 id="npm-publish-1"><a href="../cli/npm-publish.html">npm-publish(1)</a></h2>
<p>Publish a package</p> <p>Publish a package</p>
<h2 id="npm-rebuild-1-"><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></h2>
<h2 id="npm-rebuild-1"><a href="../cli/npm-rebuild.html">npm-rebuild(1)</a></h2>
<p>Rebuild a package</p> <p>Rebuild a package</p>
<h2 id="npm-repo-1-"><a href="../cli/npm-repo.html">npm-repo(1)</a></h2>
<h2 id="npm-repo-1"><a href="../cli/npm-repo.html">npm-repo(1)</a></h2>
<p>Open package repository page in the browser</p> <p>Open package repository page in the browser</p>
<h2 id="npm-restart-1-"><a href="../cli/npm-restart.html">npm-restart(1)</a></h2>
<h2 id="npm-restart-1"><a href="../cli/npm-restart.html">npm-restart(1)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-rm-1-"><a href="../cli/npm-rm.html">npm-rm(1)</a></h2>
<h2 id="npm-rm-1"><a href="../cli/npm-rm.html">npm-rm(1)</a></h2>
<p>Remove a package</p> <p>Remove a package</p>
<h2 id="npm-root-1-"><a href="../cli/npm-root.html">npm-root(1)</a></h2>
<h2 id="npm-root-1"><a href="../cli/npm-root.html">npm-root(1)</a></h2>
<p>Display npm root</p> <p>Display npm root</p>
<h2 id="npm-run-script-1-"><a href="../cli/npm-run-script.html">npm-run-script(1)</a></h2>
<h2 id="npm-run-script-1"><a href="../cli/npm-run-script.html">npm-run-script(1)</a></h2>
<p>Run arbitrary package scripts</p> <p>Run arbitrary package scripts</p>
<h2 id="npm-search-1-"><a href="../cli/npm-search.html">npm-search(1)</a></h2>
<h2 id="npm-search-1"><a href="../cli/npm-search.html">npm-search(1)</a></h2>
<p>Search for packages</p> <p>Search for packages</p>
<h2 id="npm-shrinkwrap-1-"><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></h2>
<h2 id="npm-shrinkwrap-1"><a href="../cli/npm-shrinkwrap.html">npm-shrinkwrap(1)</a></h2>
<p>Lock down dependency versions</p> <p>Lock down dependency versions</p>
<h2 id="npm-star-1-"><a href="../cli/npm-star.html">npm-star(1)</a></h2>
<h2 id="npm-star-1"><a href="../cli/npm-star.html">npm-star(1)</a></h2>
<p>Mark your favorite packages</p> <p>Mark your favorite packages</p>
<h2 id="npm-stars-1-"><a href="../cli/npm-stars.html">npm-stars(1)</a></h2>
<h2 id="npm-stars-1"><a href="../cli/npm-stars.html">npm-stars(1)</a></h2>
<p>View packages marked as favorites</p> <p>View packages marked as favorites</p>
<h2 id="npm-start-1-"><a href="../cli/npm-start.html">npm-start(1)</a></h2>
<h2 id="npm-start-1"><a href="../cli/npm-start.html">npm-start(1)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-stop-1-"><a href="../cli/npm-stop.html">npm-stop(1)</a></h2>
<h2 id="npm-stop-1"><a href="../cli/npm-stop.html">npm-stop(1)</a></h2>
<p>Stop a package</p> <p>Stop a package</p>
<h2 id="npm-submodule-1-"><a href="../cli/npm-submodule.html">npm-submodule(1)</a></h2>
<h2 id="npm-submodule-1"><a href="../cli/npm-submodule.html">npm-submodule(1)</a></h2>
<p>Add a package as a git submodule</p> <p>Add a package as a git submodule</p>
<h2 id="npm-tag-1-"><a href="../cli/npm-tag.html">npm-tag(1)</a></h2>
<h2 id="npm-tag-1"><a href="../cli/npm-tag.html">npm-tag(1)</a></h2>
<p>Tag a published version</p> <p>Tag a published version</p>
<h2 id="npm-test-1-"><a href="../cli/npm-test.html">npm-test(1)</a></h2>
<h2 id="npm-test-1"><a href="../cli/npm-test.html">npm-test(1)</a></h2>
<p>Test a package</p> <p>Test a package</p>
<h2 id="npm-uninstall-1-"><a href="../cli/npm-uninstall.html">npm-uninstall(1)</a></h2>
<h2 id="npm-uninstall-1"><a href="../cli/npm-uninstall.html">npm-uninstall(1)</a></h2>
<p>Remove a package</p> <p>Remove a package</p>
<h2 id="npm-unpublish-1-"><a href="../cli/npm-unpublish.html">npm-unpublish(1)</a></h2>
<h2 id="npm-unpublish-1"><a href="../cli/npm-unpublish.html">npm-unpublish(1)</a></h2>
<p>Remove a package from the registry</p> <p>Remove a package from the registry</p>
<h2 id="npm-update-1-"><a href="../cli/npm-update.html">npm-update(1)</a></h2>
<h2 id="npm-update-1"><a href="../cli/npm-update.html">npm-update(1)</a></h2>
<p>Update a package</p> <p>Update a package</p>
<h2 id="npm-version-1-"><a href="../cli/npm-version.html">npm-version(1)</a></h2>
<h2 id="npm-version-1"><a href="../cli/npm-version.html">npm-version(1)</a></h2>
<p>Bump a package version</p> <p>Bump a package version</p>
<h2 id="npm-view-1-"><a href="../cli/npm-view.html">npm-view(1)</a></h2>
<h2 id="npm-view-1"><a href="../cli/npm-view.html">npm-view(1)</a></h2>
<p>View registry info</p> <p>View registry info</p>
<h2 id="npm-whoami-1-"><a href="../cli/npm-whoami.html">npm-whoami(1)</a></h2>
<h2 id="npm-whoami-1"><a href="../cli/npm-whoami.html">npm-whoami(1)</a></h2>
<p>Display npm username</p> <p>Display npm username</p>
<h1 id="api-documentation">API Documentation</h1>
<h1>API Documentation</h1> <h2 id="npm-3-"><a href="../api/npm.html">npm(3)</a></h2>
<h2 id="npm-3"><a href="../api/npm.html">npm(3)</a></h2>
<p>node package manager</p> <p>node package manager</p>
<h2 id="npm-bin-3-"><a href="../api/npm-bin.html">npm-bin(3)</a></h2>
<h2 id="npm-bin-3"><a href="../api/npm-bin.html">npm-bin(3)</a></h2>
<p>Display npm bin folder</p> <p>Display npm bin folder</p>
<h2 id="npm-bugs-3-"><a href="../api/npm-bugs.html">npm-bugs(3)</a></h2>
<h2 id="npm-bugs-3"><a href="../api/npm-bugs.html">npm-bugs(3)</a></h2>
<p>Bugs for a package in a web browser maybe</p> <p>Bugs for a package in a web browser maybe</p>
<h2 id="npm-commands-3-"><a href="../api/npm-commands.html">npm-commands(3)</a></h2>
<h2 id="npm-commands-3"><a href="../api/npm-commands.html">npm-commands(3)</a></h2>
<p>npm commands</p> <p>npm commands</p>
<h2 id="npm-config-3-"><a href="../api/npm-config.html">npm-config(3)</a></h2>
<h2 id="npm-config-3"><a href="../api/npm-config.html">npm-config(3)</a></h2>
<p>Manage the npm configuration files</p> <p>Manage the npm configuration files</p>
<h2 id="npm-deprecate-3-"><a href="../api/npm-deprecate.html">npm-deprecate(3)</a></h2>
<h2 id="npm-deprecate-3"><a href="../api/npm-deprecate.html">npm-deprecate(3)</a></h2>
<p>Deprecate a version of a package</p> <p>Deprecate a version of a package</p>
<h2 id="npm-docs-3-"><a href="../api/npm-docs.html">npm-docs(3)</a></h2>
<h2 id="npm-docs-3"><a href="../api/npm-docs.html">npm-docs(3)</a></h2>
<p>Docs for a package in a web browser maybe</p> <p>Docs for a package in a web browser maybe</p>
<h2 id="npm-edit-3-"><a href="../api/npm-edit.html">npm-edit(3)</a></h2>
<h2 id="npm-edit-3"><a href="../api/npm-edit.html">npm-edit(3)</a></h2>
<p>Edit an installed package</p> <p>Edit an installed package</p>
<h2 id="npm-explore-3-"><a href="../api/npm-explore.html">npm-explore(3)</a></h2>
<h2 id="npm-explore-3"><a href="../api/npm-explore.html">npm-explore(3)</a></h2>
<p>Browse an installed package</p> <p>Browse an installed package</p>
<h2 id="npm-help-search-3-"><a href="../api/npm-help-search.html">npm-help-search(3)</a></h2>
<h2 id="npm-help-search-3"><a href="../api/npm-help-search.html">npm-help-search(3)</a></h2>
<p>Search the help pages</p> <p>Search the help pages</p>
<h2 id="npm-init-3-"><a href="../api/npm-init.html">npm-init(3)</a></h2>
<h2 id="npm-init-3"><a href="../api/npm-init.html">npm-init(3)</a></h2>
<p>Interactively create a package.json file</p> <p>Interactively create a package.json file</p>
<h2 id="npm-install-3-"><a href="../api/npm-install.html">npm-install(3)</a></h2>
<h2 id="npm-install-3"><a href="../api/npm-install.html">npm-install(3)</a></h2>
<p>install a package programmatically</p> <p>install a package programmatically</p>
<h2 id="npm-link-3-"><a href="../api/npm-link.html">npm-link(3)</a></h2>
<h2 id="npm-link-3"><a href="../api/npm-link.html">npm-link(3)</a></h2>
<p>Symlink a package folder</p> <p>Symlink a package folder</p>
<h2 id="npm-load-3-"><a href="../api/npm-load.html">npm-load(3)</a></h2>
<h2 id="npm-load-3"><a href="../api/npm-load.html">npm-load(3)</a></h2>
<p>Load config settings</p> <p>Load config settings</p>
<h2 id="npm-ls-3-"><a href="../api/npm-ls.html">npm-ls(3)</a></h2>
<h2 id="npm-ls-3"><a href="../api/npm-ls.html">npm-ls(3)</a></h2>
<p>List installed packages</p> <p>List installed packages</p>
<h2 id="npm-outdated-3-"><a href="../api/npm-outdated.html">npm-outdated(3)</a></h2>
<h2 id="npm-outdated-3"><a href="../api/npm-outdated.html">npm-outdated(3)</a></h2>
<p>Check for outdated packages</p> <p>Check for outdated packages</p>
<h2 id="npm-owner-3-"><a href="../api/npm-owner.html">npm-owner(3)</a></h2>
<h2 id="npm-owner-3"><a href="../api/npm-owner.html">npm-owner(3)</a></h2>
<p>Manage package owners</p> <p>Manage package owners</p>
<h2 id="npm-pack-3-"><a href="../api/npm-pack.html">npm-pack(3)</a></h2>
<h2 id="npm-pack-3"><a href="../api/npm-pack.html">npm-pack(3)</a></h2>
<p>Create a tarball from a package</p> <p>Create a tarball from a package</p>
<h2 id="npm-prefix-3-"><a href="../api/npm-prefix.html">npm-prefix(3)</a></h2>
<h2 id="npm-prefix-3"><a href="../api/npm-prefix.html">npm-prefix(3)</a></h2>
<p>Display prefix</p> <p>Display prefix</p>
<h2 id="npm-prune-3-"><a href="../api/npm-prune.html">npm-prune(3)</a></h2>
<h2 id="npm-prune-3"><a href="../api/npm-prune.html">npm-prune(3)</a></h2>
<p>Remove extraneous packages</p> <p>Remove extraneous packages</p>
<h2 id="npm-publish-3-"><a href="../api/npm-publish.html">npm-publish(3)</a></h2>
<h2 id="npm-publish-3"><a href="../api/npm-publish.html">npm-publish(3)</a></h2>
<p>Publish a package</p> <p>Publish a package</p>
<h2 id="npm-rebuild-3-"><a href="../api/npm-rebuild.html">npm-rebuild(3)</a></h2>
<h2 id="npm-rebuild-3"><a href="../api/npm-rebuild.html">npm-rebuild(3)</a></h2>
<p>Rebuild a package</p> <p>Rebuild a package</p>
<h2 id="npm-repo-3-"><a href="../api/npm-repo.html">npm-repo(3)</a></h2>
<h2 id="npm-repo-3"><a href="../api/npm-repo.html">npm-repo(3)</a></h2>
<p>Open package repository page in the browser</p> <p>Open package repository page in the browser</p>
<h2 id="npm-restart-3-"><a href="../api/npm-restart.html">npm-restart(3)</a></h2>
<h2 id="npm-restart-3"><a href="../api/npm-restart.html">npm-restart(3)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-root-3-"><a href="../api/npm-root.html">npm-root(3)</a></h2>
<h2 id="npm-root-3"><a href="../api/npm-root.html">npm-root(3)</a></h2>
<p>Display npm root</p> <p>Display npm root</p>
<h2 id="npm-run-script-3-"><a href="../api/npm-run-script.html">npm-run-script(3)</a></h2>
<h2 id="npm-run-script-3"><a href="../api/npm-run-script.html">npm-run-script(3)</a></h2>
<p>Run arbitrary package scripts</p> <p>Run arbitrary package scripts</p>
<h2 id="npm-search-3-"><a href="../api/npm-search.html">npm-search(3)</a></h2>
<h2 id="npm-search-3"><a href="../api/npm-search.html">npm-search(3)</a></h2>
<p>Search for packages</p> <p>Search for packages</p>
<h2 id="npm-shrinkwrap-3-"><a href="../api/npm-shrinkwrap.html">npm-shrinkwrap(3)</a></h2>
<h2 id="npm-shrinkwrap-3"><a href="../api/npm-shrinkwrap.html">npm-shrinkwrap(3)</a></h2>
<p>programmatically generate package shrinkwrap file</p> <p>programmatically generate package shrinkwrap file</p>
<h2 id="npm-start-3-"><a href="../api/npm-start.html">npm-start(3)</a></h2>
<h2 id="npm-start-3"><a href="../api/npm-start.html">npm-start(3)</a></h2>
<p>Start a package</p> <p>Start a package</p>
<h2 id="npm-stop-3-"><a href="../api/npm-stop.html">npm-stop(3)</a></h2>
<h2 id="npm-stop-3"><a href="../api/npm-stop.html">npm-stop(3)</a></h2>
<p>Stop a package</p> <p>Stop a package</p>
<h2 id="npm-submodule-3-"><a href="../api/npm-submodule.html">npm-submodule(3)</a></h2>
<h2 id="npm-submodule-3"><a href="../api/npm-submodule.html">npm-submodule(3)</a></h2>
<p>Add a package as a git submodule</p> <p>Add a package as a git submodule</p>
<h2 id="npm-tag-3-"><a href="../api/npm-tag.html">npm-tag(3)</a></h2>
<h2 id="npm-tag-3"><a href="../api/npm-tag.html">npm-tag(3)</a></h2>
<p>Tag a published version</p> <p>Tag a published version</p>
<h2 id="npm-test-3-"><a href="../api/npm-test.html">npm-test(3)</a></h2>
<h2 id="npm-test-3"><a href="../api/npm-test.html">npm-test(3)</a></h2>
<p>Test a package</p> <p>Test a package</p>
<h2 id="npm-uninstall-3-"><a href="../api/npm-uninstall.html">npm-uninstall(3)</a></h2>
<h2 id="npm-uninstall-3"><a href="../api/npm-uninstall.html">npm-uninstall(3)</a></h2>
<p>uninstall a package programmatically</p> <p>uninstall a package programmatically</p>
<h2 id="npm-unpublish-3-"><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></h2>
<h2 id="npm-unpublish-3"><a href="../api/npm-unpublish.html">npm-unpublish(3)</a></h2>
<p>Remove a package from the registry</p> <p>Remove a package from the registry</p>
<h2 id="npm-update-3-"><a href="../api/npm-update.html">npm-update(3)</a></h2>
<h2 id="npm-update-3"><a href="../api/npm-update.html">npm-update(3)</a></h2>
<p>Update a package</p> <p>Update a package</p>
<h2 id="npm-version-3-"><a href="../api/npm-version.html">npm-version(3)</a></h2>
<h2 id="npm-version-3"><a href="../api/npm-version.html">npm-version(3)</a></h2>
<p>Bump a package version</p> <p>Bump a package version</p>
<h2 id="npm-view-3-"><a href="../api/npm-view.html">npm-view(3)</a></h2>
<h2 id="npm-view-3"><a href="../api/npm-view.html">npm-view(3)</a></h2>
<p>View registry info</p> <p>View registry info</p>
<h2 id="npm-whoami-3-"><a href="../api/npm-whoami.html">npm-whoami(3)</a></h2>
<h2 id="npm-whoami-3"><a href="../api/npm-whoami.html">npm-whoami(3)</a></h2>
<p>Display npm username</p> <p>Display npm username</p>
<h1 id="files">Files</h1>
<h1>Files</h1> <h2 id="npm-folders-5-"><a href="../files/npm-folders.html">npm-folders(5)</a></h2>
<h2 id="npm-folders-5"><a href="../files/npm-folders.html">npm-folders(5)</a></h2>
<p>Folder Structures Used by npm</p> <p>Folder Structures Used by npm</p>
<h2 id="npmrc-5-"><a href="../files/npmrc.html">npmrc(5)</a></h2>
<h2 id="npmrc-5"><a href="../files/npmrc.html">npmrc(5)</a></h2>
<p>The npm config files</p> <p>The npm config files</p>
<h2 id="package-json-5-"><a href="../files/package.json.html">package.json(5)</a></h2>
<h2 id="package-json-5"><a href="../files/package.json.html">package.json(5)</a></h2>
<p>Specifics of npm&#39;s package.json handling</p> <p>Specifics of npm&#39;s package.json handling</p>
<h1 id="misc">Misc</h1>
<h1>Misc</h1> <h2 id="npm-coding-style-7-"><a href="../misc/npm-coding-style.html">npm-coding-style(7)</a></h2>
<h2 id="npm-coding-style-7"><a href="../misc/npm-coding-style.html">npm-coding-style(7)</a></h2>
<p>npm&#39;s &quot;funny&quot; coding style</p> <p>npm&#39;s &quot;funny&quot; coding style</p>
<h2 id="npm-config-7-"><a href="../misc/npm-config.html">npm-config(7)</a></h2>
<h2 id="npm-config-7"><a href="../misc/npm-config.html">npm-config(7)</a></h2>
<p>More than you probably want to know about npm configuration</p> <p>More than you probably want to know about npm configuration</p>
<h2 id="npm-developers-7-"><a href="../misc/npm-developers.html">npm-developers(7)</a></h2>
<h2 id="npm-developers-7"><a href="../misc/npm-developers.html">npm-developers(7)</a></h2>
<p>Developer Guide</p> <p>Developer Guide</p>
<h2 id="npm-disputes-7-"><a href="../misc/npm-disputes.html">npm-disputes(7)</a></h2>
<h2 id="npm-disputes-7"><a href="../misc/npm-disputes.html">npm-disputes(7)</a></h2>
<p>Handling Module Name Disputes</p> <p>Handling Module Name Disputes</p>
<h2 id="npm-faq-7-"><a href="../misc/npm-faq.html">npm-faq(7)</a></h2>
<h2 id="npm-faq-7"><a href="../misc/npm-faq.html">npm-faq(7)</a></h2>
<p>Frequently Asked Questions</p> <p>Frequently Asked Questions</p>
<h2 id="npm-index-7-"><a href="../misc/npm-index.html">npm-index(7)</a></h2>
<h2 id="npm-index-7"><a href="../misc/npm-index.html">npm-index(7)</a></h2>
<p>Index of all npm documentation</p> <p>Index of all npm documentation</p>
<h2 id="npm-registry-7-"><a href="../misc/npm-registry.html">npm-registry(7)</a></h2>
<h2 id="npm-registry-7"><a href="../misc/npm-registry.html">npm-registry(7)</a></h2>
<p>The JavaScript Package Registry</p> <p>The JavaScript Package Registry</p>
<h2 id="npm-scripts-7-"><a href="../misc/npm-scripts.html">npm-scripts(7)</a></h2>
<h2 id="npm-scripts-7"><a href="../misc/npm-scripts.html">npm-scripts(7)</a></h2>
<p>How npm handles the &quot;scripts&quot; field</p> <p>How npm handles the &quot;scripts&quot; field</p>
<h2 id="removing-npm-7-"><a href="../misc/removing-npm.html">removing-npm(7)</a></h2>
<h2 id="removing-npm-7"><a href="../misc/removing-npm.html">removing-npm(7)</a></h2>
<p>Cleaning the Slate</p> <p>Cleaning the Slate</p>
<h2 id="semver-7-"><a href="../misc/semver.html">semver(7)</a></h2>
<h2 id="semver-7"><a href="../misc/semver.html">semver(7)</a></h2>
<p>The semantic versioner for npm</p> <p>The semantic versioner for npm</p>
</div> </div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@ -429,5 +226,5 @@
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table> </table>
<p id="footer">npm-index &mdash; npm@1.4.9</p> <p id="footer">npm-index &mdash; npm@1.4.10</p>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save