@silmar/ng-sockets
Socket.io Angular wrapper
Install
NPM
npm i @silmar/ng-sockets socket.io socket.io-client
Yarn
yarn add @silmar/ng-sockets socket.io socket.io-client
Polyfills
You should add the following into your polyfills.ts
file
(window as any).global = window;