Skip to content

Releases: prantlf/package-cost

0.5.0

11 Oct 15:14
5350586

Choose a tag to compare

0.5.0 (2025-10-11)

Features

  • Upgrade dependencies (2050775)
  • Reduce concurrent network calls to 6 (ff9fb27)

0.4.0

19 Apr 16:06

Choose a tag to compare

0.4.0 (2025-04-19)

Features

Bug Fixes

  • Ignore an error if the cache directory does not exist (dca7c1d)

BREAKING CHANGES

The minimum supported version of Node.js is 14.14
from now on. Node.js 12 remains supported by the previous releases.

Release v0.3.0

18 Apr 22:35

Choose a tag to compare

BREAKING CHANGES:

  • Rename property tarballSize to tarSize.
  • Rename property unpackedSize to rawSize.
  • Rename option concurrency to parallel.
  • 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 or all - 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.

Release v0.2.0

12 Apr 01:04

Choose a tag to compare

Add typings.

Release v0.1.0

11 Apr 17:40

Choose a tag to compare

Expose the package size estimation method as an API.

Release v0.0.2

11 Apr 17:06

Choose a tag to compare

Add shebang to the binary script

Release v0.0.1

11 Apr 16:50

Choose a tag to compare

Initial release.