1.1.15 • Published 1 year ago

real-time-monaco v1.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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


1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago