Angular Docgen
This is a low level library for parsing Angular components into JSON, inspired heavily by react-docgen. The intended use case is for documenting design systems where you want full control over the visuals.
Use in conjunction with angular-docgen-loader to load the component definitions into your angular project.
Sample input
; /** * A nice button component */
Sample output
It works by using the typescript parser to parse an Angular component file into an Abstract Syntax Tree (AST).
If you fancy a go at working with this I recommend using the wonderful astexplorer.net. Paste the sample component in, use the Typescript loader and then you can see the AST that you need to navigate.