Elestia Open Source Ratings
8.2

Yjs

A strong pick. 1st of 10 realtime and collaboration.

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.

WebsiteGitHubnpm

Scores

Overall8.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

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, likely 7.2 to 9.2

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 many4.7

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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, likely 3.2 to 5.6

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 lot8.3

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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, likely 7.3 to 9.3

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 time7.4

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 5.5 to 8.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, likely 6.5 to 8.7

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 widely6.9

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 63.7M vs 7.4M, about 8.6x growth
  • dependents: 3,035 repos and 570 packages, far above other CRDT peers
  • github stars: 23k stars, more than all CRDT peers combined

GPT-6.2 Sol: 5.7, likely 4.3 to 7.0

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.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: 63.7 million versus 7.4 million installs, or 8.6×.
  • medianDownloadsRatio: The catalog median was 4.1×.
  • dependents repos and packages: ecosyste.ms indexed 3,035 repositories and 570 packages.
  • peers: Loro grew 26.3× and Hocuspocus 10.8×, with much smaller indexed footprints.
  • github stars and bluesky posts: 23,094 stars and four recent Bluesky repository links.
  • tiptap.dev/docs/collaboration/getting-started/overview: Yjs also reaches users through Tiptap and Hocuspocus.
Vouched for8.5

Who stands behind it being good?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

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, likely 7.4 to 9.4

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.

Safe7.0

How safe is it to depend on?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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.

  • advisories total: Zero advisories
  • npm dependencies: One dependency
  • scorecard score: 5.4; Code-Review 3, Branch-Protection 3, CI-Tests 0
  • npm license: MIT

GPT-6.2 Sol: 6.5, likely 5.1 to 7.8

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

npm downloads, 4 weeks
64M ×8.6 in a year
GitHub stars
23k
Commits, 12 months
226
npm version
13.6.33 Sept 2026
Versions, 12 months
6
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.4 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (yjs/yjs), npm (yjs), OSV and the OpenSSF Scorecard.

Realtime and collaboration

  1. 8.2Yjs
  2. 7.9Socket.IO
  3. 7.8Hocuspocus
  4. 7.8ws
  5. 7.5Liveblocks
  6. 7.1Ably SDK
  7. 7.1Automerge
  8. 7.0Loro
  9. 6.6PartyServer
  10. 6.6Pusher SDK
Compare all 10 on six scores