# shiki

> A beautiful Syntax Highlighter.

Latest version **4.4.3** (published 2026-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install shiki
pnpm add shiki
yarn add shiki
bun add shiki
```

## Health

**Score 80/100 (A)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.4.3 |
| Published | 2026-08-10 |
| First published | 2014-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 8 |
| Unpacked size | 588.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 13822 |
| Author | Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com> |
| Maintainers | antfu, orta, octref, shiki-deploys |
| Keywords | shiki |

## Links

- npm: https://www.npmjs.com/package/shiki
- Repository: https://github.com/shikijs/shiki
- Homepage: https://github.com/shikijs/shiki#readme
- Issues: https://github.com/shikijs/shiki/issues
- npm.io page: https://npm.io/package/shiki

## Dependencies (8)

- [@types/hast](https://npm.io/package/@types/hast.md) ^3.0.5
- [@shikijs/core](https://npm.io/package/@shikijs/core.md) 4.4.3
- [@shikijs/langs](https://npm.io/package/@shikijs/langs.md) 4.4.3
- [@shikijs/types](https://npm.io/package/@shikijs/types.md) 4.4.3
- [@shikijs/themes](https://npm.io/package/@shikijs/themes.md) 4.4.3
- [@shikijs/vscode-textmate](https://npm.io/package/@shikijs/vscode-textmate.md) ^10.0.2
- [@shikijs/engine-oniguruma](https://npm.io/package/@shikijs/engine-oniguruma.md) 4.4.3
- [@shikijs/engine-javascript](https://npm.io/package/@shikijs/engine-javascript.md) 4.4.3

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 4.4.3 (latest) — 2026-08-10
- 0.9.4 (next) — 2021-05-18
- 4.4.2 — 2026-08-05
- 4.4.1 — 2026-07-31
- 4.4.0 — 2026-07-31
- 4.3.1 — 2026-07-03
- 4.3.0 — 2026-06-25
- 4.2.0 — 2026-06-03
- 4.1.0 — 2026-05-19
- 4.0.2 — 2026-03-09
- 4.0.1 — 2026-03-02
- 4.0.0 — 2026-02-27
- 3.23.0 — 2026-02-25
- 3.22.0 — 2026-01-30
- 3.21.0 — 2026-01-07
- … 187 more at https://npm.io/package/shiki/versions

## README

<img src="https://raw.githubusercontent.com/shikijs/shiki/main/docs/public/logo.svg" width="150" alt="Shiki Logo" />

# Shiki 式

[![NPM version](https://img.shields.io/npm/v/shiki?color=32A9C3&labelColor=1B3C4A&label=npm)](https://www.npmjs.com/package/shiki)
[![NPM downloads](https://img.shields.io/npm/dm/shiki?color=32A9C3&labelColor=1B3C4A&label=downloads)](https://www.npmjs.com/package/shiki)
[![Codecov](https://img.shields.io/codecov/c/github/shikijs/shiki?token=B85J0E2I7I&style=flat&labelColor=1B3C4A&color=32A9C3&precision=1)](https://app.codecov.io/gh/shikijs/shiki)

A beautiful syntax highlighter based on TextMate grammars, accurate and powerful.

[📚 **Documentation**](https://shiki.style)

## License

[MIT](./LICENSE)

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