TypeScript as a Template Engine

typescript-as-a-template-engine

I created a project that aims to provide code generation through TypeScript literals tags and syntax highlighting for your editor.

It enhances codegen with strictly typed templates, thanks to Typescript.

End of gotemplate, handlebars and every other error prone engine.

It comes with 3 packages for now:

  1. The core library with available literals: https://jsr.io/@tmpl/core
  2. The cli to generate files from stdin or directories: https://jsr.io/@tmpl/gen
  3. The vscode extension to read templates without eye bleeding: https://github.com/90dy/typescript-template-engine

Please give me feedback here or via GitHub issue to know what to improve.

Thanks

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
node.js-event-loop-visualized-series

Node.js Event Loop Visualized Series

Next Post
you-are-the-stack

You Are the Stack

Related Posts