New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@yafoo/art-template

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yafoo/art-template

JavaScript Template Engine - Fork of art-template with modernized build toolchain

latest
Source
npmnpm
Version
5.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@yafoo/art-template

Fork 自 art-template

本项目是 art-template 的 fork 版本,原项目已停止维护。 本 fork 主要更新:

  • 升级各种依赖
  • 构建工具迁移到 Vite 8(Rolldown + Oxc)

安装:npm install @yafoo/art-template

⚠️ 声明:本人技术有限,以上改动是由AI完成的,不能保证安全及兼容问题

NPM Version NPM Downloads Node.js Version

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

chart

Feature

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

特性

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

Keywords

template

FAQs

Package last updated on 28 Jul 2026

Related posts