TypeScript Parser for AST Generation

JSON →
library 2.6.1 ·javascript abandoned
verified May 27, 2026

The `typescript-parser` package provides a utility for parsing TypeScript and JavaScript files to generate a 'human-readable' Abstract Syntax Tree (AST). It leverages the official TypeScript compiler's parsing capabilities internally. The current stable version is 2.6.1, released in August 2018. Due to the lack of activity since then, its release cadence is effectively halted. Its key differentiator lies in its promise of a more accessible AST representation compared to the raw TypeScript compiler AST, aiming to simplify consumption for tools that need to analyze code structure, such as IDE extensions or code generators. It primarily operates by parsing either source code strings or file paths, and can also build a declaration index for multiple files.

total hits 36
actors 8 distinct systems
last hit 1d ago ByteDance
GPTBot
5
MetaBot
3
Script
1
Amazonbot
1
ByteDance
1
Search engines
1
Humans
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇸🇬 Singapore · 🇩🇪 Germany