Skip to content

Instantly share code, notes, and snippets.

View nodumo's full-sized avatar

Nickanor (Nick) Odumo nodumo

View GitHub Profile
// https://javascript.info/arraybuffer-binary-arrays
import * as logging from "lib0/logging";
// eslint-disable-line
/** @doc https://www.npmjs.com/package/uint8-to-base64 */
import { decode, encode } from "uint8-to-base64";
/** @doc https://github.com/dmonad/lib0 */
import { Observable } from "lib0/observable";
/** @doc https://github.com/yjs/y-protocols */
import * as awarenessProtocol from "y-protocols/awareness";
import * as time from "lib0/time";