easy-undo-redo

1.0.2 • Public • Published

What is Easy Undo Redo?

Get the most easiest undo redo feature for your npm project

Installation

npm install easyUndoRedo --save

Initial easyUndoRedo() with some options paramiter.
import {easyUndoRedo} from 'easy-undo-redo';

var UndoRedo = new easyUndoRedo({
   stackLength : 20,
   initialValue : "Your initial data"
});
UndoRedo.save("Your updated data");
UndoRedo.undo(); //returns undo result
UndoRedo.redo(); //returns redo result

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i easy-undo-redo

      Weekly Downloads

      4

      Version

      1.0.2

      License

      ISC

      Unpacked Size

      3.83 kB

      Total Files

      4

      Last publish

      Collaborators

      • jshossen