cxviz-eventloop

1.0.1 • Public • Published

cxviz-waterfall

Event Loop diagrams for StrongTrace

Run Demo

install dependencies

npm install

build demo

npm run demo

run tests

npm test

run watch for rebuilds

npm run watch

Currrent Api

var Waterfall = require('cxviz-eventloop')
var el = document.querySelector('.waterfall')
var waterfall = Waterfall().init(el, {})

currently expects an array of objects with the following properties

{
  "fn": "A",
  "start": 0,
  "end": 100,
  "type": "work" /* either work or wait */
}

waterfall.update(data)

Dependencies (5)

Dev Dependencies (5)

Package Sidebar

Install

npm i cxviz-eventloop

Weekly Downloads

137

Version

1.0.1

License

StrongLoop

Last publish

Collaborators

  • dhmlau
  • 0candy