0.0.1-alpha • Published 1 year ago

define-orbit v0.0.1-alpha

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

define-orbit

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

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()