0.0.1-alpha • Published 1 year ago
define-orbit v0.0.1-alpha
define-orbit
Wrapper for integrating OrbitDB into Vue
This introduces factory functions to easily use the OrbitDB - serverless, distributed, peer-to-peer database in the Vue framework.
Install
npm i define-orbit
Usage
// store creation
import { defineLog } from 'define-orbit';
export const useMyEventLog = defineLog({name:'database-name'})
// use in "setup" functions
const myEventlog = useMyEventLog()