# @types/codemirror

> TypeScript definitions for codemirror

Latest version **5.60.18** (published 2026-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/codemirror
pnpm add @types/codemirror
yarn add @types/codemirror
bun add @types/codemirror
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.60.18 |
| Published | 2026-08-01 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 151 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51434 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/codemirror
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codemirror
- npm.io page: https://npm.io/package/@types/codemirror

## Dependencies (1)

- [@types/tern](https://npm.io/package/@types/tern.md) *

## Recent versions

- 5.60.18 (latest) — 2026-08-01
- 5.60.17 (ts5.3) — 2025-10-24
- 5.60.16 (ts5.1) — 2025-05-29
- 5.60.15 (ts5.0) — 2023-11-22
- 5.60.6 (ts4.2) — 2022-12-30
- 5.60.5 (ts3.9) — 2021-10-12
- 0.0.109 (ts3.7) — 2021-04-16
- 0.0.108 (ts3.4) — 2021-02-03
- 0.0.106 (ts3.3) — 2021-01-08
- 0.0.98 (ts3.2) — 2020-09-07
- 0.0.80 (ts3.0) — 2019-11-05
- 0.0.70 (ts2.0) — 2018-11-28
- 5.60.14 — 2023-11-20
- 5.60.13 — 2023-11-07
- 5.60.12 — 2023-10-18
- … 95 more at https://npm.io/package/@types/codemirror/versions

## README

# Installation
> `npm install --save @types/codemirror`

# Summary
This package contains type definitions for codemirror (https://github.com/codemirror/CodeMirror).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codemirror.

### Additional Details
 * Last updated: Sat, 01 Aug 2026 10:08:57 GMT
 * Dependencies: [@types/tern](https://npmjs.com/package/@types/tern)

# Credits
These definitions were written by [mihailik](https://github.com/mihailik), [nrbernard](https://github.com/nrbernard), [Pr1st0n](https://github.com/Pr1st0n), [rileymiller](https://github.com/rileymiller), [toddself](https://github.com/toddself), [ysulyma](https://github.com/ysulyma), [azoson](https://github.com/azoson), [kylesferrazza](https://github.com/kylesferrazza), [fityocsaba96](https://github.com/fityocsaba96), [koddsson](https://github.com/koddsson), [ficristo](https://github.com/ficristo), and [Mateusz Turcza](https://github.com/xemlock).

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