Commit Graph

8 Commits

Author SHA1 Message Date
Denis
7c4c718b5b Added complete boolean to progress definition (#10843)
The `complete` variable is described as (true|false) if the progress status is completed.

Quickstart instructions has `complete` in the example.

```javascript
var ProgressBar = require('progress');

var bar = new ProgressBar(':bar', { total: 10 });
var timer = setInterval(function () {
  bar.tick();
  if (bar.complete) {
    console.log('\ncomplete\n');
    clearInterval(timer);
  }
}, 100);
```
2016-09-06 23:53:38 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Peter Burns
d54b18e0ac ProgressBar should also be a module, for ES6 importing 2015-12-05 10:39:59 -08:00
Tanguy Krotoff
d8373f0a6f Rename from *-test.ts to *-tests.ts 2015-10-23 20:52:47 +02:00
Sebastian Lenz
5558a68cce Update test case 2015-09-08 12:20:06 +02:00
Sebastian Lenz
2c55e6f76c Rename "node-progress" to "progress" 2015-09-08 12:18:05 +02:00