@dashevo/dapi-db-cache

0.2.6 • Public • Published

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.

/@dashevo/dapi-db-cache/

    Package Sidebar

    Install

    npm i @dashevo/dapi-db-cache

    Weekly Downloads

    1

    Version

    0.2.6

    License

    MIT

    Unpacked Size

    6.79 kB

    Total Files

    8

    Last publish

    Collaborators

    • shumkov
    • alex-werner
    • nmarley
    • cofresi
    • antouhou
    • evodeploy
    • jawid-h