brutalsocket

1.1.2 • Public • Published

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");
};

Readme

Keywords

none

Package Sidebar

Install

npm i brutalsocket

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

7.59 kB

Total Files

5

Last publish

Collaborators

  • crabby