TypeScript

A strongly typed superset of JavaScript that compiles to clean, portable JavaScript.

Tool
npm
v7.0.2
111,245 stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
97 /100 Excellent
Development Activity 100
Maintenance 96
Community 92
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
89 /100 Excellent
Architecture 92
Code Quality 90
Innovation 85
Learning Curve 85

TypeScript is an open-source language developed by Microsoft that adds optional static typing to JavaScript. It is a strict syntactical superset of JavaScript, so every valid JS program is also valid TypeScript, but its type system lets you annotate code, catch entire classes of bugs before runtime, and unlock rich editor tooling like autocompletion and safe refactoring.

The TypeScript compiler (tsc) type-checks your code and transpiles it to standards-based JavaScript that runs in any browser, on any host, and on any OS. The same engine powers tsserver, the language service behind first-class editor support in virtually every modern IDE.

What You Get

  • The tsc command-line compiler that type-checks and transpiles TypeScript to clean JavaScript.
  • A tsconfig.json-driven configuration surface for targets, module systems, and strictness levels.
  • The tsserver language service that powers completions, diagnostics, and refactors in editors.
  • Automatic generation of .d.ts declaration files for publishing typed libraries.
  • A programmatic Compiler API exposing the scanner, parser, checker, and emitter for tooling authors.

Common Use Cases

  • Adding static type safety to new or existing JavaScript codebases.
  • Building large-scale applications where refactoring safety and editor tooling matter.
  • Authoring and publishing strongly-typed libraries with generated declaration files.
  • Powering IDE features and custom developer tooling via the Compiler API and language service.

Under The Hood

Architecture — TypeScript is a self-hosted compiler organized as a classic multi-stage pipeline under src/compiler (43 modules): a scanner tokenizes source, the parser builds an AST, the binder constructs symbol tables and scopes, and the checker performs structural type inference and type-checking before a set of transformers lower modern syntax and the emitter produces JavaScript plus .d.ts declaration files. On top of the core compiler, src/services and src/server implement the language service and tsserver that power editor features (completions, refactors, diagnostics), while src/tsc and src/tsserver are thin CLI entry points wired to the bin/tsc and bin/tsserver binaries.

Tech Stack — The project is written almost entirely in TypeScript (99.86% of the codebase) and compiles itself. It ships with zero runtime dependencies and targets Node >=14.17. The build is driven by Hereby (Herebyfile.mjs) with roughly 42 dev dependencies for bundling, linting (a custom ESLint flat config), and formatting; the public entry point is ./lib/typescript.js (the Compiler API) with tsc/tsserver exposed as bin scripts.

Code Quality — TypeScript maintains an extensive baseline-driven test suite: tests/cases holds thousands of fixtures whose compiler output is diffed against checked-in tests/baselines, exercised through the 25-file harness in src/harness and src/testRunner. Being fully typed and self-hosting, the codebase enforces its own type discipline end to end, and the maintainers gate contributions with ESLint rules, formatting checks, and CI.

API Design — Two public surfaces coexist: the tsc CLI is near-frictionless (npm install -D typescript, then tsc), driven declaratively by tsconfig.json; and the programmatic Compiler API exposes the scanner, parser, checker, and emitter for tooling authors. The CLI and config surface are highly ergonomic and exhaustively documented on typescriptlang.org, while the low-level Compiler API is powerful but expects familiarity with compiler internals.

Used by 503 apps in this directory

TypeScript
50%
Other

SigNoz

Analytics · Monitoring

32,224

Self-host your entire observability stack — logs, metrics, traces, and LLM monitoring — in one OpenTelemetry-native platform, without the Datadog bill.

View details
92
Repo Health
83
Technical
67
Dependency
Built with
TypeScript 50%
Go 38%
Updated 1 weeks ago
TypeScript
64%
AGPL 3.0

Silex

Design Tools · No Code Platforms

2,986

Free, open-source visual website builder that exports clean HTML/CSS — no lock-in, no subscription, host anywhere

View details
89
Repo Health
68
Technical
67
Dependency
Built with
TypeScript 64%
Rust 15%
JavaScript 11%
Updated 1 weeks ago
JavaScript
86%
AGPL 3.0

SillyTavern

AI Assistants

33,853

The power-user LLM frontend that unifies dozens of AI backends with a rich scripting engine, immersive Visual Novel mode, and a thriving extension ecosystem.

View details
91
Repo Health
71
Technical
67
Dependency
Built with
JavaScript 86%
Updated 2 weeks ago
TypeScript
51%
AGPL 3.0

Sink

Analytics · Bookmarks Archiving

7,173

Serverless link shortener with real-time analytics, powered by Cloudflare

View details
88
Repo Health
80
Technical
0
Dependency
Built with
TypeScript 51%
Vue 47%
Updated 1 weeks ago
Python
88%
Apache 2.0

sirchmunk

AI Development · Data Engineering

1,351

Drop your files and search them instantly — no vector DB, no indexing pipeline, just raw data queried by a self-evolving intelligence layer.

View details
84
Repo Health
70
Technical
72
Dependency
Built with
Python 88%
TypeScript 11%
Updated 2 weeks ago
TypeScript
95%
MIT

Skrun

AI Agents

209

An open, self-hostable, multi-model agent runtime that deploys any agent skill as an API via POST /run — an open-source alternative to Claude Managed Agents and Google's Gemini Enterprise Agent Platform.

View details
56
Repo Health
66
Technical
78
Dependency
Built with
TypeScript 95%
Updated 2 weeks ago
Python
78%
AGPL 3.0

Skyvern

AI Agents · Automation

23,088

Skyvern (YC S2023) automates browser-based workflows by pairing LLMs with computer vision, letting agents click, fill, and extract data on sites they've never seen, without brittle XPath selectors that break on every layout change.

View details
89
Repo Health
82
Technical
70
Dependency
Built with
Python 78%
TypeScript 20%
Updated 1 weeks ago
TypeScript
97%
AGPL 3.0

Snapify

Collaboration · Productivity

1,018

Open-source, self-hostable screen recording and video sharing built as a Loom alternative — no accounts required to watch, full S3-backed storage for your data.

View details
38
Repo Health
68
Technical
70
Dependency
Built with
TypeScript 97%
Updated 1 years ago
PHP
46%
AGPL 3.0

solidtime

Invoicing Finance · Productivity

8,933

Modern open-source time tracker for freelancers and agencies with invoicing, multi-org support, and Toggl/Clockify migration built in.

View details
84
Repo Health
81
Technical
70
Dependency
Built with
PHP 46%
TypeScript 29%
Vue 22%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers