1.0.10 • Published 8 years ago

dbar v1.0.10

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

npm.io

dbar

A progress bar inspired by playing too much Destiny.

npm version

NPM

You can see the demo and examples here at http://dbar.256.codes

Example Usage

  • Initiaate the progress bar
dbar.i()
  • Set the progress bar to 25%
dbar.perc(0.25)
  • Complete and remove the progress bar
dbar.d()

Installation

If you are using npm, you can

$ npm install dbar

Add/merge the following files to your project

Example (gulp)

gulp.task('vendor', function() {

  gulp.src(['node_modules/dbar/dist/dbar.js'])
  .pipe(concat('vendor.js')).pipe(gulp.dest('public/js/'));

  gulp.src(['node_modules/dbar/dbar.css'])
  .pipe(concat('vendor.css')).pipe(gulp.dest('public/css/'));

  gulp.src(['node_modules/dbar/dbar.html'])
  .pipe(concat('vendor.html')).pipe(gulp.dest('public/html/'));

});
1.0.10

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago