ntqdm
tqdm for node
wrap an iterable in tdqm, and it will update the progress bar as it iterates
install
npm install ntqdm
usage:
var tdqm = ; var t = 12345678910;forlet i of ;
for infinite iterables, you need to specify a total number of iteations to complete. If no total is specified, tdqm tries to find the total by iterating.
forlet i of ;
normally, tdqm updates the same line, and assumes nothing else is written to stdout, you can set logging to true to output on new lines
forlet i of ; console;
other switches:
desc - text to add above the progress bar
minIter - the minimum number of iterations to complete between updates
minInterval - the amount of time between iterations