Closed Hum4n01d closed 7 years ago
The size of package-size actually doesn't really matter since it's node lib, the main use case is to get size of browser libs.
:(
you can simply do du -sh node_modules
for node modules.
$ du -h -d 1 node_modules/package-size
12K node_modules/package-size/lib
42M node_modules/package-size/node_modules
42M node_modules/package-size
My previous comment does not reflect download size, as packages are gzipped in a tarball. I've created a tool to get download size of npm packages:
$ download-size package-size
7.71 MiB
@Hum4n01d @arve0 Package Phobia should solve your problem
This may sound silly, but I’m on cell data and I’d like to know the size of the
package-size
repository before I use it! :joy: (If I missed it somewhere in the repository, sorry about that)