Fake-WebSocket

JSON →
library 1.0.9 ·javascript maintenance
verified Jun 7, 2026

Package for simulating a WebSocket server and client entirely in the browser, useful for end-to-end testing without a real server. Current stable version is 1.0.9, updated on 2020-04-16, with low release cadence. Key differentiators: replaces native WebSocket for local simulation, enables testing and reverse engineering scenarios like WeChat DevTools communication. No further versions published recently.