2015-02-06 17:14:25 +08:00
|
|
|
.TH "NPM\-PRUNE" "3" "February 2015" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.SH "NAME"
|
2014-09-25 05:41:07 +08:00
|
|
|
\fBnpm-prune\fR \- Remove extraneous packages
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-05 07:08:12 +08:00
|
|
|
.nf
|
2011-11-27 01:21:03 +08:00
|
|
|
npm\.commands\.prune([packages,] callback)
|
2014-11-05 07:08:12 +08:00
|
|
|
.fi
|
2014-09-25 05:41:07 +08:00
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2011-11-27 01:21:03 +08:00
|
|
|
This command removes "extraneous" packages\.
|
|
|
|
.P
|
|
|
|
The first parameter is optional, and it specifies packages to be removed\.
|
|
|
|
.P
|
|
|
|
No packages are specified, then all packages will be checked\.
|
|
|
|
.P
|
|
|
|
Extraneous packages are packages that are not listed on the parent
|
2014-09-25 05:41:07 +08:00
|
|
|
package's dependencies list\.
|
|
|
|
|