4 ms·
I've been using ts-morph for this recently, the accompanying AST viewer makes getting started easy. https://github.com/dsherret/ts-morph https://github.com/dsh
by mhio 3y ago
I've been using ts-morph for this recently, the accompanying AST viewer makes getting started easy.
https://github.com/dsherret/ts-morph https://github.com/dsherret/ts-morph
https://ts-ast-viewer.com https://ts-ast-viewer.com
- love2read 3y agoOut of curiosity, what have you made?
- mhio 3y agoIt was mostly utilitarian, modifying the outputs of some code generation tools where maintaining a fork was going to be difficult. The most recent was munging some file upload details where the OpenAPI definition is incomplete (or only recently defined). Also adding some aspect oriented changes across the code (audit/log/debug).