Collaborative input and textarea bindings to JSON CRDT
npm install collaborative-input and elementsThis package provides bindings for and elements to
JSON CRDT data structures. It allows multiple users to edit the and elements simultaneously.
Installation:
```
npm install json-joy collaborative-input
Usage:
`ts
import {bind} from 'collaborative-input';
const str = model.api.str(['path', 'to', 'string']);
const input = document.getElementById('input');
const unbind = bind(str, input);
// When done, unbind the binding.
unbind();
``
See demo.