A communication layer between node.js and BYOND game servers.
npm install --save http2byond
const http2byond = require("./index.js");
let connection = new http2byond({
timeout: 2000
});
var form = {
ip: "localhost",
port: "6666",
topic: "?status"
};
connection.run(form).then((body) => {
console.log(body);
}, (err) => {
console.error("ERR", err);
});