README
tscodegendsl - a TypeScript code generator domain-specific language
Call functions to build up your code into an abstract syntax tree (AST), then convert it to a string by calling astToString()
.
TypeScript codegen DSL
<script type="module">
import tscodegendsl from 'https://cdn.skypack.dev/tscodegendsl';
</script>
Call functions to build up your code into an abstract syntax tree (AST), then convert it to a string by calling astToString()
.