0.1.0 • Published 5 years ago

typescript-ast-debug v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

typescript-ast-debug

Outputs ast of typescript source file

Example

Use tsast filename.ts, outputs to stdout:

$ cat input.ts
console.log("Hello World");
$ tsast input.ts
{"kind":"SourceFile","text":"","children":[{"kind":"SyntaxList","text":"","children":[]},{"kind":"EndOfFileToken","text":"","children":[]}]}
$ tsast input.ts | fx