npm-packages-size
v1.1.0
Published
Quickly measure the install size of npm packages.
Downloads
2
Maintainers
Readme
npm-packages-size
A quick way to measure the install size of npm packages.
Result example
express 1.6 MB
graphql-react 444.7 KB
@apollo/client 3.8 MB
Setup
To install from npm run:
npm install npm-packages-size --save-dev
Add a package.json
script:
{
"scripts": {
"npm-packages-size": "npm-packages-size"
}
}
Then run the script to get the install size of the packages:
npm run npm-packages-size <packageName> <packageName>
Cli
- The
npx npm-packages-size
script is handy for finding the install size of packages.
npx npm-packages-size <packageName> <packageName>