summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-prune.md
blob: 0410214d8de9cd1e20b3800622a18c3443a7acc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
npm-prune(1) -- Remove extraneous packages
==========================================

## SYNOPSIS

    npm prune [<name> [<name ...]]

## DESCRIPTION

This command removes "extraneous" packages.  If a package name is
provided, then only packages matching one of the supplied names are
removed.

Extraneous packages are packages that are not listed on the parent
package's dependencies list.

## SEE ALSO

* npm-rm(1)
* npm-folders(5)
* npm-ls(1)