Launch Week Day 1:Rust Support in Socket Is Now Generally Available.Learn More
Socket
Book a DemoInstallSign in
Socket

@veltdev/codemirror-crdt

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veltdev/codemirror-crdt

CodeMirror CRDT library for Velt

latest
npmnpm
Version
4.5.9-beta.4
Version published
Weekly downloads
131
147.17%
Maintainers
5
Weekly downloads
 
Created
Source

Velt CodeMirror CRDT Core Library

With Velt CodeMirror CRDT Core Library, you can add powerful multiplayer code editing and state synchronization features to any JavaScript application using CodeMirror. Works with Angular, Vue, Svelte, Solid, and Vanilla JS.

The library provides framework-agnostic realtime primitives:

  • Universal API for managing shared state
  • Fully-managed on a scalable realtime backend
  • Powered by Yjs for industry-standard conflict resolution

Features include:

  • Multiplayer Code Editing with real-time character-by-character synchronization
  • Realtime Presence to see other users' cursors and selections
  • Conflict Resolution ensuring data consistency across all clients
  • Offline Support with automatic synchronization upon reconnection
  • Cross-Framework Support (Angular, Vue, Svelte, Solid, Vanilla JS)
  • Custom Styling for remote cursors and selection highlights
  • ... and so much more

Installation

npm install @veltdev/codemirror-crdt @veltdev/client

Documentation

  • Read the documentation for setup guides and API references.

Use cases

The CodeMirror CRDT library is used to power:

  • Cloud IDEs and playgrounds
  • Technical interview platforms
  • Collaborative query editors (SQL, GraphQL)
  • Shared configuration or JSON editors
  • Educational coding tools
  • Any shared, mutable code environment

Resources

  • Explore multiplayer editing to see features like collaborative text, whiteboards, and data grids.
  • Sample Apps: Check out example implementations for various use cases.

Releases

Security

  • Velt is SOC2 Type 2 and HIPAA compliant. Learn more

Community

  • X: To receive updates, announcements, and general Velt tips.

Keywords

codemirror

FAQs

Package last updated on 15 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts