{"repo":"yanhaijing/template.js","free":true,"listed":false,"github":"https://github.com/yanhaijing/template.js","clone":"git clone https://github.com/yanhaijing/template.js.git","description":"A javascript template engine, simple, easy & extras, support webpack, rspack, vite, rollup, esbuild, parcel, browserify, fis and gulp.","language":"JavaScript","stars":1318,"topics":["tmpl","arttemplate","templatejs","baidutemplate","juicer","handlebars","jade","fis","parcel","rollup"],"license":"MIT","category":"cli-tools","readme_excerpt":"template.js English 简体中文 A javascript template engine that is simple, easy to use, and supports webpack, rspack, vite, esbuild, rollup, parcel, browserify, fis, and gulp. Features - Native JS syntax, template parsing, compilation, and rendering - Supports all browsers and Node, supports TypeScript - Precompilation supports mainstream packaging tools - Custom configurations, decorators, and functions - Data filtering support - Exception capture functionality - Subtemplates - Sandbox mode - Supports JIT and AOT compilation modes - Provides CLI integrated tools - Provides support for editor plugins User Guide template.js is a better way than concatenating strings, Click to use codesandbox for a quick demo Template example Data example Render output Editor plugins supported by template.js Editor Plugin -------- ------------------------------------------------------------------------------------------------- Vscode highlight plugin Sublime highlight plugin Atom highlight plugin WebStorm TODO Quickly initialize a project using CLI tools If you already have a project, you can choose a corresponding plugin, template.js supports different usage methods Platform Plugin --------------------- ------------------------------------------------------------------------------------------------------------------------------------------------- webpack / rspack template-loader vite / rollup rollup-plugin-templatejs esbuild esbuild-plugin-templatejs parcel2 parcel-transformer-template parcel1 parc","default_branch":null,"files":null,"tree":[],"storefront":"/r/yanhaijing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yanhaijing/template.js/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."}