1.0.0 • Published 4 years ago
lightning-port v1.0.0
Lightning-Port
Lightning-Fast Port That Handles Over 1000 Requests Per Second
Installation
$ npm i lightning-port
Usage
const WebSocket = require('../lightining-port');
const client = new WebSocket.client({
url: 'http://localhost:8000'
});
client.on('message', message => {
console.log(message)
});
client.emit('message', 'Lightning Is Activated');
beta
1.0.0
4 years ago