Sitelet https://github.com/entropycode/storejs
Skip to content
entropycodePublic

About

storages

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This software has not been tested. Do not use in production.

```
const Store = require('./lib/index')
const store = new Store
let value = 'bar'
store.set('foo', value)
console.assert(value == store.get('foo'), 'value should be set')
store.commit()
console.assert(value == store.get('foo'), 'value should be committed')
store.revert()
console.assert(!store.get('foo'), 'value should be reverted')
```

About

storages

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages