xpeer-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

xpeer-client

A Javascript client implementing the xpeer spec

XPeer is currently in beta and under heavy development. Make sure, that your client version is compatible with your server version.

Installation

npm i xpeer-client or yarn add xpeer-client

Usage

Create a connection to a Relay Server:

const client = XPeer.createConnection('wss://my-server.com/xpeer')

Documentation

Docs are currently in progress..., please refer to the xpeer.ts file for now.

Servers

Currently only a server implementation in Golang is available. You can find it here.

Readme

Keywords

Package Sidebar

Install

npm i xpeer-client

Weekly Downloads

8

Version

1.0.4

License

MIT

Unpacked Size

66.1 kB

Total Files

44

Last publish

Collaborators

  • fabiankachlock