Skip to content

Real-time Communication Library for Deno (WebSockets & WebRTC)

Notifications You must be signed in to change notification settings

PatrickAllen1/sono.io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  import { Sono } from 'https://deno.land/x/sono@v1.0/mod.ts';

  const sono = new Sono();

client.ts:

  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:

  import { Sono } from 'https://deno.land/x/sono@v1.0/mod.ts';

Documentation

Find the documentation here.

Authors

About

Real-time Communication Library for Deno (WebSockets & WebRTC)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 56.5%
  • JavaScript 43.5%