npm-prune(3)

npm-prune3

Remove extraneous packages

Usage

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

Overview

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.

From npm 1.4.21+ds-2 in Debian 8 (Jessie). Parsed by carta from the page's man source.