# @babel/highlight

> Syntax highlight JavaScript strings for output in terminals.

Latest version **7.25.9** (published 2024-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @babel/highlight
pnpm add @babel/highlight
yarn add @babel/highlight
bun add @babel/highlight
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 7.25.9 |
| Published | 2024-10-22 |
| First published | 2018-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.9.0 |
| Dependencies | 4 |
| Unpacked size | 19.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 43991 |
| Author | The Babel Team (https://babel.dev/team) |
| Maintainers | hzoo, existentialism, nicolo-ribaudo, jlhwung |

## Links

- npm: https://www.npmjs.com/package/@babel/highlight
- Repository: https://github.com/babel/babel
- Homepage: https://babel.dev/docs/en/next/babel-highlight
- npm.io page: https://npm.io/package/@babel/highlight

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [js-tokens](https://npm.io/package/js-tokens.md) ^4.0.0
- [picocolors](https://npm.io/package/picocolors.md) ^1.0.0
- [@babel/helper-validator-identifier](https://npm.io/package/@babel/helper-validator-identifier.md) ^7.25.9

## Recent versions

- 7.25.9 (latest) — 2024-10-22
- 8.0.0-alpha.12 (next) — 2024-07-26
- 7.21.4-esm.4 (esm) — 2023-04-04
- 7.25.7 — 2024-10-02
- 8.0.0-alpha.11 — 2024-06-07
- 7.24.7 — 2024-06-05
- 8.0.0-alpha.10 — 2024-06-04
- 8.0.0-alpha.9 — 2024-06-03
- 7.24.6 — 2024-05-24
- 7.24.5 — 2024-04-29
- 8.0.0-alpha.8 — 2024-04-04
- 7.24.2 — 2024-03-19
- 7.24.1 — 2024-03-19
- 8.0.0-alpha.7 — 2024-02-28
- 8.0.0-alpha.6 — 2024-01-26
- … 56 more at https://npm.io/package/@babel/highlight/versions

## README

# @babel/highlight

> Syntax highlight JavaScript strings for output in terminals.

See our website [@babel/highlight](https://babeljs.io/docs/babel-highlight) for more information.

## Install

Using npm:

```sh
npm install --save-dev @babel/highlight
```

or using yarn:

```sh
yarn add @babel/highlight --dev
```

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