discovery-cloud
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Discovery Cloud Client

A simple discovery cloud client library that can be paired with the discovery-cloud-server to be used as a cloud based alternative to hyperswarm

Example

import { Repo } from 'hypermerge'
 
import Client from 'discovery-cloud'
 
const repo = new Repo({ memory: true })
 
const swarm = new Client({
  url: 'wss://fish-monger-9999.herokuapp.com',
})
 
repo.setSwarm(swarm)

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i discovery-cloud

Weekly Downloads

11

Version

1.0.8

License

MIT

Unpacked Size

23.1 kB

Total Files

22

Last publish

Collaborators

  • jeffpeterson