Socket
Book a DemoInstallSign in
Socket

real-time-monaco

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

real-time-monaco

Real Time document editing in monaco editor with Users cursors

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
151
1787.5%
Maintainers
1
Weekly downloads
 
Created
Source

real-time-monaco

Real-time Monaco Editor

Demo

Check out the demo app: real-time-monaco Demo

A real-time collaborative code editor component using Monaco Editor and Yjs for state synchronization.

Features

  • Real-time collaboration with multiple users.
  • User cursors and selections highlighting.
  • Easy integration with React applications.

Installation

npm install real-time-monaco

Usage

import React from 'react';
import { RealTimeMonaco } from 'real-time-monaco';

const App = () => {
  return (
    <RealTimeMonaco
      height='100vh'
      width='100vw'
      name="YourName"
      roomId="unique-room-id"
      color="#ff0000"
    />
  );
};

export default App;

Props

PropTypeDescription
namestringThe name of the user.
roomIdstringThe unique ID for the collaboration room.
colorstringThe color used to represent the user.

License

MIT License

Keywords

npm

FAQs

Package last updated on 02 Sep 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.