{"repo":"90dy/typescript-template-engine","free":true,"listed":false,"github":"https://github.com/90dy/typescript-template-engine","clone":"git clone https://github.com/90dy/typescript-template-engine.git","description":"🧬 TypeScript as a template engine","language":"TypeScript","stars":10,"topics":["codegen","tags","template","typescript"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"TypeScript Template Engine A monorepo for TypeScript template engine tools and libraries. This project enables using TypeScript template literals with proper syntax highlighting for various file formats in VSCode, along with code generation capabilities. Features - Use TypeScript template literals as a templating engine - Syntax highlighting for various file types within template literals - Support for multiple file types in a single template - Support for 40+ programming languages and file formats - Easy to extend with new file type support - Test utilities for verifying templates Packages This monorepo contains the following packages: @tmpl/core Core template literals functionality with syntax highlighting. @tmpl/gen Code generation CLI for template literals. Create template files with language extensions and generate code from them. Usage Examples Template Literals (@tmpl/core) VSCode Extension This project includes a VSCode extension that provides syntax highlighting for template literals within TypeScript (.ts) files. To use it: 1. Install the extension from the VSCode marketplace 2. Use the appropriate tag functions in your TypeScript code (html, css, js, etc.) 3. The content inside the template literals will be highlighted with the appropriate syntax highlighting for that language 4. This works directly in your .ts files - no special file extensions needed! Architecture The project consists of: 1. Core template tag functions for various file types 2. A registry system ","default_branch":null,"files":null,"tree":[],"storefront":"/r/90dy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/90dy/typescript-template-engine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}