Log database for orbit-db
A log database with traversable history. Entries can be added and removed. Useful for "shopping cart" type of use cases, or for example as a feed of blog posts or "tweets".
Used in orbit-db.
Table of Contents
npm install orbit-db ipfs
First, create an instance of OrbitDB:
const IPFS =const OrbitDB =const ipfs =const orbitdb = await OrbitDB
Get a feed database and add an entry to it:
const feed = await orbitdbfeed
Later, when the database contains data, load the history and query when ready:
const feed = await orbitdbfeedevents
See orbit-db's API Documenations for full details.
If you think this could be better, please open an issue!
Note: Tests for this repo are in the
MIT © 2016-2020 Protocol Labs Inc., Haja Networks Oy