Comparing version 0.0.2 to 0.0.3
@@ -8,5 +8,3 @@ const Promise = require('bluebird'); | ||
function analyser (opts) { | ||
opts.count = opts.count || 5; | ||
if (!opts.url) { | ||
@@ -13,0 +11,0 @@ return Promise.reject(new Error('`url` option must be provided')); |
@@ -10,4 +10,4 @@ const wd = require('wd'); | ||
return Promise.map(times(opts.count), page(opts), { concurrency: 1 }); | ||
}; | ||
} | ||
module.exports = runner; |
{ | ||
"name": "timeliner", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Network Timeline Analyser", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "semistandard ./lib" | ||
"test": "semistandard ./lib/*.js ./lib/reporters/*.js ./bin/timeliner" | ||
}, | ||
@@ -11,0 +11,0 @@ "repository": { |
@@ -43,2 +43,2 @@ # timeliner | ||
*CLI only* *Optional* - set the reporter to be used to output results - supported values: `basic`, `json` | ||
*CLI only* - *Optional* - set the reporter to be used to output results - supported values: `basic`, `json` |
Sorry, the diff of this file is not supported yet
8110
17