]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/html/doc/cli/npm-ls.html
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / html / doc / cli / npm-ls.html
1 <!doctype html>
2 <html>
3   <title>npm-ls</title>
4   <meta charset="utf-8">
5   <link rel="stylesheet" type="text/css" href="../../static/style.css">
6   <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-ls.html">
7   <script async=true src="../../static/toc.js"></script>
8
9   <body>
10     <div id="wrapper">
11
12 <h1><a href="../cli/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p>
13 <h2 id="synopsis">SYNOPSIS</h2>
14 <pre><code>npm list [[@&lt;scope&gt;/]&lt;pkg&gt; ...]
15 npm ls [[@&lt;scope&gt;/]&lt;pkg&gt; ...]
16 npm la [[@&lt;scope&gt;/]&lt;pkg&gt; ...]
17 npm ll [[@&lt;scope&gt;/]&lt;pkg&gt; ...]
18 </code></pre><h2 id="description">DESCRIPTION</h2>
19 <p>This command will print to stdout all the versions of packages that are
20 installed, as well as their dependencies, in a tree-structure.</p>
21 <p>Positional arguments are <code>name@version-range</code> identifiers, which will
22 limit the results to only the paths to the packages named.  Note that
23 nested packages will <em>also</em> show the paths to the specified packages.
24 For example, running <code>npm ls promzard</code> in npm&#39;s source tree will show:</p>
25 <pre><code>npm@2.15.11 /path/to/npm
26 └─┬ init-package-json@0.0.4
27   └── promzard@0.1.5
28 </code></pre><p>It will print out extraneous, missing, and invalid packages.</p>
29 <p>If a project specifies git urls for dependencies these are shown
30 in parentheses after the name@version to make it easier for users to
31 recognize potential forks of a project.</p>
32 <p>When run as <code>ll</code> or <code>la</code>, it shows extended information by default.</p>
33 <h2 id="configuration">CONFIGURATION</h2>
34 <h3 id="json">json</h3>
35 <ul>
36 <li>Default: false</li>
37 <li>Type: Boolean</li>
38 </ul>
39 <p>Show information in JSON format.</p>
40 <h3 id="long">long</h3>
41 <ul>
42 <li>Default: false</li>
43 <li>Type: Boolean</li>
44 </ul>
45 <p>Show extended information.</p>
46 <h3 id="parseable">parseable</h3>
47 <ul>
48 <li>Default: false</li>
49 <li>Type: Boolean</li>
50 </ul>
51 <p>Show parseable output instead of tree view.</p>
52 <h3 id="global">global</h3>
53 <ul>
54 <li>Default: false</li>
55 <li>Type: Boolean</li>
56 </ul>
57 <p>List packages in the global install prefix instead of in the current
58 project.</p>
59 <h3 id="depth">depth</h3>
60 <ul>
61 <li>Type: Int</li>
62 </ul>
63 <p>Max display depth of the dependency tree.</p>
64 <h3 id="prod-production">prod / production</h3>
65 <ul>
66 <li>Type: Boolean</li>
67 <li>Default: false</li>
68 </ul>
69 <p>Display only the dependency tree for packages in <code>dependencies</code>.</p>
70 <h3 id="dev">dev</h3>
71 <ul>
72 <li>Type: Boolean</li>
73 <li>Default: false</li>
74 </ul>
75 <p>Display only the dependency tree for packages in <code>devDependencies</code>.</p>
76 <h2 id="see-also">SEE ALSO</h2>
77 <ul>
78 <li><a href="../cli/npm-config.html">npm-config(1)</a></li>
79 <li><a href="../misc/npm-config.html">npm-config(7)</a></li>
80 <li><a href="../files/npmrc.html">npmrc(5)</a></li>
81 <li><a href="../files/npm-folders.html">npm-folders(5)</a></li>
82 <li><a href="../cli/npm-install.html">npm-install(1)</a></li>
83 <li><a href="../cli/npm-link.html">npm-link(1)</a></li>
84 <li><a href="../cli/npm-prune.html">npm-prune(1)</a></li>
85 <li><a href="../cli/npm-outdated.html">npm-outdated(1)</a></li>
86 <li><a href="../cli/npm-update.html">npm-update(1)</a></li>
87 </ul>
88
89 </div>
90
91 <table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
92 <tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18>&nbsp;</td></tr>
93 <tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td><td style="width:40px;height:10px;background:#fff" colspan=4>&nbsp;</td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td><td colspan=6 style="width:60px;height:10px;background:#fff">&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4>&nbsp;</td></tr>
94 <tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2>&nbsp;</td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:#fff" rowspan=3>&nbsp;</td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3>&nbsp;</td></tr>
95 <tr><td style="width:10px;height:10px;background:#fff" rowspan=2>&nbsp;</td></tr>
96 <tr><td style="width:10px;height:10px;background:#fff">&nbsp;</td></tr>
97 <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
98 <tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
99 </table>
100 <p id="footer">npm-ls &mdash; npm@2.15.11</p>
101