welo v4.2.0
welo
peer-to-peer, collaborative states using Merkle-CRDTs
HLDB implementation in Typescript
Install
npm install welo
Usage
import { createHelia } from 'helia'
import { createWelo } from 'welo'
/** look at Helia for more configuration */
const ipfs = await createHelia()
/** see more config options in the API docs */
const welo = await createWelo({ ipfs })
/** create a manifest for a keyvalue database */
const manifest = await welo.determine({
name: 'this is the databases name',
type: 'keyvalue'
})
/** open the keyvalue database */
const keyvalue = await welo.open(manifest)
/** The keyvalue API docs are not uploaded yet */
const entryCID = await keyvalue.put('key', 'value')
const value = await keyvalue.get('key')
const entryCID = await keyvalue.del('key')
Check out the tests for more usage examples for now.
API
Check out the API Docs
Examples
License
This project is dual licensed under APACHE-2.0 and MIT.
Funding
Thanks to Protocol Labs for funding this project through this grant.
1 month ago
1 month ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
7 months ago
6 months ago
6 months ago
5 months ago
5 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago