Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

(HyBi, Push, RFC-6455, WebSocket, WebSockets, real-time)

Critical or Security advisories for 3.1.0

This version doesn't have any advisory. Want to report one?

Changelog for 3.1.0


  • Added ability to specify the handshake request timeout (#1177).

Bug fixes

  • Fixed an issue where CloseEvent.wasClean was incorrectly set to false for close codes in the 3000-4999 range (#1146).

Dependencies for 3.1.0

Name Requirement Status









Npms nyc

Display all

My projects using ws

Name Locked version Requirement
You should be logged in to see which of your projects use ws.