Skip to content

Instantly share code, notes, and snippets.

View pitaj's full-sized avatar

Peter Jaszkowiak pitaj

View GitHub Profile
@nuxlli
nuxlli / multiples.js
Last active January 17, 2024 20:27
Multiple bars example with npm `progress`.
var ProgressBar = require('progress');
function Multibar(stream) {
this.stream = stream || process.stderr;
this.cursor = 0;
this.bars = [];
this.terminates = 0;
}
Multibar.prototype = {