mirror of https://github.com/nodejs/node.git
11 lines
543 B
HTML
11 lines
543 B
HTML
<h1><a href="../api/npm-prune.html">npm-prune</a></h1> <p>Remove extraneous packages</p>
|
|
<h2 id="synopsis">SYNOPSIS</h2>
|
|
<pre><code>npm.commands.prune([packages,] callback)
|
|
</code></pre><h2 id="description">DESCRIPTION</h2>
|
|
<p>This command removes "extraneous" packages.</p>
|
|
<p>The first parameter is optional, and it specifies packages to be removed.</p>
|
|
<p>No packages are specified, then all packages will be checked.</p>
|
|
<p>Extraneous packages are packages that are not listed on the parent
|
|
package's dependencies list.</p>
|
|
|