TypeScript

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

Tool
npm
v7.0.2
110,199stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
86/100Excellent
Development Activity76
Maintenance76
Community92
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
89/100Excellent
Architecture92
Code Quality90
Innovation85
Learning Curve85

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 469 apps in this directory

Go
72%
GPL 3.0

1Panel

Devops · Hosting Control Panel · Monitoring

36,573

The only open-source VPS control panel with native AI agent runtime — deploy websites, Docker stacks, and local LLMs from one web interface.

View details
91
Repo Health
76
Technical
67
Dependency
Built with
Go72%
Vue28%
Updated today
TypeScript
76%
AGPL 3.0

Abby

Developer Tools · Product Management

167

Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.

View details
30
Repo Health
70
Technical
63
Dependency
Built with
TypeScript76%
MDX18%
Updated 1 years ago
TypeScript
99%
Other

Activepieces

Automation · AI Assistants

23,887

Open-source AI automation platform that converts 280+ workflow integrations into MCP servers for LLMs, with no-code builders and TypeScript extensibility.

View details
92
Repo Health
85
Technical
65
Dependency
Built with
TypeScript99%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,224

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated yesterday
TypeScript
88%
Other

AFFiNE

Productivity · Project Management · Note Taking

71,668

Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.

View details
91
Repo Health
87
Technical
68
Dependency
Built with
TypeScript88%
Updated today
Python
66%
Apache 2.0

Agent Control

AI Agents

295

An open-source runtime control plane for AI agents — define safety guardrails once, apply them across agents built on LangChain, CrewAI, Google ADK, or AWS Strands, and update controls without redeploying code.

View details
79
Repo Health
71
Technical
70
Dependency
Built with
Python66%
TypeScript33%
Updated yesterday
Python
99%
MIT

Agent Lightning

AI Development

17,500

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
84
Repo Health
68
Technical
69
Dependency
Built with
Python99%
Updated today
TypeScript
59%
Other

agenta

Developer Tools · Devops · AI Development

4,489

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript59%
Python39%
Updated today
Rust
64%
Apache 2.0

agentgateway

AI Development · Developer Tools

4,420

An open source AI-native proxy that secures, observes, and governs agent-to-LLM, agent-to-tool, and agent-to-agent communication through MCP, A2A, and unified LLM routing.

View details
88
Repo Health
82
Technical
72
Dependency
Built with
Rust64%
Go24%
Updated yesterday

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

Search