All Projects → tuananh → node-prune

tuananh / node-prune

Licence: MIT license
Easily pruning unneeded files from node_modules folder

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to node-prune

shoulders
💛 Quickly view a list of your dependencies' open issues.
Stars: ✭ 62 (+34.78%)
Mutual labels:  node-modules
babel-loader-exclude-node-modules-except
Creating a regular expression for excluding node modules from transpiling except for individual modules
Stars: ✭ 17 (-63.04%)
Mutual labels:  node-modules
Patch Package
Fix broken node modules instantly 🏃🏽‍♀️💨
Stars: ✭ 6,062 (+13078.26%)
Mutual labels:  node-modules
flatn
flat node dependencies
Stars: ✭ 18 (-60.87%)
Mutual labels:  node-modules

node-prune

Easily pruning unneeded files from node_modules.

npm

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

Docker

cd to project root and issue the following command.

docker run --rm -v ${PWD}:/app hochzehn/node-prune

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].