4.2.0 • Published 1 year ago

welo v4.2.0

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

welo

peer-to-peer, collaborative states using merkle-crdts.

Beta Release Tacker: https://github.com/opalsnt/welo/issues/8

DALL·E 2022-09-27 21 45 51 - cabochon gemstone opal  translucent vibrant multi-color  AAA+ grade  100 carats  macro photography  kaleidoscope inside the opal

Install

npm install welo

Usage

import IPFS from 'ipfs'
import { Welo } from 'welo'

/** look at js-ipfs for configurations */
const ipfs = await IPFS.create() // 

/** see more config options in the API docs */
const welo = await Welo.create({
  ipfs,
  libp2p: ipfs.libp2p // ipfs.libp2p will throw a typescript error; it's a hack for now
})

/** 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

License

This project is dual licensed under MIT and APACHE 2.0.

Funding

Thanks to Protocol Labs for Funding this project through a grant.

4.2.0-0523dfa

1 year ago

4.2.0

1 year ago

4.1.1-009ed70

1 year ago

4.1.1

1 year ago

4.1.0-47c08dd

1 year ago

4.0.0-ea2e473

1 year ago

4.1.0

1 year ago

3.0.1-2dcd474

1 year ago

4.0.0

1 year ago

3.0.1-e8576dc

1 year ago

3.0.0-23f48f5

2 years ago

3.0.1

2 years ago

3.0.1-a2e1feb

2 years ago

3.0.1-7dfa4dd

2 years ago

3.0.1-ab04f97

2 years ago

2.2.1-85b981b

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

1.1.0-704bcf0

2 years ago

2.2.0-1fa2b0a

2 years ago

2.0.0

2 years ago

2.3.0-8e7c246

2 years ago

1.1.0-ee52c33

2 years ago

1.1.0-8661495

2 years ago

3.0.0

2 years ago

2.0.0-0a6a1ea

2 years ago

2.1.0-f4e2105

2 years ago

2.2.3-4e5f918

2 years ago

2.2.3-1ddd31c

2 years ago

2.1.1-14289f8

2 years ago

1.1.0-e7b4a31

2 years ago

1.1.0-ea0cb27

2 years ago

2.3.0-40d4fdc

2 years ago

2.3.0

2 years ago

2.1.1

2 years ago

2.2.3-a20c2ed

2 years ago

2.3.0-5e2cfd3

2 years ago

2.1.0

2 years ago

2.2.2-2a961df

2 years ago

2.1.0-c41e0af

2 years ago

2.0.0-74fda17

2 years ago

2.3.0-3f6e318

2 years ago

2.3.0-ec67ea4

2 years ago

1.1.0-558ff68

2 years ago

1.1.0-d94dafb

2 years ago

1.1.0

2 years ago

1.0.2-8772fe2

2 years ago

1.0.2-839001

2 years ago

1.0.2-d4a919e

2 years ago

1.0.2-a31c1fe

2 years ago

1.1.0-608c01d

2 years ago

1.0.2-c3ef224

2 years ago

1.1.0-395fbe7

2 years ago

1.1.0-dddf8dc

2 years ago

1.0.2-63e1935

2 years ago

1.0.2-0925bcc

2 years ago

1.0.2-50b438b

2 years ago

1.1.0-f26790d

2 years ago

1.0.2-9c5d55d

2 years ago

1.0.2-03d419f

2 years ago

1.0.2-e97eead

2 years ago

1.1.0-0b78511

2 years ago

1.0.2-fc6380e

2 years ago

1.1.0-cd403db

2 years ago

1.1.0-f15812a

2 years ago

1.0.2-51a38b6

2 years ago

1.0.2-a6945ab

2 years ago

1.0.2-a29baab

2 years ago

1.0.2-7d23f6d

2 years ago

1.1.0-8b3d68f

2 years ago

1.0.2-4b1f16c

2 years ago

1.0.2-e0be0c1

2 years ago

1.0.2-778ec0a

2 years ago

1.0.2-3f60808

2 years ago

1.0.2

2 years ago

1.0.2-ba67e03

2 years ago

1.0.1-98a03f8

2 years ago

1.0.1-61659d8

2 years ago

1.0.1-54029fb

2 years ago

1.0.1-eed1889

2 years ago

1.0.1-fe789d5

2 years ago

1.0.1-5a11f53

2 years ago

1.0.1

2 years ago

0.0.1

2 years ago