Socket
Socket
Sign inDemoInstall

@dashevo/dapi-db-cache

Package Overview
Dependencies
80
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dashevo/dapi-db-cache

Local cache for dapi-db


Version published
Weekly downloads
0
decreased by-100%
Maintainers
12
Created
Weekly downloads
 

Readme

Source

orbit-db-cache

Isomorphic cache used by orbit-db, implemented using level.js (indexedDB) for the browser and leveldown (leveldb) for node.

Used in

  • orbit-db

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.

FAQs

Last updated on 12 Nov 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc