brisky-recorder

2.0.2 • Public • Published

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

Package Sidebar

Install

npm i brisky-recorder

Weekly Downloads

25

Version

2.0.2

License

ISC

Last publish

Collaborators

  • vigour-io