FICHA · AUR

node-prune

Remove unnecessary files from node_modules

  • cleanup-tool
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 2, 2026 description in en

Description

Dependency folders for JavaScript projects can be trimmed by removing files that are usually unnecessary for packaged applications. It is useful for developers trying to reduce deployment size or clean build artifacts.

The tool deletes files from node_modules, so run it only in directories where pruning is expected. Keep lockfiles and rebuild paths available in case a removed file was needed by a package.

How to run

node-prune

Commands: node-prune

Permissions

Permissions not analysed for this source yet.