{"library":"template-compiler","type":"library","category":null,"description":"atc (Art Template Compiler) 是一款前端模板预编译工具，当前稳定版本 1.2.1，作为 artTemplate 的子项目，它将模板与目录/文件关联，支持 include 语句和文件组织。与普通模板引擎不同，atc 将模板编译为 CMD/AMD 模块，可异步加载，并依赖 SeaJS 或 RequireJS 等加载器。它包含 Windows 批处理版本和 Node.js 版本，支持路径配置和辅助方法处理。主要的前端模板优化部署工具，但项目已不再活跃更新。","language":"javascript","status":"deprecated","version":"1.2.1","tags":["javascript","template","artTemplate","RequireJS","SeaJS","AMD","CMD"],"last_verified":"Fri May 01","install":[{"cmd":"npm install template-compiler","imports":["import 'atc/compiler.js'"]},{"cmd":"yarn add template-compiler","imports":[]},{"cmd":"pnpm add template-compiler","imports":[]}],"homepage":null,"github":"https://github.com/cdc-im/atc","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/template-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}