@uprtcl/socket-provider
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@uprtcl/socket-provider

This node package includes basic _Prtcl provider wrappers around socket.io.

Documentation

Visit our documentation site.

Install

npm install @uprtcl/socket-provider

Usage

Import the appropriate connection you would like to use, and make a new instance of it by passing its configuration:

import { SocketConnection } from '@uprtcl/socket-provider';

const socketConnection = new SocketConnection({
  // domain: domain,
});

await socket.ready();

Package Sidebar

Install

npm i @uprtcl/socket-provider

Homepage

uprtcl.io

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

8.32 kB

Total Files

9

Last publish

Collaborators

  • guillem.cordoba
  • pepoospina
  • sotous