import { WebsocketProvider } from "y-websocket" ; import * as Y from "yjs" ; export const doc = new Y . Doc ( ) ; export const provider = new WebsocketProvider ( "wss://demos.yjs.dev" , "y-cursors-demo" , doc ) ; export const awareness = provider . awareness ;