3 <title>npm-rebuild</title>
4 <meta http-equiv="content-type" value="text/html;utf-8">
5 <link rel="stylesheet" type="text/css" href="../../static/style.css">
9 <h1><a href="../cli/npm-rebuild.html">npm-rebuild</a></h1> <p>Rebuild a package</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm rebuild [<name> [<name> ...]]
14 npm rb [<name> [<name> ...]]</code></pre>
16 <ul><li><code><name></code>:
17 The package to rebuild</li></ul>
19 <h2 id="DESCRIPTION">DESCRIPTION</h2>
21 <p>This command runs the <code>npm build</code> command on the matched folders. This is useful
22 when you install a new version of node, and must recompile all your C++ addons with
25 <h2 id="SEE-ALSO">SEE ALSO</h2>
27 <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>
29 <p id="footer">npm-rebuild — npm@1.3.21</p>
32 var wrapper = document.getElementById("wrapper")
33 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
34 .filter(function (el) {
35 return el.parentNode === wrapper
36 && el.tagName.match(/H[1-6]/)
40 , toc = document.createElement("ul")
41 toc.innerHTML = els.map(function (el) {
42 var i = el.tagName.charAt(1)
52 out += "<li><a href='#" + el.id + "'>" +
53 ( el.innerText || el.text || el.innerHTML)
58 document.body.appendChild(toc)