Skip to main content
Module

x/automerge/next.ts>view

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

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