Skip to main content
Module

x/automerge/index.ts>next.view

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

Make an immutable view of an automerge document as at heads

Parameters

doc: Doc<T>
  • The document to create a view of
heads: Heads
  • The hashes of the heads to create a view at