#35·signale

Progress indicator

Author: mulhoonCreated Jun 4, 2018Updated Nov 6, 2021
Labelsfeature request

Awesome project.

It would be nice to display a progress bar that is dynamically updated. Useful for downloading content. Similar to node-progress

Something like...

javascript
signale.progress('Downloading content', {current:0, total:100})

// and then call tick to increase the progress
signale.tick()

displays...

javascript
// progress      Downloading content [=====             ] 29% 39/bps 3.7s

I have tried using node progress along side signale, but it requires an interrupt() function to be called if you want to log other things during progress. This could be built in, so that if a progress is running, then the new signale.[command] appears above the bar.

I think it could be kept simple and doesn't need to be as advanced as node-progress.

What do you think? Nic