Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@live-codes/codemirror

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-codes/codemirror

A custom build of CodeMirror6 for use in LiveCodes

latest
npmnpm
Version
0.3.5
Version published
Weekly downloads
25
56.25%
Maintainers
1
Weekly downloads
 
Created
Source

@live-codes/codemirror

This is a custom build of CodeMirror6.

This was built for use in LiveCodes.

Usage

The editor is bundled as ESM. It can be used like this:

<div id="container"></div>

<script type="module">
  import { basicSetup, lineNumbers, EditorView, javascript } from 'https://cdn.jsdelivr.net/npm/@live-codes/codemirror';

  let view = new EditorView({
    doc: "console.log('hello world');",
    extensions: [
      basicSetup, 
      lineNumbers(),
      javascript(),
    ],
    parent: document.querySelector('#container'),
  })
</script>

Build

npm run build

License

MIT

FAQs

Package last updated on 15 Feb 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