Extract .api.json files with API surface information from TypeScript program files, a powerful tool for analyzing and documenting your codebase.
API Extractor is an open-source tool developed by Microsoft to help track and manage public APIs in TypeScript libraries. It analyzes TypeScript code to detect exported symbols, validates documentation comments, and emits an .api.json file containing metadata about the library's API surface.
Some key features of API Extractor include:
By using API Extractor, TypeScript library authors can define their public API surface, validate documentation coverage, and produce human-readable documentation pages. It improves maintainability and catches API changes early during development.