sono.land
A real-time communication module for Deno
Explore the docs
Medium Article
ยท
Deno Module
ยท
Request Feature
Features
๐ค WebRTC for P2P connections๐ธ Video and๐ค Audio implementation๐จโ๐ฉโ๐งโ๐ฆ Exhibit Many to Many WebRTC connectivity utilizing the Mesh system๐ WebSocket for clients to server connections๐ฌ Chatroom demonstration to display WebSocket connections๐บ Multiple channels for different discussions๐ฃ Broadcast messages to everyone in the channel๐ซ Direct message to a single client๐ Grab a list of all clients in a specified channel๐ฅ and much more
Demo
Documentation
Find the full documentation of sono.land
Usage & Examples
server.ts:
import { Sono } from 'https://deno.land/x/[email protected]/mod.ts';
const sono = new Sono();
client.js:
import { SonoClient } from 'https://deno.land/x/[email protected]/src/sonoClient.js';
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/[email protected]/mod.ts';