# Yjs: 8.2 out of 10

A strong pick. 1st of 10 in [Realtime and collaboration](https://elestia.ai/opensource/realtime/index.md).

Yjs is the most widely used CRDT library for JavaScript. It gives you shared data types that merge concurrent edits, and it is the engine behind Tiptap, BlockNote, Hocuspocus and many collaborative editors. Today it is the default pick for collaborative editing, with two caveats: one main maintainer carries most of the work, and a breaking v14 (renamed @y/y) is on the way.

**Best for:** Teams building collaborative rich-text or document editing, especially on ProseMirror/Tiptap, CodeMirror, Monaco or Lexical, who want offline and peer-to-peer support.

## Scores

- **Overall: 8.2** (likely 7.1 to 8.9)
  - Claude Opus 5.5 (8.0): For collaborative editing, Yjs is the strong default. It has the biggest ecosystem, real production proof and fast growth. The main maintenance risk is its dependence on one maintainer, and v14 will force a migration. The y-prosemirror critique and stronger peers for JSON or history-heavy data (Automerge, Loro) keep it below 9. For plain live messaging, Socket.IO or ws is the better fit.
  - GPT-6.2 Sol (8.3): Yjs is a strong first choice for a new collaborative editor that needs offline merging and can use an established binding. Its production integrations and ongoing stable fixes make it easier to adopt with confidence than a less proven CRDT. Socket.IO is simpler for event delivery alone, and Loro or Automerge are stronger when built-in edit history is central. Large-editor performance, backend integration, and the v14 transition account for most of the range.
- **Needed by many: 4.7** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (5.0): Collaborative and offline-first editing is a real but bounded need, mostly in document, whiteboard and notes apps. Many realtime apps in this category only need pub/sub messaging (Socket.IO, ws), not a CRDT. Yjs is framework-agnostic and runs in browser, Node and other runtimes, which widens its use within that niche.
  - GPT-6.2 Sol (4.3): Yjs serves a distinct group of JavaScript and TypeScript developers building shared editors, notebooks, whiteboards, and other apps where users edit the same state. Its transport-independent design spans frameworks and runtimes. Apps that only need live notifications or event delivery have simpler options, and the available survey gives no direct estimate of how many developers need concurrent editing.
- **Helps a lot: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.0): Yjs is mature and fast, with a small bundle, many editor bindings, awareness/presence, undo manager and offline support. It ships types, but its documentation and API ergonomics are uneven. A widely read 2026 critique documents real problems in the ProseMirror binding: whole-document replacement, schema-mismatch data loss and hard permission enforcement. Loro and Automerge beat it on full history and tree types.
  - GPT-6.2 Sol (8.5): Stable v13.6.33 has typed shared data, compact incremental updates, and editor bindings that handle much of the integration. Documented examples give coding agents a clear starting point, while provider lifecycle and schema changes still require app-specific decisions. An independent benchmark found fast per-edit sync in plain text on the preceding patch release, while Moment reported costly plugin recomputation with the stable ProseMirror binding. Loro and Automerge offer more direct access to edit history, and performance depends on the editor and workload.
- **Holds up over time: 7.4** (likely 6.0 to 8.4)
  - Claude Opus 5.5 (7.0): Activity is high: 226 commits and 45 GitHub releases in the last year, a Scorecard Maintained check of 10, and 137 contributors. Most of the work still rests on one maintainer funded by sponsorships and contracts. The coming v14 changes the package name and the type model, which raises migration cost. The large commercial ecosystem (Tiptap, BlockNote, Liveblocks) makes abandonment unlikely.
  - GPT-6.2 Sol (7.8): The repo logged 226 commits and 45 GitHub releases in the past year, alongside six npm versions and continued v13 fixes. Community contributors helped resolve a reported regression, while the stable release history and sponsorship page point to one principal maintainer. BlockNote co-developed funded v14 work, but the new package and editor binding leave upgrade effort and long-term release coverage uncertain.
- **Used widely: 6.9** (likely 5.7 to 7.8)
  - Claude Opus 5.5 (8.0): Downloads rose from 7.4M to 63.7M per 4 weeks, a ratio of about 8.6 against a median of 4.1. Much of that comes through Tiptap, Hocuspocus and Liveblocks installs rather than direct choice. Its 3,035 dependent repos and 570 dependent packages far exceed the other CRDTs (Automerge 25, Loro 1), so it clearly leads its sub-niche, though it is far below Socket.IO in absolute use.
  - GPT-6.2 Sol (5.7): Four-week downloads rose from 7.4 million to 63.7 million, an 8.6× increase against the 4.1× catalog median. Loro and Hocuspocus grew faster, while Yjs has far more indexed dependent repositories than either Loro or Automerge. Its 3,035 indexed repositories and 570 packages show substantial use, but partial indexing, automated installs, and use through tools such as Tiptap and Hocuspocus leave the number of direct choices uncertain.
- **Vouched for: 8.5** (likely 7.5 to 9.2)
  - Claude Opus 5.5 (8.5): Many well-known products run Yjs in production, and major editor frameworks build on it: JupyterLab, Proton Docs, Evernote, AFFiNE, Gitbook, Linear, AWS SageMaker, Nextcloud, Tiptap and BlockNote. Independent comparisons call it the de facto standard. A prominent 2026 critique from Moment, a company that chose not to use it, adds a credible counter-signal.
  - GPT-6.2 Sol (8.5): Tiptap and JupyterLab build collaborative editing on Yjs, and Plane reports shipping its offline-capable wiki on it. Independent benchmark results and Plane's account of scaling shared documents give concrete evidence about how it behaves in use. Moment's experience and the lack of a broad satisfaction measure leave more uncertainty for custom editors with strict latency targets.
- **Safe: 7.0** (likely 5.8 to 8.2)
  - Claude Opus 5.5 (7.5): Yjs has no known advisories, MIT licence and only one runtime dependency (lib0, by the same author), so the attack surface is small. The OpenSSF Scorecard is a middling 5.4, with weak code review, branch protection, CI-test, SAST and fuzzing checks. Releases depend on a small number of publishers.
  - GPT-6.2 Sol (6.5): Yjs is MIT-licensed, has a public security policy, and has zero direct advisories in the bundle. Its sole direct dependency, lib0, had two high-severity memory disclosure advisories with fixes available by 0.2.119, which the stable Yjs dependency range accepts. OpenSSF scored it 5.4, with weak code review and branch protection signals, and the visible publish runs are concentrated under one maintainer. Older lockfiles can retain vulnerable lib0 versions, and the bundle leaves release signing and backup publishing access unverified.

## Good

- It has the broadest ecosystem of any CRDT: editor bindings, providers (WebSocket, WebRTC, IndexedDB) and backends such as Hocuspocus and Liveblocks.
- It is small and fast in JavaScript, with a single dependency (lib0) and a compact binary update format.
- Large products run it in production, including JupyterLab, Proton Docs, Evernote, AFFiNE, Gitbook and Linear.
- It has no known security advisories, and its npm downloads grew about 8.6x year over year.

## Bad

- It depends heavily on one maintainer who funds the work through sponsorship and contracts.
- v14 renames the package to @y/y and redesigns the types, so the ecosystem faces a disruptive migration.
- The y-prosemirror binding replaces the whole document on remote updates, and users report trouble with schema mismatches, position mapping and permissions.
- Its data model is limited to its own shared types, and it has no first-class full-history model. Automerge and Loro do better on JSON trees and history.

## The numbers

- Downloads, 4 weeks: 64M
- In a year: ×8.6
- GitHub stars: 23k
- Commits, 12 months: 226
- Last npm release: Sept 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/yjs/yjs
- npm: https://www.npmjs.com/package/yjs

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
