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