Preparing for system design interviews?  Try bugzed.com →

WebSocket Server Mockup

JSON →
library 1.3.1 ·javascript
verified Jun 7, 2026

websocket-mockup is a lightweight mock WebSocket server and client implementation for testing, supporting both server-side and W3C WebSocket API shims. Version 1.3.1 is the latest stable release, with infrequent updates. It allows developers to simulate WebSocket connections without a real server, ideal for unit and integration tests. Key differentiators include simple API, event-driven request handling, and support for custom host routing. Unlike heavier solutions like mock-socket, this package focuses on mimicking the Node.js ws library server interface.

total hits 9
actors 3 distinct systems
last hit 17d ago AhrefsBot
GPTBot
3
Search engines
1
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇪🇸 Spain