import { next } from "https://deno.land/x/automerge@2.2.2/index.ts";
const { init } = next;
Create a new automerge document
Parameters
optional
_opts: ActorId | InitOptions<T>- Either an actorId or an InitOptions (which may contain an actorId). If this is null the document will be initialised with a random actor ID