Files
pnpm/packages/modules-cleaner
Zoltan Kochan 56a9fb897e fix: external links shouldn't be added to shrinkwrap.yaml
Links of packages that are not in package.json are not added
to shrinkwrap.yaml.

PR #1495
2018-11-18 19:45:15 +02:00
..
2018-09-30 14:06:44 +03:00

@pnpm/modules-cleaner

Exports util functions to clean up node_modules

Install

pnpm install @pnpm/modules-cleaner

API

prune(...args)

Compares the wanted shrinkwrap with the current one and removes redundant packages from node_modules.

removeDirectDependency(...args)

Removes a direct dependency from node_modules.

License

MIT