高性能 JavaScript 调温引擎
⚠️ 项目已停止维护 / No Longer Maintained
中文: 由于精力有限,无法继续投入维护,本项目自 2026 年 7 月 13 日起停止维护, 不再提供任何功能更新、问题修复或安全补丁。 请勿在生产环境中继续使用本项目,并尽快迁移到其他仍在积极维护的替代方案。 仍在依赖本项目的用户,建议尽早移除或替换该依赖。 感谢一直以来的使用与支持。
English: Due to limited time and capacity, this project is no longer maintained as of July 13, 2026. It will receive no further feature updates, bug fixes, or security patches. Please do not use it in production, and migrate to an actively maintained alternative as soon as possible. Projects that still depend on it are strongly advised to remove or replace this dependency. Thank you for your past use and support.
art-template is a simple and superfast templating engine that optimizes template rendering speed by scope pre-declared technique, hence achieving runtime performance which is close to the limits of JavaScript. At the same time, it supports both NodeJS and browser. speed test online.
art-template 是一个简约、超快的模板引擎。它采用作用域预声明的技术来优化模板渲染速度,从而获得接近 JavaScript 极限的运行性能,并且同时支持 NodeJS 和浏览器。在线速度测试。
项目已停止维护 / 不再维护
还要维护吗?安装时有一些安全提示
如何控制换行?
艺术模板
艺术
http://goofychris.ZGitHub.io/art-template/zh-cn/docs/index.html 页面存档备份,存于互联网档案馆. 文档网站加载很慢
是否可以支持自定义的异步函数?
使用 express art-template 渲染出来的页面源码中包含空格
art-template-经验.txt
不支持与 bun.js 结合使用,因为 require.extensions[template.defaults.extname] = extension; 似乎不受支持