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 / api / stop.html @ 5aef65a9

History | View | Annotate | Download (1.34 KB)

1 e85a95df isaacs
<!doctype html>
2
<html>
3
  <title>stop</title>
4
  <meta http-equiv="content-type" value="text/html;utf-8">
5 f5c07b65 isaacs
  <link rel="stylesheet" type="text/css" href="../static/style.css">
6 e85a95df isaacs
7
  <body>
8
    <div id="wrapper">
9
<h1><a href="../api/stop.html">stop</a></h1> <p>Stop a package</p>
10
11
<h2 id="SYNOPSIS">SYNOPSIS</h2>
12
13
<pre><code>npm.commands.stop(packages, callback)</code></pre>
14
15
<h2 id="DESCRIPTION">DESCRIPTION</h2>
16
17 caf69aa9 isaacs
<p>This runs a package&#39;s &quot;stop&quot; script, if one was provided.</p>
18 e85a95df isaacs
19
<p>npm can run stop on multiple packages. Just specify multiple packages
20
in the <code>packages</code> parameter.</p>
21
</div>
22 5aef65a9 isaacs
<p id="footer">stop &mdash; npm@1.2.10</p>
23 e85a95df isaacs
<script>
24
;(function () {
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]/)
30
        && el.id
31
  })
32
var l = 2
33
  , toc = document.createElement("ul")
34
toc.innerHTML = els.map(function (el) {
35
  var i = el.tagName.charAt(1)
36
    , out = ""
37
  while (i > l) {
38
    out += "<ul>"
39
    l ++
40
  }
41
  while (i < l) {
42
    out += "</ul>"
43
    l --
44
  }
45
  out += "<li><a href='#" + el.id + "'>" +
46
    ( el.innerText || el.text || el.innerHTML)
47
    + "</a>"
48
  return out
49
}).join("\n")
50
toc.id = "toc"
51
document.body.appendChild(toc)
52
})()
53
</script>
54
</body></html>