progressive

0.1.0 • Public • Published

progressive NPM version

Simple template based status bar for node.js

Install

Install with npm

npm i progressive --save

Run tests

npm test

Usage

var Progressive = require('progressive');

API

Progressive

Create a new instance of a progress bar with the given options.

  • options {Object}: Configuration options for the progress bar.
var bar = new Progressive();

.update

Update the progress bar passing in an increment and/or local data.

  • inc {Object}: Integer to increment the progress bar by.
  • locals {Object}: Additional data to pass to the progress bar template
bar.update(2, { foo: 'bar' });

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Brian Woodward

License

Copyright (c) 2014 Brian Woodward
Released under the MIT license


This file was generated by verb on December 19, 2014.

Readme

Keywords

none

Package Sidebar

Install

npm i progressive

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • doowb