summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-prune.md
blob: 292bacc91da8a7017d9dd4a9a69749cf7953573a (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(7)
* npm-list(1)