TypeScript Compiler API

The TypeScript Compiler API provides programmatic access to the TypeScript compiler for parsing, analyzing, and transforming TypeScript and JavaScript code. Developers can create custom linters, code generators, documentation tools, and IDE integrations using the AST manipulation and type checking capabilities.

API entry from apis.yml

apis.yml Raw ↑
aid: microsoft-typescript:compiler-api
name: TypeScript Compiler API
tags:
- Compiler
- Language Tools
- TypeScript
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
humanURL: https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API
properties:
- url: https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API
  type: Documentation
description: The TypeScript Compiler API provides programmatic access to the TypeScript compiler for parsing,
  analyzing, and transforming TypeScript and JavaScript code. Developers can create custom linters, code
  generators, documentation tools, and IDE integrations using the AST manipulation and type checking capabilities.