Getting Started
To install the decoder:
npm i unbikitpnpm add unbikityarn add unbikitbun add unbikitni unbikitTo use it:
import { BikDecoder, type BikFrame } from "unbikit";
let stream: ReadableStream;// ... assign a source to the streamconst decoder = await BikDecoder.open(() => stream);let frame: BikFrame | null;while ((frame = await decoder?.getNextFrame())) { // ... process frame}