# @codemirror/language-data

> Language metadata and dynamic loading for the CodeMirror code editor

Latest version **6.5.2** (published 2025-10-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @codemirror/language-data
pnpm add @codemirror/language-data
yarn add @codemirror/language-data
bun add @codemirror/language-data
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.5.2 |
| Published | 2025-10-23 |
| First published | 2020-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 23 |
| Unpacked size | 70 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Marijn Haverbeke |
| Maintainers | adrianheine, marijn |
| Keywords | editor, code |

## Links

- npm: https://www.npmjs.com/package/@codemirror/language-data
- Repository: https://github.com/codemirror/language-data
- Homepage: https://github.com/codemirror/language-data#readme
- Issues: https://github.com/codemirror/language-data/issues
- npm.io page: https://npm.io/package/@codemirror/language-data

## Dependencies (23)

- [@codemirror/lang-go](https://npm.io/package/@codemirror/lang-go.md) ^6.0.0
- [@codemirror/lang-cpp](https://npm.io/package/@codemirror/lang-cpp.md) ^6.0.0
- [@codemirror/lang-css](https://npm.io/package/@codemirror/lang-css.md) ^6.0.0
- [@codemirror/lang-php](https://npm.io/package/@codemirror/lang-php.md) ^6.0.0
- [@codemirror/lang-sql](https://npm.io/package/@codemirror/lang-sql.md) ^6.0.0
- [@codemirror/lang-vue](https://npm.io/package/@codemirror/lang-vue.md) ^0.1.1
- [@codemirror/lang-xml](https://npm.io/package/@codemirror/lang-xml.md) ^6.0.0
- [@codemirror/language](https://npm.io/package/@codemirror/language.md) ^6.0.0
- [@codemirror/lang-html](https://npm.io/package/@codemirror/lang-html.md) ^6.0.0
- [@codemirror/lang-java](https://npm.io/package/@codemirror/lang-java.md) ^6.0.0
- [@codemirror/lang-json](https://npm.io/package/@codemirror/lang-json.md) ^6.0.0
- [@codemirror/lang-less](https://npm.io/package/@codemirror/lang-less.md) ^6.0.0
- [@codemirror/lang-rust](https://npm.io/package/@codemirror/lang-rust.md) ^6.0.0
- [@codemirror/lang-sass](https://npm.io/package/@codemirror/lang-sass.md) ^6.0.0
- [@codemirror/lang-wast](https://npm.io/package/@codemirror/lang-wast.md) ^6.0.0
- [@codemirror/lang-yaml](https://npm.io/package/@codemirror/lang-yaml.md) ^6.0.0
- [@codemirror/lang-jinja](https://npm.io/package/@codemirror/lang-jinja.md) ^6.0.0
- [@codemirror/lang-liquid](https://npm.io/package/@codemirror/lang-liquid.md) ^6.0.0
- [@codemirror/lang-python](https://npm.io/package/@codemirror/lang-python.md) ^6.0.0
- [@codemirror/lang-angular](https://npm.io/package/@codemirror/lang-angular.md) ^0.1.0
- [@codemirror/legacy-modes](https://npm.io/package/@codemirror/legacy-modes.md) ^6.4.0
- [@codemirror/lang-markdown](https://npm.io/package/@codemirror/lang-markdown.md) ^6.0.0
- [@codemirror/lang-javascript](https://npm.io/package/@codemirror/lang-javascript.md) ^6.0.0

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 6.5.2 (latest) — 2025-10-23
- 6.5.1 — 2024-04-15
- 6.5.0 — 2024-04-07
- 6.4.1 — 2024-02-09
- 6.4.0 — 2024-01-22
- 6.3.1 — 2023-05-01
- 6.3.0 — 2023-04-20
- 6.2.1 — 2023-04-16
- 6.2.0 — 2023-03-28
- 6.1.0 — 2022-06-17
- 6.0.0 — 2022-06-08
- 0.20.0 — 2022-04-20
- 0.19.2 — 2022-02-15
- 0.19.1 — 2021-10-19
- 0.19.0 — 2021-08-11
- … 4 more at https://npm.io/package/@codemirror/language-data/versions

## README

# @codemirror/language-data [![NPM version](https://img.shields.io/npm/v/@codemirror/language-data.svg)](https://www.npmjs.org/package/@codemirror/language-data)

[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#language-data) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/language-data/blob/main/CHANGELOG.md) ]

This package implements language metadata and dynamic loading for the
[CodeMirror](https://codemirror.net/) code editor.

The [project page](https://codemirror.net/) has more information, a
number of [examples](https://codemirror.net/examples/) and the
[documentation](https://codemirror.net/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/language-data/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

---
_Source: https://npm.io/package/@codemirror/language-data · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
