{"library":"madsocket","type":"library","category":null,"description":"A lightweight WebSocket server implementation for Node.js. Version 2.4.2 is the latest stable release, with infrequent updates. Provides a simple event-driven API for handling WebSocket connections, supporting both direct server listening and sharing a port with an existing HTTP server via the `leech` method. Key differentiators: minimalistic design, explicit listener object pattern, and support for both direct and piggyback server modes. No external dependencies.","language":"javascript","status":"active","version":"2.4.2","tags":["javascript","websocket","socket","ws","server","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install madsocket","imports":["import MadSocket from 'madsocket'","import type MadSocket from 'madsocket'","import MadSocket from 'madsocket'; // ClientConnection is internal type"]},{"cmd":"yarn add madsocket","imports":[]},{"cmd":"pnpm add madsocket","imports":[]}],"homepage":"https://github.com/madbrozzer/madsocket.js#readme","github":"https://github.com/madbrozzer/madsocket.js","docs":null,"changelog":null,"pypi":null,"npm":"madsocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}