easily pruning unneeded files from node_modules
npm install node-prune> Easily pruning unneeded files from node_modules.
Original script written by gpittarelli and neophob.
- Optmize for sizes for aws lambda functions
- You haven't heard of yarn and yarn autoclean
```
npm install -g node-prune
cd to project root and issue the following command.
` sh`
node-prune
Output
```
Before: 135M .
After: 112M .
MIT