The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / deps / npm / html / doc / start.html @ 5aef65a9

History | View | Annotate | Download (1.51 KB)

1
<!doctype html>
2
<html>
3
  <title>start</title>
4
  <meta http-equiv="content-type" value="text/html;utf-8">
5
  <link rel="stylesheet" type="text/css" href="../static/style.css">
6

    
7
  <body>
8
    <div id="wrapper">
9
<h1><a href="../doc/start.html">start</a></h1> <p>Start a package</p>
10

    
11
<h2 id="SYNOPSIS">SYNOPSIS</h2>
12

    
13
<pre><code>npm start &lt;name&gt;</code></pre>
14

    
15
<h2 id="DESCRIPTION">DESCRIPTION</h2>
16

    
17
<p>This runs a package&#39;s &quot;start&quot; script, if one was provided.</p>
18

    
19
<h2 id="SEE-ALSO">SEE ALSO</h2>
20

    
21
<ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/scripts.html">scripts(1)</a></li><li><a href="../doc/test.html">test(1)</a></li><li><a href="../doc/restart.html">restart(1)</a></li><li><a href="../doc/stop.html">stop(1)</a></li></ul>
22
</div>
23
<p id="footer">start &mdash; npm@1.2.10</p>
24
<script>
25
;(function () {
26
var wrapper = document.getElementById("wrapper")
27
var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
28
  .filter(function (el) {
29
    return el.parentNode === wrapper
30
        && el.tagName.match(/H[1-6]/)
31
        && el.id
32
  })
33
var l = 2
34
  , toc = document.createElement("ul")
35
toc.innerHTML = els.map(function (el) {
36
  var i = el.tagName.charAt(1)
37
    , out = ""
38
  while (i > l) {
39
    out += "<ul>"
40
    l ++
41
  }
42
  while (i < l) {
43
    out += "</ul>"
44
    l --
45
  }
46
  out += "<li><a href='#" + el.id + "'>" +
47
    ( el.innerText || el.text || el.innerHTML)
48
    + "</a>"
49
  return out
50
}).join("\n")
51
toc.id = "toc"
52
document.body.appendChild(toc)
53
})()
54
</script>
55
</body></html>