You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
715 B

.TH "NPM\-PRUNE" "1" "October 2014" "" ""
.SH "NAME"
\fBnpm-prune\fR \- Remove extraneous packages
.SH SYNOPSIS
.P
.RS 2
.nf
npm prune [<name> [<name \.\.\.]]
11 years ago
npm prune [<name> [<name \.\.\.]] [\-\-production]
.fi
.RE
.SH DESCRIPTION
.P
This command removes "extraneous" packages\. If a package name is
provided, then only packages matching one of the supplied names are
removed\.
.P
Extraneous packages are packages that are not listed on the parent
package's dependencies list\.
11 years ago
.P
If the \fB\-\-production\fR flag is specified, this command will remove the
packages specified in your \fBdevDependencies\fR\|\.
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help rm
.IP \(bu 2
npm help 5 folders
.IP \(bu 2
npm help ls
.RE