{"library":"extra-native-websocket","type":"library","category":null,"description":"extra-native-websocket (v0.5.2) is a lightweight, TypeScript-first library that wraps native WebSocket with a promise-based API, typed error handling, reconnection strategies, and state management. It extends an emitter pattern from @blackglory/structures, offering autoReconnect and exponential backoff without external dependencies. Requires Node >=22 and ESM-only. Differentiates from ws or isomorphic-ws by focusing on native WebSocket and providing extra utilities like autoReconnect and WebSocketError.","language":"javascript","status":"active","version":"0.5.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install extra-native-websocket","imports":["import { ExtraNativeWebSocket } from 'extra-native-websocket'","import { autoReconnect } from 'extra-native-websocket'","import { WebSocketError } from 'extra-native-websocket'","import { BinaryType } from 'extra-native-websocket'","import { State } from 'extra-native-websocket'"]},{"cmd":"yarn add extra-native-websocket","imports":[]},{"cmd":"pnpm add extra-native-websocket","imports":[]}],"homepage":"https://github.com/BlackGlory/extra-native-websocket#readme","github":"ssh://git@github.com/BlackGlory/extra-native-websocket","docs":null,"changelog":null,"pypi":null,"npm":"extra-native-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}