3 <title>npm-start</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="../api/npm-start.html">npm-start</a></h1> <p>Start a package</p>
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
13 <pre><code>npm.commands.start(packages, callback)</code></pre>
15 <h2 id="DESCRIPTION">DESCRIPTION</h2>
17 <p>This runs a package's "start" script, if one was provided.</p>
19 <p>npm can run tests on multiple packages. Just specify multiple packages
20 in the <code>packages</code> parameter.</p>
22 <p id="footer">npm-start — npm@1.3.17</p>
25 var wrapper = document.getElementById("wrapper")
26 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
27 .filter(function (el) {
28 return el.parentNode === wrapper
29 && el.tagName.match(/H[1-6]/)
33 , toc = document.createElement("ul")
34 toc.innerHTML = els.map(function (el) {
35 var i = el.tagName.charAt(1)
45 out += "<li><a href='#" + el.id + "'>" +
46 ( el.innerText || el.text || el.innerHTML)
51 document.body.appendChild(toc)