{"library":"tiny-bilibili-ws","type":"library","category":null,"description":"A lightweight, TypeScript-first WebSocket/TCP client for Bilibili live streaming API, supporting both Node.js and browser environments. Current stable version is 1.0.2, released in 2022. It provides an event-driven interface for receiving live room data like danmaku (DANMU_MSG), heartbeat, and other Bilibili live events. Unlike heavier alternatives, it is minimal and includes built-in TypeScript type definitions. Requires manual cookie/UID for anti-spoofing and extra key/url for browser usage due to CORS restrictions.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","ws","websocket","bilibili","live","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tiny-bilibili-ws","imports":["import { KeepLiveWS } from 'tiny-bilibili-ws'","import { toMessageData } from 'tiny-bilibili-ws'","import { KeepLiveWS } from 'tiny-bilibili-ws/browser'"]},{"cmd":"yarn add tiny-bilibili-ws","imports":[]},{"cmd":"pnpm add tiny-bilibili-ws","imports":[]}],"homepage":"https://github.com/starknt/tiny-bilibili-ws#readme","github":"https://github.com/starknt/tiny-bilibili-ws","docs":null,"changelog":null,"pypi":null,"npm":"tiny-bilibili-ws","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}