1.0.2-3.1 • Published 9 months ago
@cxai/ide v1.0.2-3.1
TypeScript Editor Web Component
A web component that provides a TypeScript editor with autocomplete, type checking, and syntax highlighting. Optionally supports real-time collaboration using Yjs.
Installation
npm install @cxai/ideUsage
Browser
<script type="module">
import '@cxai/ide';
</script>
<ts-editor value="import { createMachine } from 'xstate';" url="%YJS_URL%" room="%YJS_ROOM%" component="codemirror" >
</ts-editor>Properties
TypeScript Editor
value: Get or set the editor content
Collaboration Provider
url: WebSocket URL of the Hocuspocus serverroom: Room name for collaboration (defaults to 'default-room'), this will be the doc idcomponent: The component name in the yjs docm, defaults to 'codemirror'
License
MIT
1.0.2-3.1
9 months ago
1.0.23
9 months ago
1.0.22
9 months ago
1.0.2-1.4
9 months ago
1.0.2-1.3
9 months ago
1.0.2-1.2
9 months ago
1.0.2-1.1
9 months ago
1.0.21
9 months ago
1.0.20
9 months ago
1.0.19
10 months ago
1.0.18
10 months ago
1.0.17
10 months ago
1.0.15
10 months ago
1.0.14
12 months ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.4
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago