BREAKING CHANGES:
- Rename property
tarballSize
totarSize
. - Rename property
unpackedSize
torawSize
. - Rename option
concurrency
toparallel
. - Convert the default export to named exports.
Other changes:
- Let single-letter command-line argument chained in a single argument.
- Compute size of the JavaScript bundle concatenated of the main module export and all its dependencies.
- Compute compressed size of the minified JavaScript bundle.
- Let the extent of the operation to be set to
none
orall
- a single parameter for the two options below. - Let the operation be limited to the specified packages only without traversing their dependencies.
- Let the operation print sizes for all package dependencies recursively.
- Let the result be formatted in a table.
- Let the table be sorted by a selected column.
- Optionally cache the once computed package information.
- Reduce the default parallelism to 10.
- Execute NPM as a child process. The programmatic interface changed between NPM 6 and 7.