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 5.0.0

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

Changelog for 5.0.0

Breaking changes

  • Dropped support for Node.js < 4.5.0 (#1313).
  • The connection is no longer closed if the server does not agree to any of the client's requested subprotocols (#1312).
  • net.Socket errors are no longer re-emitted (a4050db).


  • Read backpressure is now properly handled when permessage-deflate is enabled (#1302).

Dependencies for 5.0.0

Name Requirement Status










Display all

My projects using ws

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