2.2.2 • Published 5 years ago

@saransh184/snappy v2.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Snappy

Save and load object values / function scopes.

version License

Installation

$ npm i --save @saransh184/snappy

Example

>> let a={
    x:1,
    y:[1,2,3]
}

>> takeSnap('firstSnap', a);

>> a.y=[4,5];

>> console.log(a);
>> {
    x:1,
    y:[4,5]
}

>> restoreSnap('firstSnap', a);

>> console.log(a);
>> {
    x:1,
    y:[1,2,3]
}

Example

To see a small example of the library in work, see a live demo at - https://saranshgupta1995.github.io/PacMan/

Issues

To raise any issues, go through the github repo - https://github.com/saranshgupta1995/Snappy/issues

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago