brisky-recorder
v2.0.2
Published
Record and play back vigour-state events
Downloads
21
Maintainers
Readme
brisky-recorder
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