New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@jsonjoy.com/collaborative-input

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonjoy.com/collaborative-input

Collaborative input and textarea bindings to JSON CRDT

latest
Source
npmnpm
Version
18.30.0
Version published
Weekly downloads
29
-76.8%
Maintainers
2
Weekly downloads
 
Created
Source

Collaborative <input> and <textarea> elements

This package provides bindings for <input> and <textarea> elements to JSON CRDT data structures. It allows multiple users to edit the <input> and <textarea> elements simultaneously.

Usage

Installation:

npm install json-joy @jsonjoy.com/collaborative-input

Usage:

import {bind} from '@jsonjoy.com/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();

Preview

See demo.

Keywords

collaborative

FAQs

Package last updated on 08 Sep 2026

Related posts