@typescript/native-preview

Preview CLI of the native TypeScript compiler port

  • Types
  • ESM
License
Apache-2.0
Deps
0
Install Size
14.2 kB(27.9 MB)
Vulns
0
Published

Get started

$npm install @typescript/native-preview
$pnpm add @typescript/native-preview
$yarn add @typescript/native-preview
$bun add @typescript/native-preview
$deno add npm:@typescript/native-preview
$vlt install @typescript/native-preview
# Run locally
$npx tsgo
$pnpm exec tsgo
$npx tsgo
$bunx tsgo
$deno run npm:@typescript/native-preview
$vlx tsgo

Readme

TypeScript (Native Preview)

This package provides a preview build of the native port of TypeScript. Not all features are implemented yet.

This package is intended for testing and experimentation. It will eventually be replaced by the official TypeScript package.

Usage

Use the tsgo command just like you would use tsc:

npx tsgo --help

Issues and Feedback

The native port of TypeScript is still in progress. We expect many gaps, but are seeking experimentation and feedback. If you have found differences that are not yet known, we encourage you to leave feedback on the issue tracker.