tsparse

dump TypeScript lexical AST

Usage no npm install needed!

<script type="module">
  import tsparse from 'https://cdn.skypack.dev/tsparse';
</script>

README

tsparse dumps TypeScript lexical ASTs into HTML.

Install

npm install -g tsparse

Use

tsparse foo.ts > foo.html
google-chrome foo.html

Build from source

npm install -g typings
typings install
npm install
tsc