Yjs
Shared editing library enabling real-time collaborative editing across applications.
State and data fetching npm MIT
How Yjs is used
Yjs is a dependency in 15 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 39 projects, and what it is used with below comes from all of them. Projects that use it most often also use Next.js (66.7%), Lucide React (69.2%), Testing Library (53.8%).
Yjs popularity over time
Gid Score 63: downloads 81, use in agent projects 37, GitHub stars 64, downloads trend 64 (each 0-100). How it is calculated.
Often used with Yjs
| Next.js | 66.7% of Yjs projects · 3.7× more than average |
|---|---|
| Lucide React | 69.2% of Yjs projects · 3.5× more than average |
| Testing Library | 53.8% of Yjs projects · 5.3× more than average |
| AI SDK | 51.3% of Yjs projects · 11.7× more than average |
| tsx | 53.8% of Yjs projects · 3.6× more than average |
| React | 79.5% of Yjs projects · 2.4× more than average |
| ESLint | 82.1% of Yjs projects · 2.3× more than average |
| Husky | 46.2% of Yjs projects · 4.5× more than average |
From all 39 projects in our scan that use Yjs, including the dependency samples.
By coding agent
| GitHub Copilot | 0.2% of projects set up for it |
|---|---|
| Claude Code | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Yjs as a dependency.
How Yjs is funded
Open Collective: Y-Collective
| Received, last 12 months | $40 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $60 Open Collective's estimate |
| Balance | $642 |
| Raised since the start | $136,460 · $135,817 paid out |
| Typical month median, last 12 months | $4 · $4 over 24 months |
| Last 12 months vs the 12 before | -74% |
| Contributors, last 12 months | 1 |
Top company backers all time, 14 companies in total
| Ably Realtime | $85,000 since Jun 2021 |
|---|---|
| Cargo | $12,000 since May 2021 |
| Saga | $12,000 since May 2021 |
| Complish | $9,000 since May 2021 |
| Gamma | $6,000 since Jul 2021 |
Oct 2021Sep 2026
Money by month, last five years. First money received in Apr 2021. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 2 more tools in our catalog: y-websocket, y-prosemirror.
USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source
GitHub Sponsors
| @dmonad | 39 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes y-websocket, y-prosemirror.
Ways to fund Yjs
GitHub Sponsors Open Collective
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install yjs |
|---|---|
| Main stacks | Next.js (25), TypeScript / JavaScript (14) |
| Example projects | phodal/routa, michaelshimeles/tsafi, cofacts/rumors-site, isaccanedo/lobe-chat, fountain-ink/app |
Alternatives to Yjs
In our scan, none of the most used tools in State and data fetching does the same job as Yjs: they are add-ons, companions or tools for a different task.
More in State and data fetching: TanStack Query Zustand RxJS Pinia SWR nuqs Immer React Redux