Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

art-template

> 后端框架
Open source

High performance JavaScript templating engine

9.9K stars0 likes3 views
WebsiteGitHub

About

High performance JavaScript templating engine

⚠️ 项目已停止维护 / 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

English document | 中文文档

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 和浏览器。在线速度测试。

Feature

  1. performance is close to the JavaScript rendering limits
  2. debugging friendly. Syntax errors or runtime errors will be positioned accurately at which line of template. Support setting breakpoint in templating files (Webpack Loader)
  3. support Express, Koa, Webpack
  4. support template inheritance and sub template
  5. browser version is only 6KB

特性

  1. 拥有接近 JavaScript 渲染极限的的性能
  2. 调试友好:语法、运行时错误日志精确到模板所在行;支持在模板文件上打断点(Webpack Loader)
  3. 支持 Express、Koa、Webpack
  4. 支持模板继承与子模板
  5. 浏览器版本仅 6KB 大小

Issues· 93 open

View all issuesOpen on GitHub
  • #667

    项目已停止维护 / No Longer Maintained

    Updated Jul 13, 2026
  • #657

    还维护吗,安装的时候有一些安全提示

    Updated Jul 2, 2026
  • #533

    如何控制换行?

    Updated Sep 24, 2025
  • #663

    Art template

    Updated Jun 6, 2025
  • #656

    Art

    Updated Jan 9, 2025
  • #655

    http://goofychris.github.io/art-template/zh-cn/docs/index.html 文档网站加载很慢

    Updated Dec 6, 2024
  • #653

    是否可以支持自定义的异步函数?

    Updated Jul 24, 2024
  • #650

    用express art-template渲染出来的页面源码有空格

    Updated Dec 21, 2023
  • #628

    art-template-经验.txt

    Updated Jul 19, 2023
  • #649

    Doesn't work with bun.js because require.extensions[template.defaults.extname] = extension; looks like it's not supported

    Updated Jul 18, 2023

> Tags

JavaScriptexpressjavascriptkoanodejs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架