@acupofjose/noodle
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

NoodleJS - A Mumble Client

NoodleJS is a node.js module that allows you to interact with Mumble servers very easily. This is a complete rewrite from the previous version of NoodleJS.

Installation

Node.js >= 10.0.0 is required.

Audio

You can send audio in two ways.

const NoodleJS = require('noodle.js');
const client = new NoodleJS();

client.on('ready', () => {
    client.voiceConnection.playFile('pathtofile');
    // or
    client.voiceConnection.playStream(somestream);
});

client.connect();

Example usage

const NoodleJS = require('noodle.js');
const client = new NoodleJS({
    url: 'myawesomemumbleserver'
});

client.on('ready', info => {
    console.log(info.welcomeMessage);
});

client.on('message', message => {
    if (message.content === 'ping') {
        message.reply('pong');
    }
});

client.connect();

/@acupofjose/noodle/

    Package Sidebar

    Install

    npm i @acupofjose/noodle

    Weekly Downloads

    4

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    161 kB

    Total Files

    70

    Last publish

    Collaborators

    • acupofjose