@dashevo/dapi-db-cache
v0.2.6
Published
Local cache for dapi-db
Downloads
4
Keywords
Readme
orbit-db-cache
Isomorphic cache used by orbit-db
, implemented using level.js
(indexedDB) for the browser and leveldown
(leveldb) for node.
Used in
API
Public methods
open
Open cache store and make it available to be used (indexedDB or leveldb)
close
Close cache store and the underlying indexedDB / leveldb instance
destroy
Completely remove an existing store and deletes the locally persisted cache
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
See orbit-db's contributing guideline.
License
MIT © 2017-2018 Protocol Labs Inc., Haja Networks Oy, 2018 Dash Core Group, Inc.