GitHub - giffeler/undoh: This Typescript module provides an undo class that can be used to implement a simple undo/redo mechanism.
Briefly

Many programs, especially those with user interaction, have functions to undo or redo processing steps.Implementation usually requires providing a mechanism that produces an opposite of a particular action.These functions have an impact on an underlying data structure.This Typescript module provides an undo class that can be used to implement a simple undo/redo mechanism in programs.
Read at GitHub
[
add
]
[
|
|
]