# @shikijs/twoslash

> Shiki transformer for twoslash

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

## Install

```sh
npm install @shikijs/twoslash
pnpm add @shikijs/twoslash
yarn add @shikijs/twoslash
bun add @shikijs/twoslash
```

## 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 | 2024-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 3 |
| Unpacked size | 62.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 13824 |
| Author | Anthony Fu <anthonyfu117@hotmail.com> |
| Maintainers | antfu, orta, octref |
| Keywords | shiki, twoslash |

## Links

- npm: https://www.npmjs.com/package/@shikijs/twoslash
- 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/@shikijs/twoslash

## Dependencies (3)

- [twoslash](https://npm.io/package/twoslash.md) ^0.3.9
- [@shikijs/core](https://npm.io/package/@shikijs/core.md) 4.4.3
- [@shikijs/types](https://npm.io/package/@shikijs/types.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
- 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
- 3.20.0 — 2025-12-12
- … 132 more at https://npm.io/package/@shikijs/twoslash/versions

## README

# @shikijs/twoslash

A [shiki](https://github.com/shikijs/shiki) transformer for [TypeScript Twoslash](https://www.typescriptlang.org/dev/twoslash/).

[Documentations](https://shiki.style/packages/twoslash)

## License

MIT

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