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 / api / npm-outdated.html @ 5e865191

History | View | Annotate | Download (1.36 KB)

1
<!doctype html>
2
<html>
3
  <title>npm-outdated</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="../api/npm-outdated.html">npm-outdated</a></h1> <p>Check for outdated packages</p>
10

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

    
13
<pre><code>npm.commands.outdated([packages,] callback)</code></pre>
14

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

    
17
<p>This command will check the registry to see if the specified packages are
18
currently outdated.</p>
19

    
20
<p>If the &#39;packages&#39; parameter is left out, npm will check all packages.</p>
21
</div>
22
<p id="footer">npm-outdated &mdash; npm@1.3.4</p>
23
<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>