Welcome to mirror list, hosted at ThFree Co, Russian Federation.

npm-prune.md « api « doc - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a4f177485deb9055a9a2c58e2f544a48fd1d3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
npm-prune(3) -- Remove extraneous packages
==========================================

## SYNOPSIS

    npm.commands.prune([packages,] callback)

## DESCRIPTION

This command removes "extraneous" packages.

The first parameter is optional, and it specifies packages to be removed.

No packages are specified, then all packages will be checked.

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