Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.06 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.06 KB

mumble-client

A simple mumble client for managing mumble servers

Latest release Test status MIT license

Installation

$ npm i @tf2pickup-org/mumble-client

Usage

Connect to a mumble server

import { Client } from '@tf2pickup-org/mumble-client';

const client = new Client({
  host: 'mumble://example.com',
  port: 64738,
  username: 'me',
});
await client.connect();

console.log(client.welcomeText);

if (client.user) {
  console.log(`logged in as ${client.user.name}`);
}