UNPKG

assemblyai

Version:

The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.

9 lines (7 loc) 290 B
import ws from "ws"; import { PolyfillWebSocket, PolyfillWebSocketFactory } from "."; export { PolyfillWebSocket } from "."; export const factory: PolyfillWebSocketFactory = ( url: string, params?: unknown, ) => new ws(url, params as ws.ClientOptions) as unknown as PolyfillWebSocket;