https://github.com/fantasyui-com/enbuffer
Storage of object references pointing to uuid/version data objects, in-memory eventing database.
https://github.com/fantasyui-com/enbuffer
Last synced: over 1 year ago
JSON representation
Storage of object references pointing to uuid/version data objects, in-memory eventing database.
- Host: GitHub
- URL: https://github.com/fantasyui-com/enbuffer
- Owner: fantasyui-com
- License: gpl-3.0
- Created: 2018-06-24T13:17:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T16:16:09.000Z (over 4 years ago)
- Last Synced: 2025-02-11T23:56:48.245Z (over 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enbuffer
Storage of object references pointing to uuid/version data objects, in-memory eventing database.
```JavaScript
enbuffer.set('My Documents', {uuid: 'a.txt', version: 1});
enbuffer.set('My Documents', {uuid: 'a.txt', version: 2});
enbuffer.set('My Documents', {uuid: 'b.txt', version: 1});
enbuffer.set('windows', {uuid: 'win.exe', version: 1});
const actual = enbuffer.all('My Documents' )
const expected = [ { uuid: 'a.txt', version: 2 }, { uuid: 'b.txt', version: 1 } ];
```