{"library":"engine.io-client","type":"library","category":null,"description":"Engine.IO Client is the low-level JavaScript client for Engine.IO, providing the foundational transport-based, bidirectional communication layer that powers Socket.IO. As of version 6.6.4, it supports various transports like HTTP long-polling and WebSockets, with recent updates also introducing WebTransport support and features like transport tree-shaking for optimized bundles. The library is actively maintained with regular updates, often coinciding with releases of its server-side counterpart, Engine.IO, and the Socket.IO framework. It differentiates itself by offering a robust, transport-agnostic real-time communication channel, handling connection upgrades and downgrades automatically to ensure persistent connectivity across different network conditions and environments. While it can be used independently for raw real-time communication, it's primarily designed as the underlying mechanism for the more feature-rich Socket.IO client.","language":"javascript","status":"active","version":"6.6.4","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install engine.io-client","imports":["import { Socket } from 'engine.io-client';","const { Socket } = require('engine.io-client');","<script src=\"/path/to/engine.io.js\"></script>\n<script>\n  const socket = eio('ws://localhost');\n</script>","import { SocketWithoutUpgrade, XHR, WebSocket } from 'engine.io-client';"]},{"cmd":"yarn add engine.io-client","imports":[]},{"cmd":"pnpm add engine.io-client","imports":[]}],"homepage":"https://socket.io","github":"https://github.com/socketio/socket.io","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/engine.io-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/engine.io-client/compatibility"}}