New:Socket for Asana Is Now Available.Learn more
Get Started

@jsonjoy.com/collaborative-peritext

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-peritext

JSON CRDT peritext node bindings to any generic rich-text editor.

latest
Source
npmnpm
Version
18.30.0
Version published
Weekly downloads
1.3K
-10.51%
Maintainers
2
Weekly downloads
 
Created
Source

Collaborative rich-text editor binding

Binds a generic rich-text editor to a JSON CRDT peritext node, enabling real-time collaborative rich-text editing.

📖 Full documentation →

Installation

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

Usage

import {PeritextBinding, type RichtextEditorFacade} from '@jsonjoy.com/collaborative-peritext';

const editor: RichtextEditorFacade = {
  get: () => toViewRange(myEditor),
  set: (fragment) => renderFragment(myEditor, fragment),
  // optional: onchange, getSelection, setSelection, dispose
};

const unbind = PeritextBinding.bind(() => peritextApi, editor);

See the full documentation for the complete RichtextEditorFacade interface.

Funding

This project is funded through NGI Zero Core, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.

NLnet foundation logo NGI Zero Logo

Keywords

collaborative

FAQs

Package last updated on 08 Sep 2026

Related posts