Please see automerge.org for documentation.
If you're using npm,
npm install automerge. If you're using yarn,
yarn add automerge. Then you
can import it with
require('automerge') as in the example below (or
import * as Automerge from 'automerge' if using ES2015 or TypeScript).
Otherwise, clone this repository, and then you can use the following commands:
yarn installinstalls dependencies.
yarn testruns the test suite in Node.
yarn run browsertestruns the test suite in web browsers.
yarn buildcreates a bundled JS file
dist/automerge.jsfor web browsers. It includes the dependencies and is set up so that you can load through a script tag.
Copyright 20172021, the Automerge contributors. Released under the terms of the
MIT license (see