node-prune

1.0.2 • Public • Published

node-prune

Easily pruning unneeded files from node_modules.

Original script written by gpittarelli and neophob.

Use cases:

  • Optmize for sizes for aws lambda functions
  • You haven't heard of yarn and yarn autoclean

Installation

npm install -g node-prune

Usage

cd to project root and issue the following command.

node-prune

Output

Before: 135M .
After: 112M .

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-prune

      Weekly Downloads

      11,123

      Version

      1.0.2

      License

      MIT

      Last publish

      Collaborators

      • tuananh