{"library":"it-ws","type":"library","category":null,"description":"Simple async iterables for websocket client and server connections. Current stable version is 6.1.5, released under the npm package 'it-ws'. Provides async iterable-based (push-based) duplex streams for WebSocket communication, leveraging the 'ws' library on Node.js and native WebSocket API in browsers. Key differentiators: ESM-only, TypeScript types included, supports both client and server (including TLS), integrates with 'it-pipe' for composable streaming. Alternative to raw WebSocket or socket.io for scenarios requiring lightweight, iterable-based streaming.","language":"javascript","status":"active","version":"6.1.5","tags":["javascript","async","iterable","iterator","websocket","ws","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install it-ws","imports":["import { connect } from 'it-ws/client'","import { createServer } from 'it-ws/server'","import duplex from 'it-ws/duplex'"]},{"cmd":"yarn add it-ws","imports":[]},{"cmd":"pnpm add it-ws","imports":[]}],"homepage":"https://github.com/alanshaw/it-ws#readme","github":"https://github.com/alanshaw/it-ws","docs":null,"changelog":null,"pypi":null,"npm":"it-ws","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}