# @codemirror/search

> Search functionality for the CodeMirror code editor

Latest version **6.7.2** (published 2026-08-31) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.7.2 |
| Published | 2026-08-31 |
| First published | 2020-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 134.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marijn Haverbeke |
| Maintainers | marijn |
| Keywords | editor, code |

## Links

- npm: https://www.npmjs.com/package/@codemirror/search
- Repository: https://code.haverbeke.berlin/codemirror/search
- npm.io page: https://npm.io/package/@codemirror/search

## Dependencies (3)

- [crelt](https://npm.io/package/crelt.md) ^1.0.5
- [@codemirror/view](https://npm.io/package/@codemirror/view.md) ^6.37.0
- [@codemirror/state](https://npm.io/package/@codemirror/state.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.7.2 (latest) — 2026-08-31
- 6.7.1 — 2026-06-16
- 6.7.0 — 2026-04-21
- 6.6.0 — 2026-01-13
- 6.5.11 — 2025-05-14
- 6.5.10 — 2025-02-26
- 6.5.9 — 2025-02-12
- 6.5.8 — 2024-11-22
- 6.5.7 — 2024-11-01
- 6.5.6 — 2024-02-07
- 6.5.5 — 2023-11-27
- 6.5.4 — 2023-09-20
- 6.5.3 — 2023-09-14
- 6.5.2 — 2023-08-26
- 6.5.1 — 2023-08-04
- … 30 more at https://npm.io/package/@codemirror/search/versions

## README

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

[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#search) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/search/src/branch/main/CHANGELOG.md) ]

This package implements search functionality 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://code.haverbeke.berlin/codemirror/search/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/search · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
