UNPKG

@ejazullah/smart-browser-automation

Version:

A smart AI-driven browser automation library and REST API server using MCP (Model Context Protocol) and LangChain for multi-step task execution. Includes both programmatic library usage and HTTP API server for remote automation.

12 lines (10 loc) 263 B
import * as WebSocket_ from "ws"; import { getNativeWebSocket } from "./utils.js"; export const WebSocket = (() => { try { return getNativeWebSocket(); } catch { if (WebSocket_.WebSocket) return WebSocket_.WebSocket; return WebSocket_; } })();