canvas-progress-bar

A progress bar generated with canvas.

npm install canvas-progress-bar
4 downloads in the last month

canvas-progress-bar

a progress-bar created with canvas.

code taken from this tutorial

var bar = requrie('canvas-progress-bar')

bar.progess(0.8) //80%

//bar is a canvas element that you can add to the DOM.
document.body.appendChild(progess)

or, if running in nodejs

bar.pngStream().pipe(fs.createWriteStream('progress.png'))

the progress bar looks like this:

50%

License

MIT

npm loves you