This commit is contained in:
isaacs
2011-09-08 13:19:41 -07:00
parent 55d2677cb7
commit d5a920f798
76 changed files with 406 additions and 234 deletions

View File

@@ -209,7 +209,7 @@ process for published modules.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">npm faq</a></li><li><a href="help.html">npm help</a></li></ul>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">faq</a></li><li><a href="help.html">help</a></li></ul>
</div>
<p id="footer"><a href="README.html">README</a> &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -234,7 +234,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="adduser.html">npm adduser</a></h1> <p>Add a registry user account</p>
<h1><a href="adduser.html">adduser</a></h1> <p>Add a registry user account</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -37,7 +37,7 @@ authorize on a new machine.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li><li><a href="owner.html">npm owner</a></li><li><a href="whoami.html">npm whoami</a></li></ul>
<ul><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li><li><a href="owner.html">owner</a></li><li><a href="whoami.html">whoami</a></li></ul>
</div>
<p id="footer">adduser &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -62,7 +62,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="owner.html">npm owner</a></h1> <p>Manage package owners</p>
<h1><a href="owner.html">owner</a></h1> <p>Manage package owners</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -16,6 +16,8 @@ npm owner rm &lt;user&gt; &lt;package name&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Manage ownership of published packages.</p>
<ul><li>ls:
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:
@@ -30,7 +32,7 @@ that is not implemented at this time.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li></ul>
<ul><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="adduser.html">adduser</a></li></ul>
</div>
<p id="footer">author &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -55,7 +57,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="bin.html">npm bin</a></h1> <p>Display npm bin folder</p>
<h1><a href="bin.html">bin</a></h1> <p>Display npm bin folder</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="prefix.html">npm prefix</a></li><li><a href="root.html">npm root</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="prefix.html">prefix</a></li><li><a href="root.html">root</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">bin &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="build.html">npm build</a></h1> <p>Build a package</p>
<h1><a href="build.html">build</a></h1> <p>Build a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -23,7 +23,7 @@ A folder containing a <code>package.json</code> file in its root.</li></ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="install.html">npm install</a></li><li><a href="link.html">npm link</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="json.html">npm json</a></li></ul>
<ul><li><a href="install.html">install</a></li><li><a href="link.html">link</a></li><li><a href="scripts.html">scripts</a></li><li><a href="json.html">json</a></li></ul>
</div>
<p id="footer">build &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -48,7 +48,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="bundle.html">npm bundle</a></h1> <p>REMOVED</p>
<h1><a href="bundle.html">bundle</a></h1> <p>REMOVED</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -18,7 +18,7 @@ install packages into the local space.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="install.html">npm install</a></li></ul>
<ul><li><a href="install.html">install</a></li></ul>
</div>
<p id="footer">bundle &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="cache.html">npm cache</a></h1> <p>install a package</p>
<h1><a href="cache.html">cache</a></h1> <p>install a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -21,6 +21,8 @@ npm cache clean [&lt;path&gt;]</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Used to add, list, or clear the npm cache folder.</p>
<ul><li><p>add:
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
@@ -62,7 +64,7 @@ they do not make an HTTP request to the registry.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li><li><a href="install.html">npm install</a></li><li><a href="publish.html">npm publish</a></li><li><a href="pack.html">npm pack</a></li></ul>
<ul><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li><li><a href="install.html">install</a></li><li><a href="publish.html">publish</a></li><li><a href="pack.html">pack</a></li></ul>
</div>
<p id="footer">cache &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -87,7 +89,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,11 @@
<body>
<div id="wrapper">
<h1><a href="changelog.html">npm changelog</a></h1> <p>Changes</p>
<h1><a href="changelog.html">changelog</a></h1> <p>Changes</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p>A brief history.</p>
<h2 id="HISTORY">HISTORY</h2>
@@ -32,7 +36,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">npm faq</a></li></ul>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">faq</a></li></ul>
</div>
<p id="footer">changelog &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -57,7 +61,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="coding-style.html">npm coding-style</a></h1> <p>npm's "funny" coding style</p>
<h1><a href="coding-style.html">coding-style</a></h1> <p>npm's "funny" coding style</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -155,7 +155,7 @@ report what's happening so that it's easier to track down where a fault
occurs.</p>
<p>Use appropriate log levels. The default log() function logs at the
"info" level. See <code><a href="config.html">npm config</a></code> and search for "loglevel".</p>
"info" level. See <code><a href="config.html">config</a></code> and search for "loglevel".</p>
<h2 id="Case-naming-etc">Case, naming, etc.</h2>
@@ -189,7 +189,7 @@ set to anything."</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="developers.html">npm developers</a></li><li><a href="faq.html">npm faq</a></li><li><a href="npm.html">npm</a></li></ul>
<ul><li><a href="developers.html">developers</a></li><li><a href="faq.html">faq</a></li><li><a href="npm.html">npm</a></li></ul>
</div>
<p id="footer">coding-style &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -214,7 +214,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="completion.html">npm completion</a></h1> <p>Tab Completion for npm</p>
<h1><a href="completion.html">completion</a></h1> <p>Tab Completion for npm</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -14,7 +14,9 @@
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Enables tab-completion in all npm commands. The synopsis above
<p>Enables tab-completion in all npm commands.</p>
<p>The synopsis above
loads the completions into your current shell. Adding it to
your ~/.bashrc or ~/.zshrc will make the completions available
everywhere.</p>
@@ -29,7 +31,7 @@ completions based on the arguments.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="developers.html">npm developers</a></li><li><a href="faq.html">npm faq</a></li><li><a href="npm.html">npm</a></li></ul>
<ul><li><a href="developers.html">developers</a></li><li><a href="faq.html">faq</a></li><li><a href="npm.html">npm</a></li></ul>
</div>
<p id="footer">completion &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -54,7 +56,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="config.html">npm config</a></h1> <p>Manage the npm configuration file</p>
<h1><a href="config.html">config</a></h1> <p>Manage the npm configuration file</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -100,7 +100,7 @@ npm ls --global --parseable --long --loglevel info</code></pre>
<h2 id="Per-Package-Config-Settings">Per-Package Config Settings</h2>
<p>When running scripts (see <code><a href="scripts.html">npm scripts</a></code>)
<p>When running scripts (see <code><a href="scripts.html">scripts</a></code>)
the package.json "config" keys are overwritten in the environment if
there is a config param of <code>&lt;name&gt;[@&lt;version&gt;]:&lt;key&gt;</code>. For example, if
the package.json has this:</p>
@@ -172,7 +172,7 @@ to trust only that specific signing authority.</p>
<ul><li>Default: Windows: <code>~/npm-cache</code>, Posix: <code>~/.npm</code></li><li>Type: path</li></ul>
<p>The location of npm's cache directory. See <code><a href="cache.html">npm cache</a></code></p>
<p>The location of npm's cache directory. See <code><a href="cache.html">cache</a></code></p>
<h3 id="color">color</h3>
@@ -224,7 +224,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<p>Operates in "global" mode, so that packages are installed into the
<code>prefix</code> folder instead of the current working directory. See
<code><a href="folders.html">npm folders</a></code> for more on the differences in behavior.</p>
<code><a href="folders.html">folders</a></code> for more on the differences in behavior.</p>
<ul><li>packages are installed into the <code>prefix/node_modules</code> folder, instead of the
current working directory.</li><li>bin files are linked to <code>prefix/bin</code></li><li>man pages are linked to <code>prefix/share/man</code></li></ul>
@@ -494,7 +494,7 @@ will fail.</p>
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
<p>Set to show short usage output (like the -H output)
instead of complete help when doing <code><a href="help.html">npm help</a></code>.</p>
instead of complete help when doing <code><a href="help.html">help</a></code>.</p>
<h3 id="user">user</h3>
@@ -551,7 +551,7 @@ then answer "no" to any prompt.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="folders.html">npm folders</a></li><li><a href="npm.html">npm</a></li></ul>
<ul><li><a href="folders.html">folders</a></li><li><a href="npm.html">npm</a></li></ul>
</div>
<p id="footer">config &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -576,7 +576,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="deprecate.html">npm deprecate</a></h1> <p>Deprecate a version of a package</p>
<h1><a href="deprecate.html">deprecate</a></h1> <p>Deprecate a version of a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -27,7 +27,7 @@ something like this:</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li></ul>
<ul><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li></ul>
</div>
<p id="footer">deprecate &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -52,7 +52,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="developers.html">npm developers</a></h1> <p>Developer Guide</p>
<h1><a href="developers.html">developers</a></h1> <p>Developer Guide</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -40,7 +40,7 @@ after packing it up into a tarball (b).</p>
<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>
<p>See <code><a href="json.html">npm json</a></code> for details about what goes in that file. At the very
<p>See <code><a href="json.html">json</a></code> for details about what goes in that file. At the very
least, you need:</p>
<ul><li><p>name:
@@ -57,7 +57,7 @@ Take some credit.</p></li><li><p>scripts:
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
least a basic smoke-test command as the "scripts.test" field.
See <a href="scripts.html">npm scripts</a>.</p></li><li><p>main:
See <a href="scripts.html">scripts</a>.</p></li><li><p>main:
If you have a single module that serves as the entry point to your
program (like what the "foo" package gives you at require("foo")),
then you need to specify that in the "main" field.</p></li><li><p>directories:
@@ -66,7 +66,7 @@ This is a hash of folders. The best ones to include are "lib" and
they'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
started with a pretty basic package.json file. See <code><a href="init.html">npm init</a></code> for
started with a pretty basic package.json file. See <code><a href="init.html">init</a></code> for
more info.</p>
<h2 id="Keeping-files-out-of-your-package">Keeping files *out* of your package</h2>
@@ -84,7 +84,7 @@ 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,
of course.)</p>
<p>More info at <code><a href="link.html">npm link</a></code>.</p>
<p>More info at <code><a href="link.html">link</a></code>.</p>
<h2 id="Before-Publishing-Make-Sure-Your-Package-Installs-and-Works">Before Publishing: Make Sure Your Package Installs and Works</h2>
@@ -124,7 +124,7 @@ bring in your module's main module.</p>
<p>and then follow the prompts.</p>
<p>This is documented better in <a href="adduser.html">npm adduser</a>.</p>
<p>This is documented better in <a href="adduser.html">adduser</a>.</p>
<h2 id="Publish-your-package">Publish your package</h2>
@@ -148,7 +148,7 @@ from a fresh checkout.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="faq.html">npm faq</a></li><li><a href="npm.html">npm</a></li><li><a href="init.html">npm init</a></li><li><a href="json.html">npm json</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="publish.html">npm publish</a></li><li><a href="adduser.html">npm adduser</a></li><li><a href="registry.html">npm registry</a></li></ul>
<ul><li><a href="faq.html">faq</a></li><li><a href="npm.html">npm</a></li><li><a href="init.html">init</a></li><li><a href="json.html">json</a></li><li><a href="scripts.html">scripts</a></li><li><a href="publish.html">publish</a></li><li><a href="adduser.html">adduser</a></li><li><a href="registry.html">registry</a></li></ul>
</div>
<p id="footer">developers &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -173,7 +173,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="docs.html">npm docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h1><a href="docs.html">docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -35,7 +35,7 @@ config param.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="view.html">npm view</a></li><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li><li><a href="json.html">npm json</a></li></ul>
<ul><li><a href="view.html">view</a></li><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li><li><a href="json.html">json</a></li></ul>
</div>
<p id="footer">docs &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -60,7 +60,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="edit.html">npm edit</a></h1> <p>Edit an installed package</p>
<h1><a href="edit.html">edit</a></h1> <p>Edit an installed package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -15,7 +15,7 @@
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Opens the package folder in the default editor (or whatever you've
configured as the npm <code>editor</code> config -- see <code><a href="config.html">npm config</a></code>.)</p>
configured as the npm <code>editor</code> config -- see <code><a href="config.html">config</a></code>.)</p>
<p>After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages.</p>
@@ -35,7 +35,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="folders.html">npm folders</a></li><li><a href="explore.html">npm explore</a></li><li><a href="install.html">npm install</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="folders.html">folders</a></li><li><a href="explore.html">explore</a></li><li><a href="install.html">install</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">edit &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -60,7 +60,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="explore.html">npm explore</a></h1> <p>Browse an installed package</p>
<h1><a href="explore.html">explore</a></h1> <p>Browse an installed package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -38,7 +38,7 @@ Windows</li><li>Type: path</li></ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="submodule.html">npm submodule</a></li><li><a href="folders.html">npm folders</a></li><li><a href="edit.html">npm edit</a></li><li><a href="rebuild.html">npm rebuild</a></li><li><a href="build.html">npm build</a></li><li><a href="install.html">npm install</a></li></ul>
<ul><li><a href="submodule.html">submodule</a></li><li><a href="folders.html">folders</a></li><li><a href="edit.html">edit</a></li><li><a href="rebuild.html">rebuild</a></li><li><a href="build.html">build</a></li><li><a href="install.html">install</a></li></ul>
</div>
<p id="footer">explore &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -63,7 +63,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,11 @@
<body>
<div id="wrapper">
<h1><a href="faq.html">npm faq</a></h1> <p>Frequently Asked Questions</p>
<h1><a href="faq.html">faq</a></h1> <p>Frequently Asked Questions</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p>Questions asked frequently.</p>
<h2 id="Where-can-I-find-these-docs-in-HTML">Where can I find these docs in HTML?</h2>
@@ -29,7 +33,7 @@ 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>
<p>See <code><a href="folders.html">npm folders</a></code></p>
<p>See <code><a href="folders.html">folders</a></code></p>
<p>tl;dr:</p>
@@ -61,7 +65,7 @@ npm config set global true</code></pre>
<p>This is not recommended.</p>
<p>Many things <strong>will not work</strong> if you do this. Make sure you read and
understand <code><a href="config.html">npm config</a></code> and <code><a href="global.html">npm global</a></code> before you complain
understand <code><a href="config.html">config</a></code> and <code><a href="global.html">global</a></code> before you complain
about things being broken.</p>
<p>When you realize what a mistake it was, do this to switch back:</p>
@@ -140,12 +144,12 @@ an argument to <code>git checkout</code>. The default is <code>master</code>.</
<h2 id="How-can-I-use-npm-for-development">How can I use npm for development?</h2>
<p>See <code><a href="developers.html">npm developers</a></code> and <code><a href="json.html">npm json</a></code>.</p>
<p>See <code><a href="developers.html">developers</a></code> and <code><a href="json.html">json</a></code>.</p>
<p>You'll most likely want to <code>npm link</code> your development folder. That's
awesomely handy.</p>
<p>To set up your own private registry, check out <code><a href="registry.html">npm registry</a></code>.</p>
<p>To set up your own private registry, check out <code><a href="registry.html">registry</a></code>.</p>
<h2 id="Can-I-list-a-url-as-a-dependency">Can I list a url as a dependency?</h2>
@@ -155,11 +159,11 @@ that has a package.json in its root, or a git url.
<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't have to keep re-installing?</h2>
<p>See <code><a href="link.html">npm link</a></code></p>
<p>See <code><a href="link.html">link</a></code></p>
<h2 id="The-package-registry-website-What-is-that-exactly">The package registry website. What is that exactly?</h2>
<p>See <code><a href="registry.html">npm registry</a></code>.</p>
<p>See <code><a href="registry.html">registry</a></code>.</p>
<h2 id="What-s-up-with-the-insecure-channel-warnings">What's up with the insecure channel warnings?</h2>
@@ -202,7 +206,7 @@ We'll have someone kick it or something.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="npm.html">npm</a></li><li><a href="developers.html">npm developers</a></li><li><a href="json.html">npm json</a></li><li><a href="config.html">npm config</a></li><li><a href="folders.html">npm folders</a></li></ul>
<ul><li><a href="npm.html">npm</a></li><li><a href="developers.html">developers</a></li><li><a href="json.html">json</a></li><li><a href="config.html">config</a></li><li><a href="folders.html">folders</a></li></ul>
</div>
<p id="footer">faq &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -227,7 +231,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="folders.html">npm folders</a></h1> <p>Folder Structures Used by npm</p>
<h1><a href="folders.html">folders</a></h1> <p>Folder Structures Used by npm</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -52,7 +52,7 @@ When installing locally, this means that you can
<h3 id="Cache">Cache</h3>
<p>See <code><a href="cache.html">npm cache</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<p>See <code><a href="cache.html">cache</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<code>~/npm-cache</code> on Windows.</p>
<p>This is controlled by the <code>cache</code> configuration param.</p>
@@ -185,11 +185,11 @@ not be included in the package tarball.</p>
<p>This allows a package maintainer to install all of their dependencies
(and dev dependencies) locally, but only re-publish those items that
cannot be found elsewhere. See <code><a href="json.html">npm json</a></code> for more information.</p>
cannot be found elsewhere. See <code><a href="json.html">json</a></code> for more information.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="faq.html">npm faq</a></li><li><a href="json.html">npm json</a></li><li><a href="install.html">npm install</a></li><li><a href="pack.html">npm pack</a></li><li><a href="cache.html">npm cache</a></li><li><a href="config.html">npm config</a></li><li><a href="publish.html">npm publish</a></li></ul>
<ul><li><a href="faq.html">faq</a></li><li><a href="json.html">json</a></li><li><a href="install.html">install</a></li><li><a href="pack.html">pack</a></li><li><a href="cache.html">cache</a></li><li><a href="config.html">config</a></li><li><a href="publish.html">publish</a></li></ul>
</div>
<p id="footer">folders &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -214,7 +214,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="config.html">npm config</a></h1> <p>Manage the npm configuration file</p>
<h1><a href="config.html">config</a></h1> <p>Manage the npm configuration file</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -100,7 +100,7 @@ npm ls --global --parseable --long --loglevel info</code></pre>
<h2 id="Per-Package-Config-Settings">Per-Package Config Settings</h2>
<p>When running scripts (see <code><a href="scripts.html">npm scripts</a></code>)
<p>When running scripts (see <code><a href="scripts.html">scripts</a></code>)
the package.json "config" keys are overwritten in the environment if
there is a config param of <code>&lt;name&gt;[@&lt;version&gt;]:&lt;key&gt;</code>. For example, if
the package.json has this:</p>
@@ -172,7 +172,7 @@ to trust only that specific signing authority.</p>
<ul><li>Default: Windows: <code>~/npm-cache</code>, Posix: <code>~/.npm</code></li><li>Type: path</li></ul>
<p>The location of npm's cache directory. See <code><a href="cache.html">npm cache</a></code></p>
<p>The location of npm's cache directory. See <code><a href="cache.html">cache</a></code></p>
<h3 id="color">color</h3>
@@ -224,7 +224,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<p>Operates in "global" mode, so that packages are installed into the
<code>prefix</code> folder instead of the current working directory. See
<code><a href="folders.html">npm folders</a></code> for more on the differences in behavior.</p>
<code><a href="folders.html">folders</a></code> for more on the differences in behavior.</p>
<ul><li>packages are installed into the <code>prefix/node_modules</code> folder, instead of the
current working directory.</li><li>bin files are linked to <code>prefix/bin</code></li><li>man pages are linked to <code>prefix/share/man</code></li></ul>
@@ -494,7 +494,7 @@ will fail.</p>
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
<p>Set to show short usage output (like the -H output)
instead of complete help when doing <code><a href="help.html">npm help</a></code>.</p>
instead of complete help when doing <code><a href="help.html">help</a></code>.</p>
<h3 id="user">user</h3>
@@ -551,7 +551,7 @@ then answer "no" to any prompt.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="folders.html">npm folders</a></li><li><a href="npm.html">npm</a></li></ul>
<ul><li><a href="folders.html">folders</a></li><li><a href="npm.html">npm</a></li></ul>
</div>
<p id="footer">get &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -576,7 +576,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="folders.html">npm folders</a></h1> <p>Folder Structures Used by npm</p>
<h1><a href="folders.html">folders</a></h1> <p>Folder Structures Used by npm</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -52,7 +52,7 @@ When installing locally, this means that you can
<h3 id="Cache">Cache</h3>
<p>See <code><a href="cache.html">npm cache</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<p>See <code><a href="cache.html">cache</a></code>. Cache files are stored in <code>~/.npm</code> on Posix, or
<code>~/npm-cache</code> on Windows.</p>
<p>This is controlled by the <code>cache</code> configuration param.</p>
@@ -185,11 +185,11 @@ not be included in the package tarball.</p>
<p>This allows a package maintainer to install all of their dependencies
(and dev dependencies) locally, but only re-publish those items that
cannot be found elsewhere. See <code><a href="json.html">npm json</a></code> for more information.</p>
cannot be found elsewhere. See <code><a href="json.html">json</a></code> for more information.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="faq.html">npm faq</a></li><li><a href="json.html">npm json</a></li><li><a href="install.html">npm install</a></li><li><a href="pack.html">npm pack</a></li><li><a href="cache.html">npm cache</a></li><li><a href="config.html">npm config</a></li><li><a href="publish.html">npm publish</a></li></ul>
<ul><li><a href="faq.html">faq</a></li><li><a href="json.html">json</a></li><li><a href="install.html">install</a></li><li><a href="pack.html">pack</a></li><li><a href="cache.html">cache</a></li><li><a href="config.html">config</a></li><li><a href="publish.html">publish</a></li></ul>
</div>
<p id="footer">global &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -214,7 +214,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="help-search.html">npm help-search</a></h1> <p>Search npm help documentation</p>
<h1><a href="help-search.html">help-search</a></h1> <p>Search npm help documentation</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -36,7 +36,7 @@ where the terms were found in the documentation.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">npm faq</a></li><li><a href="help.html">npm help</a></li></ul>
<ul><li><a href="npm.html">npm</a></li><li><a href="faq.html">faq</a></li><li><a href="help.html">help</a></li></ul>
</div>
<p id="footer">help-search &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -61,7 +61,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="help.html">npm help</a></h1> <p>Get help on npm</p>
<h1><a href="help.html">help</a></h1> <p>Get help on npm</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -34,7 +34,7 @@ matches are equivalent to specifying a topic name.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="npm.html">npm</a></li><li><a href="README.html">README</a></li><li><a href="faq.html">npm faq</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li><li><a href="json.html">npm json</a></li><li><a href="help-search.html">npm help-search</a></li></ul>
<ul><li><a href="npm.html">npm</a></li><li><a href="README.html">README</a></li><li><a href="faq.html">faq</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li><li><a href="json.html">json</a></li><li><a href="help-search.html">help-search</a></li></ul>
</div>
<p id="footer">help &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -59,7 +59,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="docs.html">npm docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h1><a href="docs.html">docs</a></h1> <p>Docs for a package in a web browser maybe</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -35,7 +35,7 @@ config param.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="view.html">npm view</a></li><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li><li><a href="json.html">npm json</a></li></ul>
<ul><li><a href="view.html">view</a></li><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li><li><a href="json.html">json</a></li></ul>
</div>
<p id="footer">home &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -60,7 +60,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="init.html">npm init</a></h1> <p>Interactively create a package.json file</p>
<h1><a href="init.html">init</a></h1> <p>Interactively create a package.json file</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -27,7 +27,7 @@ without a really good reason to do so.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="json.html">npm json</a></li><li><a href="version.html">npm version</a></li></ul>
<ul><li><a href="json.html">json</a></li><li><a href="version.html">version</a></li></ul>
</div>
<p id="footer">init &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -52,7 +52,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="install.html">npm install</a></h1> <p>install a package</p>
<h1><a href="install.html">install</a></h1> <p>install a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -44,14 +44,14 @@ must either be "." or contain a "/" in it.</p><p>Example:</p><pre><code>npm inst
Fetch the tarball url, and then install it. In order to distinguish between
this and other options, the argument must start with "http://" or "https://"</p><p>Example:</p><pre><code>npm install http://github.com/waveto/node-crypto/tarball/v0.0.5</code></pre></li><li><p>npm install <code>&lt;name&gt;</code>:
Do a <code>&lt;name&gt;@&lt;tag&gt;</code> install, where <code>&lt;tag&gt;</code> is the "tag" config. (See
<code><a href="config.html">npm config</a></code>)</p><p>Example:</p><pre><code>npm install sax</code></pre></li><li><p>npm install <code>&lt;name&gt;@&lt;tag&gt;</code>:
<code><a href="config.html">config</a></code>)</p><p>Example:</p><pre><code>npm install sax</code></pre></li><li><p>npm install <code>&lt;name&gt;@&lt;tag&gt;</code>:
Install the version of the package that is referenced by the specified tag.
If the tag does not exist in the registry data for that package, then this
will fail.</p><p>Example:</p><pre><code>npm install sax@stable</code></pre></li><li><p>npm install <code>&lt;name&gt;@&lt;version&gt;</code>:
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>npm install <code>&lt;name&gt;@&lt;version range&gt;</code>:
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="json.html">npm json</a></code>.</p><p>Note that most version ranges must be put in quotes so that your shell will
will follow the same rules for resolving dependencies described in <code><a href="json.html">json</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@"&gt;=0.1.0 &lt;0.2.0"</code></pre></li></ul>
<p>You may combine multiple arguments, and even multiple types of arguments.
@@ -67,17 +67,17 @@ local copy exists on disk.</p>
<pre><code>npm install sax --force</code></pre>
<p>The <code>--global</code> argument will cause npm to install the package globally
rather than locally. See <code><a href="global.html">npm global</a></code>.</p>
rather than locally. See <code><a href="global.html">global</a></code>.</p>
<p>The <code>--link</code> argument will cause npm to link global installs into the
local space in some cases.</p>
<p>See <code><a href="config.html">npm config</a></code>. Many of the configuration params have some
<p>See <code><a href="config.html">config</a></code>. Many of the configuration params have some
effect on installation, since that's most of what npm does.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="update.html">npm update</a></li><li><a href="link.html">npm link</a></li><li><a href="rebuild.html">npm rebuild</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="build.html">npm build</a></li><li><a href="config.html">npm config</a></li><li><a href="registry.html">npm registry</a></li><li><a href="folders.html">npm folders</a></li><li><a href="tag.html">npm tag</a></li><li><a href="rm.html">npm rm</a></li></ul>
<ul><li><a href="update.html">update</a></li><li><a href="link.html">link</a></li><li><a href="rebuild.html">rebuild</a></li><li><a href="scripts.html">scripts</a></li><li><a href="build.html">build</a></li><li><a href="config.html">config</a></li><li><a href="registry.html">registry</a></li><li><a href="folders.html">folders</a></li><li><a href="tag.html">tag</a></li><li><a href="rm.html">rm</a></li></ul>
</div>
<p id="footer">install &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -102,7 +102,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="json.html">npm json</a></h1> <p>Specifics of npm's package.json handling</p>
<h1><a href="json.html">json</a></h1> <p>Specifics of npm's package.json handling</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -14,7 +14,7 @@
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
settings described in <code><a href="config.html">npm config</a></code>.</p>
settings described in <code><a href="config.html">config</a></code>.</p>
<h2 id="DEFAULT-VALUES">DEFAULT VALUES</h2>
@@ -264,7 +264,7 @@ html project page that you put in your browser. It's for computers.</p>
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>
<p>See <code><a href="scripts.html">npm scripts</a></code> to find out more about writing package scripts.</p>
<p>See <code><a href="scripts.html">scripts</a></code> to find out more about writing package scripts.</p>
<h2 id="config">config</h2>
@@ -279,7 +279,7 @@ instance, if a package had the following:</p>
<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>
<p>See <code><a href="config.html">npm config</a></code> and <code><a href="scripts.html">npm scripts</a></code> for more on package
<p>See <code><a href="config.html">config</a></code> and <code><a href="scripts.html">scripts</a></code> for more on package
configs.</p>
<h2 id="dependencies">dependencies</h2>
@@ -354,7 +354,7 @@ the external test or documentation framework that you use.</p>
<p>These things will be installed whenever the <code>--dev</code> configuration flag
is set. This flag is set automatically when doing <code>npm link</code>, and can
be managed like any other npm configuration param. See <code><a href="config.html">npm config</a></code>
be managed like any other npm configuration param. See <code><a href="config.html">config</a></code>
for more on the topic.</p>
<h2 id="bundledDependencies">bundledDependencies</h2>
@@ -412,12 +412,12 @@ the global public registry by default.</p>
<p>Any config values can be overridden, but of course only "tag" and
"registry" probably matter for the purposes of publishing.</p>
<p>See <code><a href="config.html">npm config</a></code> to see the list of config options that can be
<p>See <code><a href="config.html">config</a></code> to see the list of config options that can be
overridden.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="semver.html">npm semver</a></li><li><a href="init.html">npm init</a></li><li><a href="version.html">npm version</a></li><li><a href="config.html">npm config</a></li><li><a href="help.html">npm help</a></li><li><a href="faq.html">npm faq</a></li><li><a href="install.html">npm install</a></li><li><a href="publish.html">npm publish</a></li><li><a href="rm.html">npm rm</a></li></ul>
<ul><li><a href="semver.html">semver</a></li><li><a href="init.html">init</a></li><li><a href="version.html">version</a></li><li><a href="config.html">config</a></li><li><a href="help.html">help</a></li><li><a href="faq.html">faq</a></li><li><a href="install.html">install</a></li><li><a href="publish.html">publish</a></li><li><a href="rm.html">rm</a></li></ul>
</div>
<p id="footer">json &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -442,7 +442,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="link.html">npm link</a></h1> <p>Symlink a package folder</p>
<h1><a href="link.html">link</a></h1> <p>Symlink a package folder</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -56,7 +56,7 @@ installation target into your project's <code>node_modules</code> folder.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="developers.html">npm developers</a></li><li><a href="faq.html">npm faq</a></li><li><a href="json.html">npm json</a></li><li><a href="install.html">npm install</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="developers.html">developers</a></li><li><a href="faq.html">faq</a></li><li><a href="json.html">json</a></li><li><a href="install.html">install</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">link &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -81,7 +81,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="ls.html">npm ls</a></h1> <p>List installed packages</p>
<h1><a href="ls.html">ls</a></h1> <p>List installed packages</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -50,7 +50,7 @@ project.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="config.html">npm config</a></li><li><a href="folders.html">npm folders</a></li><li><a href="install.html">npm install</a></li><li><a href="link.html">npm link</a></li><li><a href="prune.html">npm prune</a></li><li><a href="outdated.html">npm outdated</a></li><li><a href="update.html">npm update</a></li></ul>
<ul><li><a href="config.html">config</a></li><li><a href="folders.html">folders</a></li><li><a href="install.html">install</a></li><li><a href="link.html">link</a></li><li><a href="prune.html">prune</a></li><li><a href="outdated.html">outdated</a></li><li><a href="update.html">update</a></li></ul>
</div>
<p id="footer">list &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -75,7 +75,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="link.html">npm link</a></h1> <p>Symlink a package folder</p>
<h1><a href="link.html">link</a></h1> <p>Symlink a package folder</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -56,7 +56,7 @@ installation target into your project's <code>node_modules</code> folder.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="developers.html">npm developers</a></li><li><a href="faq.html">npm faq</a></li><li><a href="json.html">npm json</a></li><li><a href="install.html">npm install</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="developers.html">developers</a></li><li><a href="faq.html">faq</a></li><li><a href="json.html">json</a></li><li><a href="install.html">install</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">ln &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -81,7 +81,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="ls.html">npm ls</a></h1> <p>List installed packages</p>
<h1><a href="ls.html">ls</a></h1> <p>List installed packages</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -50,7 +50,7 @@ project.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="config.html">npm config</a></li><li><a href="folders.html">npm folders</a></li><li><a href="install.html">npm install</a></li><li><a href="link.html">npm link</a></li><li><a href="prune.html">npm prune</a></li><li><a href="outdated.html">npm outdated</a></li><li><a href="update.html">npm update</a></li></ul>
<ul><li><a href="config.html">config</a></li><li><a href="folders.html">folders</a></li><li><a href="install.html">install</a></li><li><a href="link.html">link</a></li><li><a href="prune.html">prune</a></li><li><a href="outdated.html">outdated</a></li><li><a href="update.html">update</a></li></ul>
</div>
<p id="footer">ls &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -75,7 +75,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -33,14 +33,14 @@ programs.</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 "blerg". Check out
<code><a href="install.html">npm install</a></code> for more info. It can do a lot of stuff.</p>
<code><a href="install.html">install</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's available.
Use <code>npm ls</code> to show everything you've installed.</p>
<h2 id="DIRECTORIES">DIRECTORIES</h2>
<p>See <code><a href="folders.html">npm folders</a></code> to learn about where npm puts stuff.</p>
<p>See <code><a href="folders.html">folders</a></code> to learn about where npm puts stuff.</p>
<p>In particular, npm has two modes of operation:</p>
@@ -58,7 +58,7 @@ operate in global mode instead.</p>
following help topics:</p>
<ul><li>json:
Make a package.json file. See <code><a href="json.html">npm json</a></code>.</li><li>link:
Make a package.json file. See <code><a href="json.html">json</a></code>.</li><li>link:
For linking your current working code into Node's path, so that you
don't have to reinstall every time you make a change. Use
<code>npm link</code> to do this.</li><li>install:
@@ -86,14 +86,14 @@ 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's default configuration options are defined in
lib/utils/config-defs.js. These must not be changed.</li></ul>
<p>See <code><a href="config.html">npm config</a></code> for much much more information.</p>
<p>See <code><a href="config.html">config</a></code> for much much more information.</p>
<h2 id="CONTRIBUTIONS">CONTRIBUTIONS</h2>
<p>Patches welcome!</p>
<ul><li>code:
Read through <code><a href="coding-style.html">npm coding-style</a></code> if you plan to submit code.
Read through <code><a href="coding-style.html">coding-style</a></code> if you plan to submit code.
You don'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
file in the "doc" folder. (Don't worry about generating the man page.)</li></ul>
@@ -122,7 +122,7 @@ will no doubt tell you to put the output in a gist or email.</p>
<h2 id="HISTORY">HISTORY</h2>
<p>See <a href="changelog.html">npm changelog</a></p>
<p>See <a href="changelog.html">changelog</a></p>
<h2 id="AUTHOR">AUTHOR</h2>
@@ -133,7 +133,7 @@ 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="help.html">npm help</a></li><li><a href="faq.html">npm faq</a></li><li><a href="README.html">README</a></li><li><a href="json.html">npm json</a></li><li><a href="install.html">npm install</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="help.html">help</a></li><li><a href="faq.html">faq</a></li><li><a href="README.html">README</a></li><li><a href="json.html">json</a></li><li><a href="install.html">install</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">npm &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -158,7 +158,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="outdated.html">npm outdated</a></h1> <p>Check for outdated packages</p>
<h1><a href="outdated.html">outdated</a></h1> <p>Check for outdated packages</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -19,7 +19,7 @@ packages are currently outdated.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="update.html">npm update</a></li><li><a href="registry.html">npm registry</a></li><li><a href="folders.html">npm folders</a></li></ul>
<ul><li><a href="update.html">update</a></li><li><a href="registry.html">registry</a></li><li><a href="folders.html">folders</a></li></ul>
</div>
<p id="footer">outdated &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -44,7 +44,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="owner.html">npm owner</a></h1> <p>Manage package owners</p>
<h1><a href="owner.html">owner</a></h1> <p>Manage package owners</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -16,6 +16,8 @@ npm owner rm &lt;user&gt; &lt;package name&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Manage ownership of published packages.</p>
<ul><li>ls:
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:
@@ -30,7 +32,7 @@ that is not implemented at this time.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li></ul>
<ul><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="adduser.html">adduser</a></li></ul>
</div>
<p id="footer">owner &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -55,7 +57,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="pack.html">npm pack</a></h1> <p>Create a tarball from a package</p>
<h1><a href="pack.html">pack</a></h1> <p>Create a tarball from a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -27,7 +27,7 @@ overwritten the second time.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="cache.html">npm cache</a></li><li><a href="publish.html">npm publish</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="cache.html">cache</a></li><li><a href="publish.html">publish</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">pack &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -52,7 +52,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="prefix.html">npm prefix</a></h1> <p>Display prefix</p>
<h1><a href="prefix.html">prefix</a></h1> <p>Display prefix</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="root.html">npm root</a></li><li><a href="bin.html">npm bin</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="root.html">root</a></li><li><a href="bin.html">bin</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">prefix &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="prune.html">npm prune</a></h1> <p>Remove extraneous packages</p>
<h1><a href="prune.html">prune</a></h1> <p>Remove extraneous packages</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -23,7 +23,7 @@ package's dependencies list.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="rm.html">npm rm</a></li><li><a href="folders.html">npm folders</a></li><li><a href="list.html">npm list</a></li></ul>
<ul><li><a href="rm.html">rm</a></li><li><a href="folders.html">folders</a></li><li><a href="list.html">list</a></li></ul>
</div>
<p id="footer">prune &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -48,7 +48,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="publish.html">npm publish</a></h1> <p>Publish a package</p>
<h1><a href="publish.html">publish</a></h1> <p>Publish a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -27,7 +27,7 @@ the registry. Overwrites when the "--force" flag is set.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li><li><a href="owner.html">npm owner</a></li><li><a href="deprecate.html">npm deprecate</a></li><li><a href="tag.html">npm tag</a></li></ul>
<ul><li><a href="registry.html">registry</a></li><li><a href="adduser.html">adduser</a></li><li><a href="owner.html">owner</a></li><li><a href="deprecate.html">deprecate</a></li><li><a href="tag.html">tag</a></li></ul>
</div>
<p id="footer">publish &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -52,7 +52,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="rebuild.html">npm rebuild</a></h1> <p>Rebuild a package</p>
<h1><a href="rebuild.html">rebuild</a></h1> <p>Rebuild a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -23,7 +23,7 @@ the new binary.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="build.html">npm build</a></li><li><a href="install.html">npm install</a></li></ul>
<ul><li><a href="build.html">build</a></li><li><a href="install.html">install</a></li></ul>
</div>
<p id="footer">rebuild &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -48,7 +48,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="registry.html">npm registry</a></h1> <p>The JavaScript Package Registry</p>
<h1><a href="registry.html">registry</a></h1> <p>The JavaScript Package Registry</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -26,7 +26,7 @@ are CouchDB users, stored in the <a href="http://isaacs.couchone.com/_users">htt
database.</p>
<p>The registry URL is supplied by the <code>registry</code> config parameter. See
<code><a href="config.html">npm config</a></code> for more on managing npm's configuration.</p>
<code><a href="config.html">config</a></code> for more on managing npm's configuration.</p>
<h2 id="Can-I-run-my-own-private-registry">Can I run my own private registry?</h2>
@@ -49,7 +49,7 @@ published at all, or
<code>"publishConfig":{"registry":"http://my-internal-registry.local"}</code>
to force it to be published only to your internal registry.</p>
<p>See <code><a href="json.html">npm json</a></code> for more info on what goes in the package.json file.</p>
<p>See <code><a href="json.html">json</a></code> for more info on what goes in the package.json file.</p>
<h2 id="Will-you-replicate-from-my-registry-into-the-public-one">Will you replicate from my registry into the public one?</h2>
@@ -95,7 +95,7 @@ ask for help on the <a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="config.html">npm config</a></li><li><a href="developers.html">npm developers</a></li></ul>
<ul><li><a href="config.html">config</a></li><li><a href="developers.html">developers</a></li></ul>
</div>
<p id="footer">registry &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -120,7 +120,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,9 +6,9 @@
<body>
<div id="wrapper">
<h1><a href="removal.html">npm removal</a></h1> <p>Cleaning the Slate</p>
<h1><a href="removal.html">removal</a></h1> <p>Cleaning the Slate</p>
<h2 id="SUMMARY">SUMMARY</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p>So sad to see you go.</p>
@@ -56,7 +56,7 @@ modules. To track those down, you can do the following:</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="README.html">README</a></li><li><a href="rm.html">npm rm</a></li><li><a href="prune.html">npm prune</a></li></ul>
<ul><li><a href="README.html">README</a></li><li><a href="rm.html">rm</a></li><li><a href="prune.html">prune</a></li></ul>
</div>
<p id="footer">removing-npm &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -81,7 +81,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="restart.html">npm restart</a></h1> <p>Start a package</p>
<h1><a href="restart.html">restart</a></h1> <p>Start a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -22,7 +22,7 @@ the "start" script.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="run-script.html">npm run-script</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="test.html">npm test</a></li><li><a href="start.html">npm start</a></li><li><a href="stop.html">npm stop</a></li></ul>
<ul><li><a href="run-script.html">run-script</a></li><li><a href="scripts.html">scripts</a></li><li><a href="test.html">test</a></li><li><a href="start.html">start</a></li><li><a href="stop.html">stop</a></li></ul>
</div>
<p id="footer">restart &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -47,7 +47,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="rm.html">npm rm</a></h1> <p>Remove a package</p>
<h1><a href="rm.html">rm</a></h1> <p>Remove a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -20,7 +20,7 @@ on its behalf.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="prune.html">npm prune</a></li><li><a href="install.html">npm install</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="prune.html">prune</a></li><li><a href="install.html">install</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">rm &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -45,7 +45,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="root.html">npm root</a></h1> <p>Display npm root</p>
<h1><a href="root.html">root</a></h1> <p>Display npm root</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="prefix.html">npm prefix</a></li><li><a href="bin.html">npm bin</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="prefix.html">prefix</a></li><li><a href="bin.html">bin</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">root &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="run-script.html">npm run-script</a></h1> <p>Run arbitrary package scripts</p>
<h1><a href="run-script.html">run-script</a></h1> <p>Run arbitrary package scripts</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -21,7 +21,7 @@ called directly, as well.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="scripts.html">npm scripts</a></li><li><a href="test.html">npm test</a></li><li><a href="start.html">npm start</a></li><li><a href="restart.html">npm restart</a></li><li><a href="stop.html">npm stop</a></li></ul>
<ul><li><a href="scripts.html">scripts</a></li><li><a href="test.html">test</a></li><li><a href="start.html">start</a></li><li><a href="restart.html">restart</a></li><li><a href="stop.html">stop</a></li></ul>
</div>
<p id="footer">run-script &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -46,7 +46,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="scripts.html">npm scripts</a></h1> <p>How npm handles the "scripts" field</p>
<h1><a href="scripts.html">scripts</a></h1> <p>How npm handles the "scripts" field</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
@@ -151,7 +151,7 @@ Except for uninstall scripts, this will cause the npm action
to fail, and potentially be rolled back. If the failure is minor or
only will prevent some optional features, then it's better to just
print a warning and exit successfully.</li><li>Try not to use scripts to do what npm can do for you. Read through
<code><a href="json.html">npm json</a></code> to see all the things that you can specify and enable
<code><a href="json.html">json</a></code> to see all the things that you can specify and enable
by simply describing your package appropriately. In general, this will
lead to a more robust and consistent state.</li><li>Inspect the env to determine where to put things. For instance, if
the <code>npm_config_binroot</code> environ is set to <code>/home/user/bin</code>, then don't
@@ -162,7 +162,7 @@ will sudo the npm command in question.</li></ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="run-script.html">npm run-script</a></li><li><a href="json.html">npm json</a></li><li><a href="developers.html">npm developers</a></li><li><a href="install.html">npm install</a></li></ul>
<ul><li><a href="run-script.html">run-script</a></li><li><a href="json.html">json</a></li><li><a href="developers.html">developers</a></li><li><a href="install.html">install</a></li></ul>
</div>
<p id="footer">scripts &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -187,7 +187,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="search.html">npm search</a></h1> <p>Search for packages</p>
<h1><a href="search.html">search</a></h1> <p>Search for packages</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -38,7 +38,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li><li><a href="view.html">npm view</a></li></ul>
<ul><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li><li><a href="view.html">view</a></li></ul>
</div>
<p id="footer">search &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -63,7 +63,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,9 +6,13 @@
<body>
<div id="wrapper">
<h1><a href="semver.html">npm semver</a></h1> <p>The semantic versioner for npm</p>
<h1><a href="semver.html">semver</a></h1> <p>The semantic versioner for npm</p>
<h2 id="Usage">Usage</h2>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p>The npm semantic versioning utility.</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>As a node module:</p>
@@ -98,7 +102,7 @@ that satisfies the range, or null if none of them do.</li></ul>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="json.html">npm json</a></li></ul>
<ul><li><a href="json.html">json</a></li></ul>
</div>
<p id="footer">semver &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -123,7 +127,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="config.html">npm config</a></h1> <p>Manage the npm configuration file</p>
<h1><a href="config.html">config</a></h1> <p>Manage the npm configuration file</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -100,7 +100,7 @@ npm ls --global --parseable --long --loglevel info</code></pre>
<h2 id="Per-Package-Config-Settings">Per-Package Config Settings</h2>
<p>When running scripts (see <code><a href="scripts.html">npm scripts</a></code>)
<p>When running scripts (see <code><a href="scripts.html">scripts</a></code>)
the package.json "config" keys are overwritten in the environment if
there is a config param of <code>&lt;name&gt;[@&lt;version&gt;]:&lt;key&gt;</code>. For example, if
the package.json has this:</p>
@@ -172,7 +172,7 @@ to trust only that specific signing authority.</p>
<ul><li>Default: Windows: <code>~/npm-cache</code>, Posix: <code>~/.npm</code></li><li>Type: path</li></ul>
<p>The location of npm's cache directory. See <code><a href="cache.html">npm cache</a></code></p>
<p>The location of npm's cache directory. See <code><a href="cache.html">cache</a></code></p>
<h3 id="color">color</h3>
@@ -224,7 +224,7 @@ or <code>"notepad"</code> on Windows.</li><li>Type: path</li></ul>
<p>Operates in "global" mode, so that packages are installed into the
<code>prefix</code> folder instead of the current working directory. See
<code><a href="folders.html">npm folders</a></code> for more on the differences in behavior.</p>
<code><a href="folders.html">folders</a></code> for more on the differences in behavior.</p>
<ul><li>packages are installed into the <code>prefix/node_modules</code> folder, instead of the
current working directory.</li><li>bin files are linked to <code>prefix/bin</code></li><li>man pages are linked to <code>prefix/share/man</code></li></ul>
@@ -494,7 +494,7 @@ will fail.</p>
<ul><li>Default: false</li><li>Type: Boolean</li></ul>
<p>Set to show short usage output (like the -H output)
instead of complete help when doing <code><a href="help.html">npm help</a></code>.</p>
instead of complete help when doing <code><a href="help.html">help</a></code>.</p>
<h3 id="user">user</h3>
@@ -551,7 +551,7 @@ then answer "no" to any prompt.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="folders.html">npm folders</a></li><li><a href="npm.html">npm</a></li></ul>
<ul><li><a href="folders.html">folders</a></li><li><a href="npm.html">npm</a></li></ul>
</div>
<p id="footer">set &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -576,7 +576,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="start.html">npm start</a></h1> <p>Start a package</p>
<h1><a href="start.html">start</a></h1> <p>Start a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="run-script.html">npm run-script</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="test.html">npm test</a></li><li><a href="restart.html">npm restart</a></li><li><a href="stop.html">npm stop</a></li></ul>
<ul><li><a href="run-script.html">run-script</a></li><li><a href="scripts.html">scripts</a></li><li><a href="test.html">test</a></li><li><a href="restart.html">restart</a></li><li><a href="stop.html">stop</a></li></ul>
</div>
<p id="footer">start &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="stop.html">npm stop</a></h1> <p>Stop a package</p>
<h1><a href="stop.html">stop</a></h1> <p>Stop a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="run-script.html">npm run-script</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="test.html">npm test</a></li><li><a href="start.html">npm start</a></li><li><a href="restart.html">npm restart</a></li></ul>
<ul><li><a href="run-script.html">run-script</a></li><li><a href="scripts.html">scripts</a></li><li><a href="test.html">test</a></li><li><a href="start.html">start</a></li><li><a href="restart.html">restart</a></li></ul>
</div>
<p id="footer">stop &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="submodule.html">npm submodule</a></h1> <p>Add a package as a git submodule</p>
<h1><a href="submodule.html">submodule</a></h1> <p>Add a package as a git submodule</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -31,7 +31,7 @@ dependencies into the submodule folder.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="json.html">npm json</a></li><li>git help submodule</li></ul>
<ul><li><a href="json.html">json</a></li><li>git help submodule</li></ul>
</div>
<p id="footer">submodule &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -56,7 +56,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="tag.html">npm tag</a></h1> <p>Tag a published version</p>
<h1><a href="tag.html">tag</a></h1> <p>Tag a published version</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -19,7 +19,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">tag &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -44,7 +44,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="test.html">npm test</a></h1> <p>Test a package</p>
<h1><a href="test.html">test</a></h1> <p>Test a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -21,7 +21,7 @@ true.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="run-script.html">npm run-script</a></li><li><a href="scripts.html">npm scripts</a></li><li><a href="start.html">npm start</a></li><li><a href="restart.html">npm restart</a></li><li><a href="stop.html">npm stop</a></li></ul>
<ul><li><a href="run-script.html">run-script</a></li><li><a href="scripts.html">scripts</a></li><li><a href="start.html">start</a></li><li><a href="restart.html">restart</a></li><li><a href="stop.html">stop</a></li></ul>
</div>
<p id="footer">test &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -46,7 +46,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="rm.html">npm rm</a></h1> <p>Remove a package</p>
<h1><a href="rm.html">rm</a></h1> <p>Remove a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -20,7 +20,7 @@ on its behalf.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="prune.html">npm prune</a></li><li><a href="install.html">npm install</a></li><li><a href="folders.html">npm folders</a></li><li><a href="config.html">npm config</a></li></ul>
<ul><li><a href="prune.html">prune</a></li><li><a href="install.html">install</a></li><li><a href="folders.html">folders</a></li><li><a href="config.html">config</a></li></ul>
</div>
<p id="footer">uninstall &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -45,7 +45,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="unpublish.html">npm unpublish</a></h1> <p>Remove a package from the registry</p>
<h1><a href="unpublish.html">unpublish</a></h1> <p>Remove a package from the registry</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -32,7 +32,7 @@ the root package entry is removed from the registry entirely.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="deprecate.html">npm deprecate</a></li><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li><li><a href="owner.html">npm owner</a></li></ul>
<ul><li><a href="deprecate.html">deprecate</a></li><li><a href="publish.html">publish</a></li><li><a href="registry.html">registry</a></li><li><a href="adduser.html">adduser</a></li><li><a href="owner.html">owner</a></li></ul>
</div>
<p id="footer">unpublish &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -57,7 +57,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="update.html">npm update</a></h1> <p>Update a package</p>
<h1><a href="update.html">update</a></h1> <p>Update a package</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -21,7 +21,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="install.html">npm install</a></li><li><a href="outdated.html">npm outdated</a></li><li><a href="registry.html">npm registry</a></li><li><a href="folders.html">npm folders</a></li><li><a href="list.html">npm list</a></li></ul>
<ul><li><a href="install.html">install</a></li><li><a href="outdated.html">outdated</a></li><li><a href="registry.html">registry</a></li><li><a href="folders.html">folders</a></li><li><a href="list.html">list</a></li></ul>
</div>
<p id="footer">update &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -46,7 +46,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="version.html">npm version</a></h1> <p>Bump a package version</p>
<h1><a href="version.html">version</a></h1> <p>Bump a package version</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -22,7 +22,7 @@ fail if the repo is not clean.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="init.html">npm init</a></li><li><a href="json.html">npm json</a></li><li><a href="semver.html">npm semver</a></li></ul>
<ul><li><a href="init.html">init</a></li><li><a href="json.html">json</a></li><li><a href="semver.html">semver</a></li></ul>
</div>
<p id="footer">version &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -47,7 +47,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="view.html">npm view</a></h1> <p>View registry info</p>
<h1><a href="view.html">view</a></h1> <p>View registry info</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -62,7 +62,7 @@ can do this:</p>
<p>"Person" 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
the shortened string format. (See <code><a href="json.html">npm json</a></code> for more on this.)</p>
the shortened string format. (See <code><a href="json.html">json</a></code> for more on this.)</p>
<pre><code>npm view npm contributors</code></pre>
@@ -86,7 +86,7 @@ the field name.</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="search.html">npm search</a></li><li><a href="registry.html">npm registry</a></li><li><a href="config.html">npm config</a></li><li><a href="docs.html">npm docs</a></li></ul>
<ul><li><a href="search.html">search</a></li><li><a href="registry.html">registry</a></li><li><a href="config.html">config</a></li><li><a href="docs.html">docs</a></li></ul>
</div>
<p id="footer">view &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -111,7 +111,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -6,7 +6,7 @@
<body>
<div id="wrapper">
<h1><a href="whoami.html">npm whoami</a></h1> <p>Display npm username</p>
<h1><a href="whoami.html">whoami</a></h1> <p>Display npm username</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
@@ -18,7 +18,7 @@
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="config.html">npm config</a></li><li><a href="adduser.html">npm adduser</a></li></ul>
<ul><li><a href="config.html">config</a></li><li><a href="adduser.html">adduser</a></li></ul>
</div>
<p id="footer">whoami &mdash; npm@1.0.28-pre-DEV-UNSTABLE</p>
<script>
@@ -43,7 +43,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"

View File

@@ -22,7 +22,9 @@ toc.innerHTML = els.map(function (el) {
out += "</ul>"
l --
}
out += "<li><a href='#" + el.id + "'>" + el.innerHTML + "</a>"
out += "<li><a href='#" + el.id + "'>" +
( el.innerText || el.text || el.innerHTML)
+ "</a>"
return out
}).join("\n")
toc.id = "toc"