Skip to main content
Module

x/automerge/next.ts>save

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Go to Latest
function save
import { save } from "https://deno.land/x/automerge@2.2.0/next.ts";

Export the contents of a document to a compressed format

Parameters

doc: Doc<T>
  • The doc to save

The returned bytes can be passed to load or loadIncremental

Returns

Uint8Array