Files
pnpm/installing/linking/modules-cleaner
Zoltan Kochan 086c5e91e8 docs: fix package names in README files (#11409)
* docs: fix package names in README files

* docs: update links to point to npmx.dev
2026-04-30 18:59:49 +02:00
..
2026-04-30 17:16:34 +02:00
2026-04-30 17:16:34 +02:00

@pnpm/installing.linking.modules-cleaner

Exports util functions to clean up node_modules

Install

pnpm install @pnpm/installing.linking.modules-cleaner

API

prune(...args)

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

removeDirectDependency(...args)

Removes a direct dependency from node_modules.

License

MIT