deno.land / x / sono@v1.1

src/
import * as sono from "https://deno.land/x/sono@v1.1/mod.ts";

Classes

Sono

Class that handles WebSocket messages. Uses Client objects and an EventHandler object to send messages to Clients.

SonoClient
SonoRTC

# sono.io
A real-time communication module for Deno.## Features
- A WebSocket server module for the Deno runtime- A Websocket client module for to interface with the sono module- A WebRTC module for Deno

## Usage/Examples
server.ts:```typescript import { Sono } from 'https://deno.land/x/sono@v1.0/mod.ts';
const sono = new Sono();```
client.ts:```typescript import { SonoClient } from 'https://deno.land/x/sono@v1.0/mod.ts';
const sono = new SonoClient('ws://localhost:8080/ws');
sono.on('hello', (event) => { console.log(event, 'world') })```
## Installation
Import directly from deno.land / github.
deps.ts:```typescript import { Sono } from 'https://deno.land/x/sono@v1.0/mod.ts';```
## DocumentationFind the documentation [here.](http://sono.land)
## Authors
- [Chris Ejercito](https://github.com/chris-paul-ejercito)- [David Suh](https://github.com/DavidJinSuh90)- [Emily Liu](https://github.com/a-creation)- [John Lee](https://github.com/JohnL64)- [Vince Vu](https://github.com/vin-vu)
sono
GitHub Stars
116

Version Info

Tagged at
a year ago