Skip to content

1.2.0

Compare
Choose a tag to compare
@developit developit released this 22 Aug 19:03
· 25 commits to master since this release

Adds support for pluggable output decoration via two new configuration options: options.decorateItem(Item) and options.decorateAfter(Data):

Item

  • name string Filename of the item
  • sizeBefore number Previous size, in kilobytes
  • size number Current size, in kilobytes
  • sizeText string Formatted current size
  • delta number Difference from previous size, in kilobytes
  • deltaText string Formatted size delta
  • msg string Full item's default message
  • color string The item's default CLI color

Data

  • sizes Array<Item> List of file size items
  • output string Current buffered output