websocket : Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.. You can installing websocket npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install websocket $ sudo npm install -g websocket
If want to update the websocket package execute the command as below,
$ sudo npm update websocket
Update package globally,
$ npm install -g websocket
$ sudo git clone https://github.com/rektide/websocket.git
$ sudo npm install -g ./websocket
websocket@1.0.25 /usr/lib/node_modules/websocket
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall websocket
| Package Name | websocket |
| Version | 1.0.25 |
| Description | Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455. |
| Released Date | 2017-10-19T00:23:33.360Z |
| Published by | theturtle32 |
| How to Learn | https://www.npmjs.com/package/websocket/tutorial |