# typescript

> TypeScript is a language for application scale JavaScript development

Latest version **7.0.2** (published 2026-07-08) · Apache-2.0 license · 0 weekly downloads

## Install

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

Provides the command `tsc`.

## Health

**Score 73/100 (B)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 7.0.2 |
| Published | 2026-07-08 |
| First published | 2012-10-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | separate (@types/typescript) |
| Module format | ESM |
| Node | >=16.20.0 |
| Dependencies | 20 |
| Unpacked size | 2.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 110977 |
| Author | Microsoft Corp. |
| Maintainers | microsoft1es, typescript-bot, weswigham, andrewbranch, typescript-deploys, microsoft-oss-releases, jakebailey |
| Keywords | TypeScript, Microsoft, compiler, language, javascript |

## Links

- npm: https://www.npmjs.com/package/typescript
- Repository: https://github.com/microsoft/TypeScript
- Homepage: https://www.typescriptlang.org/
- Issues: https://github.com/microsoft/TypeScript/issues
- npm.io page: https://npm.io/package/typescript

## Dependencies (20)

- [@typescript/typescript-aix-ppc64](https://npm.io/package/@typescript/typescript-aix-ppc64.md) 7.0.2
- [@typescript/typescript-linux-arm](https://npm.io/package/@typescript/typescript-linux-arm.md) 7.0.2
- [@typescript/typescript-linux-x64](https://npm.io/package/@typescript/typescript-linux-x64.md) 7.0.2
- [@typescript/typescript-sunos-x64](https://npm.io/package/@typescript/typescript-sunos-x64.md) 7.0.2
- [@typescript/typescript-win32-x64](https://npm.io/package/@typescript/typescript-win32-x64.md) 7.0.2
- [@typescript/typescript-darwin-x64](https://npm.io/package/@typescript/typescript-darwin-x64.md) 7.0.2
- [@typescript/typescript-netbsd-x64](https://npm.io/package/@typescript/typescript-netbsd-x64.md) 7.0.2
- [@typescript/typescript-freebsd-x64](https://npm.io/package/@typescript/typescript-freebsd-x64.md) 7.0.2
- [@typescript/typescript-linux-arm64](https://npm.io/package/@typescript/typescript-linux-arm64.md) 7.0.2
- [@typescript/typescript-linux-ppc64](https://npm.io/package/@typescript/typescript-linux-ppc64.md) 7.0.2
- [@typescript/typescript-linux-s390x](https://npm.io/package/@typescript/typescript-linux-s390x.md) 7.0.2
- [@typescript/typescript-openbsd-x64](https://npm.io/package/@typescript/typescript-openbsd-x64.md) 7.0.2
- [@typescript/typescript-win32-arm64](https://npm.io/package/@typescript/typescript-win32-arm64.md) 7.0.2
- [@typescript/typescript-darwin-arm64](https://npm.io/package/@typescript/typescript-darwin-arm64.md) 7.0.2
- [@typescript/typescript-netbsd-arm64](https://npm.io/package/@typescript/typescript-netbsd-arm64.md) 7.0.2
- [@typescript/typescript-freebsd-arm64](https://npm.io/package/@typescript/typescript-freebsd-arm64.md) 7.0.2
- [@typescript/typescript-linux-loong64](https://npm.io/package/@typescript/typescript-linux-loong64.md) 7.0.2
- [@typescript/typescript-linux-riscv64](https://npm.io/package/@typescript/typescript-linux-riscv64.md) 7.0.2
- [@typescript/typescript-openbsd-arm64](https://npm.io/package/@typescript/typescript-openbsd-arm64.md) 7.0.2
- [@typescript/typescript-linux-mips64el](https://npm.io/package/@typescript/typescript-linux-mips64el.md) 7.0.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 7.0.2 (latest) — 2026-07-08
- 7.1.0-dev.20260912.1 (next) — 2026-09-12
- 7.0.1-rc (rc) — 2026-06-18
- 6.0.0-beta (beta) — 2026-02-11
- 4.6.2-insiders.20220225 (insiders) — 2022-02-25
- 4.1.6 (tag-for-publishing-older-releases) — 2021-06-16
- 3.9.4 (dev) — 2020-05-29
- 7.1.0-dev.20260911.1 — 2026-09-11
- 7.1.0-dev.20260910.1 — 2026-09-10
- 7.1.0-dev.20260909.1 — 2026-09-09
- 7.1.0-dev.20260908.1 — 2026-09-08
- 7.1.0-dev.20260907.1 — 2026-09-07
- 7.1.0-dev.20260906.1 — 2026-09-06
- 7.1.0-dev.20260905.1 — 2026-09-05
- 7.1.0-dev.20260904.1 — 2026-09-04
- … 3808 more at https://npm.io/package/typescript/versions

## README

# TypeScript

[![CI](https://github.com/microsoft/TypeScript/actions/workflows/ci.yml/badge.svg)](https://github.com/microsoft/TypeScript/actions/workflows/ci.yml)
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
[![Downloads](https://img.shields.io/npm/dm/typescript.svg)](https://www.npmjs.com/package/typescript)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microsoft/TypeScript/badge)](https://securityscorecards.dev/viewer/?uri=github.com/microsoft/TypeScript)

[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://devblogs.microsoft.com/typescript/) and [Bluesky](https://bsky.app/profile/typescriptlang.org).

Find others who are using TypeScript at [our community page](https://www.typescriptlang.org/community/).

## Installing

For the latest stable version:

```bash
npm install -D typescript
```

For our nightly builds:

```bash
npm install -D typescript@next
```

## Contribute

There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeScript.

* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls).
* Engage with other TypeScript users and developers on [Stack Overflow](https://stackoverflow.com/questions/tagged/typescript).
* Help each other in the [TypeScript Community Discord](https://discord.gg/typescript).
* Join the [#typescript](https://bsky.app/search?q=%23typescript) discussion on Bluesky.
* [Contribute bug fixes](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md).

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see
the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com)
with any additional questions or comments.

## Documentation

* [TypeScript in 5 minutes](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
* [Programming handbook](https://www.typescriptlang.org/docs/handbook/intro.html)
* [Homepage](https://www.typescriptlang.org/)

## Roadmap

For details on our planned features and future direction, please refer to our [roadmap](https://github.com/microsoft/TypeScript/wiki/Roadmap).

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