New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

redoundo

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redoundo

Simple undo/redo functionality for Java(Type)Script

latest
Source
npmnpm
Version
0.1.15
Version published
Maintainers
1
Created
Source

undoredo

Simple undo/redo functionality for Java(Type)Script

See online demo

jest example

    let hist = new Hist(1);
    let count = 0;
    hist.add({Redo: ()=>{count++}, Undo: ()=>{count--}})
    expect(count).toBe(1);
    expect(hist.UndoLength).toBe(1);
    hist.undo();
    expect(count).toBe(0);
    expect(hist.RedoLength).toBe(1);
    hist.redo();
    expect(count).toBe(1);

Keywords

undo

FAQs

Package last updated on 29 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts