Elestia Open Source Ratings
1.9

TypeScript native preview (tsgo)

Do not start with it. 9th of 10 type checkers.

@typescript/native-preview was the nightly preview channel for Microsoft's Go port of the TypeScript compiler, run as tsgo. It is now replaced: TypeScript 7 ships the same compiler as tsc in the typescript package, the staging repository was archived on 1 September 2026, and the preview package's last build is a July 2026 dev snapshot. Do not start a new project with it. Install typescript@^7 instead, or typescript@next if you want nightly builds.

Best for: Nobody starting today: projects that still pin it should move to typescript@7, or to typescript@next for nightlies.

GitHubnpm

Scores

Overall1.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 2.0, likely 1.0 to 3.0

The compiler is excellent, but this package has been replaced by its own successor. The same compiler ships as stable tsc in typescript@7, with ongoing fixes, and nightlies ship as typescript@next. Projects that pin @typescript/native-preview should migrate; new projects should never add it.

GPT-6.2 Sol: 1.8, likely 0.9 to 2.7

The final preview is still a capable checker, and a pinned copy is useful for reproducing older results. Stable TypeScript 7 gives new projects the same native compiler through the maintained `typescript` package. The confirmed move makes the recommendation clear even though the old package still gets substantial traffic.

Needed by many7.6

How many developers need a tool for this job?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Most TypeScript developers need a type checker in most projects, and this tool checks plain TypeScript in any project. It cannot check Vue, Svelte or Astro files, and tooling that needs a compiler API cannot use it. That narrows it a little below the whole category.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.2

The checker serves ordinary TypeScript and checked JavaScript projects across frameworks and runtimes. State of JS shows that TypeScript accounts for a large share of respondents’ work. The range reflects how many teams need framework-specific template checking or compiler integrations that this build cannot provide.

Helps a lot7.1

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 4.0 to 7.0

The compiler in this package checks types like TypeScript 6 at about 10x the speed, which is excellent. The package is frozen at a dev build from 7 July 2026, so it misses the fixes in 7.0.2 and later. It has no API, and the stable typescript package does the same job better.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

The final July preview combines familiar TypeScript diagnostics and project configuration with much faster full checks in independent tests. One user also reported differences in JavaScript inference after migrating a large codebase. The unstable compiler API, embedded-language gaps, and small benchmark sample leave room for variation across projects.

Holds up over time1.2

Will it still be a good choice in two years?

Claude Opus 5.5: 1.0, likely 0.0 to 2.0

The repository was archived on 1 September 2026, and development moved to microsoft/TypeScript. Nightlies now ship as typescript@next, and this package has had no build since July. The compiler itself has a strong future, but under another package name.

GPT-6.2 Sol: 1.4, likely 0.7 to 2.4

The staging repository is archived, and the preview package last published on July 7, 2026. Microsoft moved active development and nightly builds to `typescript`, giving a clear upgrade path and little reason to expect updates to the old package.

Used widely5.3

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 3.0 to 7.0

Downloads were about 28M in the last 4 weeks, up 5.7x on a year before, which beats the 4.1 median. That number mostly comes from CI runs of projects that adopted the preview before 7.0 shipped. New projects pick typescript@7, so this package's share should fall. The repository's 26k stars were earned for the port as a whole.

  • npm downloadsLast4Weeks: 27.9M now against 4.9M a year before
  • medianDownloadsRatio: The 5.7x ratio is above the 4.1 median, but it reflects the preview period
  • infoq.com/news/2026/08/typescript-7-released: More than 8.5M weekly downloads before GA

GPT-6.2 Sol: 5.6, likely 3.7 to 7.2

The preview recorded 27.9 million four-week installs, up 5.7× year over year against the 4.1× baseline. Repeated CI installs inflate that total, and repository attention includes interest in the stable compiler. Documented migrations to `typescript` point away from new adoption of the preview, while the missing dependent count leaves the number of projects using it uncertain.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 27.9 million versus 4.9 million installs, with 5.7× growth against the 4.1× baseline.
  • github stars, bluesky posts, dependents, and peers: 26,063 stars and at least 100 Bluesky posts cover the native-port repository. The preview lacks a dependent count, while `typescript` has about 2.1 million observed dependent repos across all its uses.
  • github.com/elizaOS/eliza/issues/16128: Documents a switch from the preview to stable TypeScript 7 for native checks.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 3.0 to 7.0

The compiler has strong, current backing: VS Code, Slack and Vanta report large speedups, and community benchmarks on Sentry, Playwright and tldraw agree. That backing now goes to TypeScript 7 in the typescript package, not to this frozen preview package. The Bluesky top posts also note that framework support is missing.

  • infoq.com/news/2026/08/typescript-7-released: Production reports from Slack and Vanta; 7.7-8.9x community benchmarks
  • hackerNews top: The TypeScript 7 story scored 720 points
  • bluesky top: Daniel Roe notes there is no Vue or Svelte type-checking yet

GPT-6.2 Sol: 7.0, likely 5.8 to 8.1

Independent tests measured substantial speedups on the exact package, and teams reported running previews in real monorepos and CI, including Grafana. These reports establish practical value, but mainly cover pre-release trials and migrations. Oxc’s stable integration validates the native engine shipped in TypeScript 7.0.2.

Safe6.2

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 4.0 to 8.0

It is published by Microsoft under Apache-2.0, has no advisories, and runs only as a dev-time tool. Its 7 dependencies are mostly platform binaries. It has no Scorecard data, and as a frozen dev snapshot from an archived repository it will get no security or bug fixes.

  • advisories total: No known advisories
  • npm dependencies: 7 dependencies
  • scorecard: No Scorecard data
  • github license: Apache-2.0

GPT-6.2 Sol: 6.4, likely 4.9 to 7.9

The package uses the permissive Apache-2.0 license, and OSV lists zero advisories. Its seven npm dependencies are pinned alternatives for different platforms. Microsoft provides a security reporting channel, but fixes now ship through `typescript`, and the preview’s publishing controls and OpenSSF checks could not be verified.

Good

  • Type checking is about 8-10x faster than the TypeScript 6 JavaScript compiler, with matching results on real codebases.
  • It is published by Microsoft's TypeScript team under the Apache-2.0 licence, with no known advisories.
  • Large codebases tested it heavily, and their results fed into the stable TypeScript 7 release.

Bad

  • The repository is archived and the package has had no build since July 2026, so it gets no further fixes.
  • The typescript package now ships the same compiler as stable tsc, which makes this package obsolete.
  • Like TypeScript 7.0, it has no programmatic API, so Vue, Svelte, Astro and typescript-eslint tooling cannot use it.
  • The frozen build has the TypeScript 7 breaking changes, such as hard errors for 6.0 deprecations and the removal of baseUrl, without the later fixes.

The numbers

npm downloads, 4 weeks
28M ×5.7 in a year
GitHub stars
26k
Commits, 12 months
1.2k
npm version
7.0.0-dev.20260707.2 Jul 2026
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
Apache-2.0

The preview package of the TypeScript compiler written in Go. TypeScript 7 ships that compiler in the typescript package.

Read on 21 November 2026 from GitHub (microsoft/typescript-go), npm (@typescript/native-preview), OSV and the OpenSSF Scorecard.

Type checkers

  1. 9.4TypeScript (tsc)
  2. 7.8svelte-check
  3. 7.3vue-tsc
  4. 6.5bun check
  5. 6.2astro check
  6. 6.1tsrs
  7. 4.4Flow
  8. 3.5deno check
  9. 1.9TypeScript native preview (tsgo)
  10. 1.8Ezno
Compare all 10 on six scores