timestep
A datastore with undo/redo support
install
npm install timestep
Use browserify if you want to use this in the browser
use
var Timestep = ; var ts = initial: 'data' ; ts; // change a valuets; // add a valuets; // delete a valuets; // now the interesting stuff console // undefined ts; // rewind one step console // test
see test.js for more examples of use
license
MIT