1.1.2 • Published 4 years ago

brutalsocket v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

brutalsocket

This is pretty much just a ripoff of diepsocket but for brutal.io

for it to work you need to cd to the folder you installed it to and run

npm i

the event listeners are open, message, close, and error

Usage of this library

const brutalSocket = require("brutalsocket");

const bot = new brutalSocket("ws://158.69.123.15:8103/");
bot.on('error') = err => {
  console.error(err);
};
bot.on('open') = () => {
  bot.spawn("sdf");
};
1.1.2

4 years ago

1.1.1

4 years ago

1.0.0

4 years ago