codemirror/legacy-modes is tracked by TopGit as an open-source project, with 107 stars on GitHub, written primarily in JavaScript. Collection of ported legacy language modes for the CodeMirror code editor
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This repository has moved to https://code.haverbeke.berlin/codemirror/legacy-modes
@codemirror/legacy-modes
[ WEBSITE | ISSUES | FORUM | CHANGELOG ]
This package implements a collection of ported stream
language modes for
the CodeMirror code editor. Each mode is
available as a separate script file, under
"@codemirror/legacy-modes/mode/[name]", and exports the values
listed below.
The project page has more information, a
number of examples and the
documentation.
This code is released under an
MIT license.
We aim to be an inclusive, welcoming community. To make that explicit,
we have a code of
conduct that applies
to communication around the project.
Usage
Using modes from this package works like this:
Install this package and the
@codemirror/language
package.
Find the StreamParser instance you need in the reference below.
Add StreamLanguage.define(theParser) to your editor's
configuration.
For example, to load the Lua mode, you'd do something like...
import {StreamLanguage} from "@codemirror/language"
import {lua} from "@codemirror/legacy-modes/mode/lua"
import {EditorView, basicSetup} from "codemirror"
let view = new EditorView({
extensions: [basicSetup, StreamLanguage.define(lua)]
})
How active is development on codemirror/legacy-modes?
The most recent commit recorded on codemirror/legacy-modes was 6 months ago, based on the GitHub push timestamp. The repository has 53 forks — one of the better signals of community interest.
How many stars does codemirror/legacy-modes have?
codemirror/legacy-modes has 107 GitHub stars — refresh the page for the live number, or check github.com/codemirror/legacy-modes. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is codemirror/legacy-modes open source?
Yes — codemirror/legacy-modes ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/codemirror/legacy-modes.
What is codemirror/legacy-modes?
codemirror/legacy-modes (codemirror/legacy-modes) is a JavaScript project on GitHub. From the project's own README: Collection of ported legacy language modes for the CodeMirror code editor
What language is codemirror/legacy-modes written in?
codemirror/legacy-modes is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What license does codemirror/legacy-modes use?
codemirror/legacy-modes is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about codemirror/legacy-modes?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/codemirror/legacy-modes is the definitive source.
Read full README in the tab above.
Want a second opinion on legacy-modes?
Ask an AI that can read this page — one click and you get its take on legacy-modes.