
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
typescript
Advanced tools
TypeScript 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, and stay up to date via our blog and Twitter account.
Find others who are using TypeScript at our community page.
For the latest stable version:
npm install -D typescript
For our nightly builds:
npm install -D typescript@next
There are many ways to contribute to TypeScript.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
For details on our planned features and future direction, please refer to our roadmap.
Flow is a static type checker for JavaScript. It provides similar functionality to TypeScript, offering static typing in JavaScript, but it uses a different syntax and type system.
Babel preset for TypeScript allows Babel to parse and transpile TypeScript code. While Babel itself is mainly a JavaScript compiler, this preset brings TypeScript support to Babel's ecosystem.
CoffeeScript is a language that compiles into JavaScript. It provides syntactic sugar inspired by Ruby, Python, and Haskell to enhance JavaScript readability and brevity. It does not offer static typing but focuses on cleaner syntax.
Elm is a functional language that compiles to JavaScript. It emphasizes simplicity and quality tooling, and while it is not a direct alternative to TypeScript's type system, it offers strong typing and eliminates runtime exceptions.
Dart is an object-oriented, class-defined, garbage-collected language using a C-style syntax that transcompiles optionally into JavaScript. It includes static typing and is developed by Google, often used for building web and mobile applications.
FAQs
TypeScript is a language for application scale JavaScript development
The npm package typescript receives a total of 82,596,992 weekly downloads. As such, typescript popularity was classified as popular.
We found that typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.