Awesome
orbit-db-cache
Local cache for orbit-db
Isomorphic cache used by orbit-db
, implemented using level.js
(indexedDB) for the browser and leveldown
(leveldb) for node.
This project is used in: orbit-db.
Install
This project uses npm and nodejs
npm install --save orbit-db-cache
API
Public methods
get
Get an item from the cache store
set
Set a value for a given key on the cache store
del
Remove a given key-value from the cache store
Contributing
If you think this could be better, please open an issue!
Please note that all interactions in @orbitdb fall under our Code of Conduct.
License
MIT © 2017-2018 Protocol Labs Inc., Haja Networks Oy