base-websocket

JSON →
library 1.0.12 ·javascript
verified Jun 7, 2026

A lightweight, TypeScript-ready WebSocket module providing essential lifecycle event handlers (onOpen, onResponse, onError, onClose) and core functions (initWebSocket, send, closeWS). Version 1.0.12 offers minimal abstraction over the native WebSocket API, with no external dependencies. Suitable for projects needing a simple wrapper with TypeScript support. Release cadence is low; primarily maintenance.