# xterm-addon-search

> An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables searching the buffer. This addon requires xterm.js v4+.

Latest version **0.13.0** (published 2023-09-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install xterm-addon-search
pnpm add xterm-addon-search
yarn add xterm-addon-search
bun add xterm-addon-search
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.13.0 |
| Published | 2023-09-07 |
| First published | 2019-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 91.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | The xterm.js authors |
| Maintainers | tyriar |
| Keywords | terminal, xterm, xterm.js |

## Links

- npm: https://www.npmjs.com/package/xterm-addon-search
- Repository: https://github.com/xtermjs/xterm.js
- Homepage: https://github.com/xtermjs/xterm.js#readme
- Issues: https://github.com/xtermjs/xterm.js/issues
- npm.io page: https://npm.io/package/xterm-addon-search

## Recent versions

- 0.13.0 (latest) — 2023-09-07
- 0.14.0-beta.36 (beta) — 2023-10-31
- 0.14.0-beta.35 — 2023-10-31
- 0.14.0-beta.34 — 2023-10-30
- 0.14.0-beta.33 — 2023-10-19
- 0.14.0-beta.32 — 2023-10-19
- 0.14.0-beta.31 — 2023-10-17
- 0.14.0-beta.30 — 2023-10-13
- 0.14.0-beta.29 — 2023-10-02
- 0.14.0-beta.28 — 2023-10-02
- 0.14.0-beta.27 — 2023-09-27
- 0.14.0-beta.26 — 2023-09-20
- 0.14.0-beta.25 — 2023-09-20
- 0.14.0-beta.24 — 2023-09-16
- 0.14.0-beta.23 — 2023-09-15
- … 169 more at https://npm.io/package/xterm-addon-search/versions

## README

## xterm-addon-search

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables searching the buffer. This addon requires xterm.js v4+.

### Install

```bash
npm install --save xterm-addon-search
```

### Usage

```ts
import { Terminal } from 'xterm';
import { SearchAddon } from 'xterm-addon-search';

const terminal = new Terminal();
const searchAddon = new SearchAddon();
terminal.loadAddon(searchAddon);
searchAddon.findNext('foo');
```

See the full [API](https://github.com/xtermjs/xterm.js/blob/master/addons/xterm-addon-search/typings/xterm-addon-search.d.ts) for more advanced usage.

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