orbitdb / orbit-db-cache

Local cache for orbit-db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

orbit-db-cache

Gitter Matrix npm version node

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

About

Local cache for orbit-db

License:MIT License


Languages

Language:JavaScript 87.4%Language:HTML 6.6%Language:Makefile 5.9%