wwws

JSON →
library 1.3.3 ·javascript
verified Jun 7, 2026

A cross-runtime WebSocket implementation (Node, Bun, Deno) with built-in SOCKS5/SOCKS5h proxy support. Version 1.3.3 is the latest stable release, published in 2023. It provides a drop-in replacement for the 'ws' library, adding a 'proxy' constructor parameter. Unlike similar proxy-focused WebSocket packages, wwws works natively across all three major JavaScript runtimes without platform-specific polyfills. It supports both ESM and CommonJS module formats and ships TypeScript type definitions. The library reimplements the full WebSocket class with event handling, message sending, and connection management, though it is not fully spec-compliant (e.g., missing some standard properties on event objects).