Comparing version 2.1.0 to 2.2.0
const babar = require('babar'); | ||
function chart (data, url) { | ||
return babar(data.map((fps, i) => { | ||
const series = data.map((fps, i) => { | ||
return [i, fps]; | ||
}), { caption: `scrolling fps - ${url}`, height: 15 }); | ||
}); | ||
return babar(series, { caption: `scrolling fps - ${url}`, height: 9, minY: 0, maxY: 60 }); | ||
} | ||
@@ -8,0 +9,0 @@ |
{ | ||
"name": "timeliner", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Automated Browser Timeline Analyser", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"JSONStream": "^1.2.1", | ||
"babar": "0.0.3", | ||
"@cubelets/babar": "0.0.4", | ||
"bluebird": "^3.4.6", | ||
@@ -27,0 +27,0 @@ "chalk": "^1.1.3", |
@@ -7,2 +7,10 @@ # timeliner | ||
## Installation | ||
Install from npm. Use `-g` flag to install CLI. | ||
```shell | ||
npm install timeliner [-g] | ||
``` | ||
## Usage | ||
@@ -9,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
26281
472
166
+ Added@cubelets/babar@0.0.4
+ Added@cubelets/babar@0.0.4(transitive)
- Removedbabar@0.0.3
- Removedbabar@0.0.3(transitive)