gauge-progress
v2.1.19
Published
svg gauge progress
Downloads
67
Maintainers
Readme
gauge-progress
gauge progress
main.js:
var gauge = require('gauge-progress')()
gauge.start()
gauge.progress(10, 100) //10%
then compile with browserify:
browserify main.js > bundle.js
methods
var gauge = require('gauge-progress')
var g = gauge(opts={})
Create a new gauge progress instance g
from opts
:
check options in defaults.js
p.show()
show gauge
p.stop()
remove gauge
p.progress(value, total)
progress to update gauge
install
With npm do:
npm install gauge-progress
test
npm test
license
MIT