Socket server and client in Node js
Package : https://www.npmjs.com/package/socket.io
Socket.IO and WebSockets Socket.IO allows to use additional features such as sending data to large number of sockets at the same time (broadcasting) or storing the data. The main idea behind Socket.IO is the ability to send and receive any events with any data. It can be any object as well as a binary data
Package : https://www.npmjs.com/package/socket.io-client
Socket.IO is a library that enables real-time, bidirectional and event-based communication between the browser and the server. ... a Javascript client library for the browser (which can be also run from Node.js): Source | API.