The ${completed}/${total} should have a way to be formatted as MiB, GiB, etc. Ideally the API would be very simple and opinionated (so no custom formatting)... maybe something like:
const pb = $.progress(`Downloading ${url}`)
.kind("bytes") // this
.length(byteCount);
The
${completed}/${total}
should have a way to be formatted asMiB
,GiB
, etc. Ideally the API would be very simple and opinionated (so no custom formatting)... maybe something like: