Yjs merges shared types without conflicts, and its main branch is a v14 release candidate under a new package name
Shared data types for building collaborative software
At a glance
- What is it?
- Yjs is a CRDT implementation whose internal data structure is exposed as shared types such as Map and Array. The main branch publishes @y/y 14.0.0-rc.29 while the v13.6 line is still being tagged.
- Who is it for?
- Use Yjs if you are building collaborative editing, offline-first sync or shared cursors and want a CRDT that is network agnostic, with the rich text editor integrations the README lists. Decide first whether you target the stable 13.6 line or the 14.0.0 release candidates published as @y/y, and settle the license question yourself, since the README says MIT while the repository metadata reports no license assertion.
- Can I use it commercially?
- Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
- Is it still maintained?
- Yes. The repository last received commits 3 days ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- yjs/yjs23,118 ★ · +206
| Repository | 2026-10-08 | 2026-11-26 |
|---|---|---|
| yjs/yjs | 22.9k | 23.1k |
206 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Shared types are Map and Array with automatic merging
Yjs is a CRDT implementation that exposes its internal data structure as shared types. Shared types are common data types like Map or Array with an extra property: changes are automatically distributed to other peers and merged without merge conflicts. The README's tagline calls it a CRDT framework with an abstraction of shared data.
The project says Yjs is network agnostic, with p2p named explicitly, and that it supports many existing rich text editors, offline editing, version snapshots, undo and redo, and shared cursors. It claims to scale well with an unlimited number of users and to suit large documents.
The network-agnostic point has a cost for newcomers. Yjs itself defines the data and the merge rules, and you pick a transport. The package.json for the main branch references a separate @y/protocols dependency in its test page generation script.
The main branch ships as @y/y 14.0.0-rc.29, not as yjs
package.json names the package @y/y at version 14.0.0-rc.29 and describes it as a Shared Editing Library. It is an ES module with sideEffects set to false. The exports map offers the root entry, a ./meta entry for utils/meta, a ./testHelper entry and ./package.json.
The recent releases show two lines in parallel. v14.0.0-rc.29 was published on 15 October 2026 and v14.0.0-rc.28 on 29 September 2026. v13.6.33 appeared on 23 September 2026, between them. A release candidate on the main branch means the 14 API is still moving.
For a project choosing today, that is the first decision. The 13.6 line receives patch tags, so it is the safer pin for production. The 14 candidates are for people who can absorb breaking changes between rc numbers. Because the package name differs, moving between them is also an import change, not a version bump. Check docs.yjs.dev and the repository's INTERNALS.md before committing to either.
The repository also lists attributing-content.md, renderer.md and INTERNALS.md at the top level. If you plan to build on the v14 internals or write your own renderer, those three files are the starting points inside the repository, ahead of any third-party tutorial.
The license field says NOASSERTION while the README says MIT
The repository metadata lists the license as NOASSERTION. The README states that Yjs is MIT licensed and free to use. A LICENSE file exists at the top level.
For a company, this gap is something to settle by reading the LICENSE file at the tag you use, since automated license scanners will report the metadata value and flag it.
The README adds a social expectation, not a legal term: if you use Yjs in a commercial application, you are expected to sponsor the project financially, because that is what keeps Yjs maintained. A support contract through GitHub Sponsors is offered, with weekly video calls and quicker attention to issues from the maintainer. The README names Synergy Codes as a consulting firm for collaborative editing in visual apps such as diagrams, graphs and charts. The repository also contains funding.json, SECURITY.md and THREAT_MODEL.md at the top level.
The adopter list names Evernote, Gitbook, JupyterLab and Linear
The README's Who is using Yjs section is long. Entries marked with stars include AFFiNE, Cargo, Gitbook, Evernote and Lessonspace. Others listed are Huly, Nimbus Note, JupyterLab, JupyterCad, JupyterGIS, AWS SageMaker, Linear, Synthesia, NextCloud and keystatic. Appflowy and Multi.app are noted as using Yrs, the Rust port, and not Yjs itself.
Treat the list as the project's own statement. The README does not give versions, scale or how each product uses Yjs. If your question is whether a specific product such as Figma uses Yjs, the visible part of the list does not name it, and the list is truncated, so the README is not the place to settle that.
The list does show breadth of use: rich text, whiteboards, notebooks, diagrams, mind maps, forms and CAD models. Serenity Notes and BlockSurvey are listed with end-to-end encryption, which suggests Yjs update data can be encrypted before it travels, but how is up to the application.
Tests run with node tests/index.js and a long extensive mode
The package.json scripts show how the project is checked. npm test runs NODE_ENV=development node ./tests/index.js --repetition-time 50. test-extensive runs the same entry with --production and --repetition-time 10000. The repetition time suggests randomized testing that runs for a set duration, which suits a CRDT where convergence under random operation orders is the property being tested.
lint runs markdownlint on README.md, standard, tsc and dpdm with a failure on circular dependencies in src/index.js. dist builds type declarations with tsc and checks that dist/src/index.d.ts exists. Debug scripts generate test.html and serve it, and others run node with --inspect-brk, --trace-deopt and --trace-opt.
The files list publishes src, dist/src, tests/testHelper.js and global.d.ts, so the package ships its source as JavaScript with type declarations alongside. The tests/testHelper export lets other packages reuse the project's test helpers. Benchmarks against Automerge are in a separate repository, dmonad/crdt-benchmarks, linked from the README.
Where the maintainer is and where help is offered
The repository is not archived. The last push was on 2 November 2026. The homepage is docs.yjs.dev, the discussion board is discuss.yjs.dev, demos are in the yjs-demos repository, and chat is on Gitter and Discord.
Two podcasts are linked, one a deep dive into real time collaborative editing solutions and one on Google Docs-style editing in Gutenberg with Yjs. The README's Professional Support section is the only route to guaranteed attention from the author. Everyone else uses the community board.
Related names matter when you search: the README mentions Yrs for the Rust implementation.
If you need an answer faster than the board provides, the support contract comes directly from the author; Synergy Codes is the other professional option the README names.
Editorial conclusion
Use Yjs if you are building collaborative editing, offline-first sync or shared cursors and want a CRDT that is network agnostic, with the rich text editor integrations the README lists. Decide first whether you target the stable 13.6 line or the 14.0.0 release candidates published as @y/y, and settle the license question yourself, since the README says MIT while the repository metadata reports no license assertion.
Frequently asked questions
What is YJS used for?
Yjs is a CRDT library for building collaborative software. Its shared types sync changes between peers, with support for rich text editors, offline editing, version snapshots, undo and redo, and shared cursors.
Is Yjs free to use commercially?
The README says Yjs is MIT licensed and free to use, with a social expectation that commercial users sponsor the project. The repository metadata reports the license as NOASSERTION, so check the LICENSE file.
Which Yjs version is stable?
The main branch is at 14.0.0-rc.29 under the package name @y/y, while v13.6.33 was tagged on 23 September 2026.
Official sources
Was this useful?