generic-progress

generic progress emitter

npm install generic-progress
1 downloads in the last week
4 downloads in the last month

progress

generic progress api

Installation

$ component install yields/progress

API

new Progress(total)

initialize new progress obj with total length/bytes etc..

.update(n)

update progress to n the method emits .progress with:

{ total: 1024, progress: 453, percent: 44 }

License

MIT

npm loves you