2.0.2 • Published 7 years ago

brisky-recorder v2.0.2

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

brisky-recorder

Build Status js-standard-style npm version Coverage Status

Record and play back vigour-state events

const createState = require('vigour-state/s')
const recorder = require('brisky-recorder')
var state = createState({
  your: 'data'
})
recorder.rec(state) // starts recording
// manipulate the state
recorder.export() // Opens a new browser window with the recording shown as JSON
recorder.load() // Opens a new browser window in which you can paste a recording as JSON which will be loaded and can then be played back
recorder.play() // Replays the recorded events