
CodeMirror
Code editor component for the web with syntax highlighting, search and extension APIs, built as a set of npm packages.
codemirror.net/repositorydocsplugins
CodeMirror is a code editor component for the web, maintained by Marijn Haverbeke. It can be used in websites to implement a text input field for code. The project is a set of packages installed from npm, and development takes place on the project’s own forge. The GitHub copy of the repository is archived.
Worth knowing
The packages are distributed as ES6 modules, and the guide says running the library without a bundler or module loader is not currently practical.
The project’s homepage says that commercial users carry a social, but no legal, expectation to help fund its maintenance.
Sources
- 2026-11-04: links, Categories, License, Multilingual
codemirror.net/ - 2026-11-04: links, Install with
code.haverbeke.berlin/codemirror/dev - 2026-11-04: links
codemirror.net/docs/guide/ - 2026-11-04: Maintainer
code.haverbeke.berlin/codemirror/dev/raw/branch/main/LICENSE - 2026-11-04: First release
codemirror.net/5/doc/releases.html - 2026-11-04: Written in
api.github.com/repos/codemirror/dev - 2026-11-04: Current major version
registry.npmjs.org/codemirror/latest - 2026-11-04: Last release
registry.npmjs.org/codemirror - 2026-11-04: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/codemirror - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/codemirror - 2026-11-04: links
codemirror.net/docs/