MCPcopy Index your code
hub / github.com/goofychris/art-template

github.com/goofychris/art-template @v4.13.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.13.2 ↗ · + Follow
407 symbols 1,623 edges 56 files 10 documented · 2% 13 cross-repo links updated 19mo agov4.13.2 · 2018-11-13★ 9,86088 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

art-template

NPM Version NPM Downloads Node.js Version Travis-ci Coverage Status

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

  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 大小

捐助我(微信支付)

[AD] 前端招聘:在海边写代码

Core symbols most depended-on inside this repo

k
called by 100
example/web-test-speed/js/highcharts.js
u
called by 75
example/web-test-speed/js/highcharts.js
render
called by 72
src/render.js
compile
called by 72
src/compile/index.js
trim
called by 63
src/compile/compiler.js
r
called by 59
example/web-test-speed/js/highcharts.js
l
called by 54
example/web-test-speed/js/highcharts.js
callRule
called by 53
test/compile/adapter/rule.art.js

Shape

Function 391
Method 12
Class 4

Languages

TypeScript100%

Modules by API surface

example/web-test-speed/js/handlebars.js65 symbols
example/web-test-speed/js/pug.min.js60 symbols
example/web-test-speed/js/jquery-1.7.2.min.js42 symbols
example/web-requirejs/require.js33 symbols
example/web-test-speed/js/swig.min.js31 symbols
example/web-test-speed/js/ejs.min.js26 symbols
example/web-test-speed/js/highcharts.js24 symbols
example/web-ie-compatible/es5-shim.min.js23 symbols
example/web-test-speed/js/mustache.min.js16 symbols
src/compile/compiler.js14 symbols
lib/template-web.js13 symbols
example/web-ie-compatible/json3.min.js11 symbols

Dependencies from manifests, versioned

acorn5.0.3 · 1×
babel-cli6.26.0 · 1×
babel-preset-env1.7.0 · 1×
coveralls2.13.0 · 1×
escodegen1.8.1 · 1×
eslint3.19.0 · 1×
eslint-loader1.7.1 · 1×
estraverse4.2.0 · 1×
html-minifier3.4.3 · 1×
is-keyword-js1.0.3 · 1×
istanbul0.4.5 · 1×

For agents

$ claude mcp add art-template \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact