Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/automerge/index.ts>view

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Latest
function view
import { view } from "https://deno.land/x/automerge@2.2.2/index.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