1.0.6 • Published 4 months ago

barage v1.0.6

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

🍷 Barage

Barage this is tcp server/client fremawork basic syntax and websocket (socket.io) supported package use network project and web project

☁ Install Package

  • Node Init
$ npm init
  • Download barage
$ npm i barage
  • Starter Code
//index.js
const barage = require('barage');

barage.on('data', (data) => {
  package.write(`${data}`); 
});

barage.start(3000, () => {
  barage.websocket(3000, 8080, "localhost", "*",() => {
    console.log("Ws started on port 8080");
  });
  console.log('Server started on port 3000');
});

🐞 Bug Report

Use the isues section to report bugs, you can support the development of the project by sending a report.

Developer ewriq 💙

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago