Automerge Repo - v2.3.0-alpha.0
    Preparing search index...
    • Create an automerge document from a POJO

      Type Parameters

      • T extends Record<string, unknown>

        The type of the value passed to from and the type the resulting document will contain

      Parameters

      Returns Automerge.Doc<T>

      const doc = automerge.from({
      tasks: [
      {description: "feed dogs", done: false}
      ]
      })