@catplusplus/rcon
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

rcon

Rcon client for node.js

import { RconClient } from '@catplusplus/rcon';

const client = new RconClient({
    host: 'localhost',
    port: 25575,
    password: 'password'
});

client.on('ready', async () => {
    const packet = await client.sendCommand('help');
    console.log(packet.body);
});

client.login();

Readme

Keywords

none

Package Sidebar

Install

npm i @catplusplus/rcon

Weekly Downloads

3

Version

1.0.0

License

none

Unpacked Size

13 kB

Total Files

12

Last publish

Collaborators

  • catplusplus