Skip to content
JS
Package

twoslash

Markup for generating rich type information in your documentations ahead of time

v0.3.9, 22 Jun 2026MITESM + CommonJSTypes: BundledTypeScript tooling
$ npm install twoslash

Key numbers

As of 25 Sept 2026
Weekly downloads
600.2k
+153% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 months ago
v0.3.9
GitHub stars
943
43 forks
Open issues / PRs
21 / 1
Contributors
-
Commits, last 52 weeks
23

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 874.6k (18 Aug 2026)Low 220.9k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

600,247 downloads last week, 3,197,362 in the last month. The 12-month change of +153% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
432 in total
Latest version
0.3.9, 22 Jun 20263 months ago
First published
12 Jan 2024
Last push to GitHub
22 Jun 202695 days before the snapshot
Repository archived
No
Open issues
21
Open pull requests
1
Commits, last 52 weeks
23
Dependents on npm
-

Major versions

  1. v0 first release 0.0.6, 13 Jan 2024

Recent releases

VersionPublished
0.3.922 Jun 2026
0.3.816 Apr 2026
0.3.710 Apr 2026
0.3.621 Dec 2025
0.3.411 Aug 2025
0.3.322 Jul 2025
0.3.23 Jul 2025
0.3.127 Feb 2025
0.3.026 Feb 2025
0.2.1228 Sept 2024
0.2.117 Sept 2024
0.2.101 Sept 2024
0.2.922 Jun 2024
0.2.811 Jun 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
136 kB
Dependencies (2)
@typescript/vfstwoslash-protocol
Peer dependencies (1)
typescript
npm install twoslash
  • jsDelivrhttps://cdn.jsdelivr.net/npm/twoslash@0.3.9/
  • unpkghttps://unpkg.com/twoslash@0.3.9/
  • esm.shhttps://esm.sh/twoslash@0.3.9
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.