Is there a lib or a pattern for synchronizing a complex JSON over the network ?

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • automerge

    A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.

  • liveblocks

    Liveblocks is a platform to ship collaborative features like comments, notifications, text editors in minutes instead of months.

  • You should look at CRDT. I just saw this a few days ago: https://liveblocks.io

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • yjs

    Shared data types for building collaborative software

  • I think you might be looking for a CRDT implementation. Yjs is a popular one: https://github.com/yjs/yjs

  • sharedb

    Realtime database backend based on Operational Transformation (OT)

  • This is called Operational Transformation, and there are a few libraries to help with it. One that looks fairly mature is https://github.com/share/sharedb

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts