node/deps/npm/man/man3/npm-prune.3

22 lines
486 B
Groff
Raw Normal View History

.TH "NPM\-PRUNE" "3" "February 2015" "" ""
.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
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
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\.