import { from } from "https://deno.land/x/automerge@2.2.2/stable.ts";
Create an automerge document from a POJO
Examples
Example 1
Example 1
const doc = automerge.from({
tasks: [
{description: "feed dogs", done: false}
]
})
import { from } from "https://deno.land/x/automerge@2.2.2/stable.ts";
Create an automerge document from a POJO
Example 1
const doc = automerge.from({
tasks: [
{description: "feed dogs", done: false}
]
})