1.0.5 ā€¢ Published 2 years ago

weigh-packages v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

weigh-packages šŸ‹ļø

A lightweight CLI tool to see the size of your package dependencies

Built for Node.js

To install, run:

# npm
npm i -g weigh-packages

# or, if you prefer yarn
yarn global add weigh-packages

# remember to use sudo on Linux

Then run the script in any folder with a package.json!

cd my-project && weigh-packages

By default it sorts in the order of your package.json, which should be alphabetical. You can add --size or --files as a flag to sort by package size or file count, respectively:

weigh-packages --size

šŸ‘‡

nameversionsize (kB)size (%)filesdependencieslicense
node-fetch3.2.3105.81638173MIT
cli-spinner0.2.1085.1073170MIT
chalk5.0.141.33615120MIT
cli-table30.6.141.1171592MIT
total273.376100455

Enjoy!

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago