pushrax / node-rcon

A generic RCON protocol client for node.js
MIT License
134 stars 31 forks source link

ported to TypeScript! #26

Closed bmiddha closed 4 years ago

bmiddha commented 5 years ago

I wanted to use this package in a TypeScript project. Thought it would be useful if I pushed the port upstream

MrDrummer commented 4 years ago

@bmiddha For me, the example script is invalid due to conn.send(buffer) needing another parameter.

public send = (data: string, cmd: number, id?: number) => {