generic-progress

0.0.1 • Public • Published

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

/generic-progress/

    Package Sidebar

    Install

    npm i generic-progress

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • yields