All Projects → ushelp → Easytemplatejs

ushelp / Easytemplatejs

Licence: mit
小巧,纯粹,高性能的 JavaScript 模板引擎,支持浏览器, Node.js, Express, koa。Small, pure, high-performance JavaScript template engine, support Browser, Node.js, Express, Koa.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Easytemplatejs

Ejsexcel
nodejs excel template engine. node export excel
Stars: ✭ 621 (+4335.71%)
Mutual labels:  template-engine
Dot Dom
.dom is a tiny (512 byte) template engine that uses virtual DOM and some of react principles
Stars: ✭ 757 (+5307.14%)
Mutual labels:  template-engine
React email editor
This project is experimental! It's my attempt to create visual email template editor using React+Redux+etc... tools stack.
Stars: ✭ 19 (+35.71%)
Mutual labels:  template-engine
Liquidjs
A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
Stars: ✭ 638 (+4457.14%)
Mutual labels:  template-engine
Handlebars.net
A real .NET Handlebars engine
Stars: ✭ 723 (+5064.29%)
Mutual labels:  template-engine
Selmer
A fast, Django inspired template system in Clojure.
Stars: ✭ 801 (+5621.43%)
Mutual labels:  template-engine
J2html
Java to HTML generator. Enjoy typesafe HTML generation.
Stars: ✭ 604 (+4214.29%)
Mutual labels:  template-engine
Vscode Smarty
Smarty syntax highlight extension for Visual Studio Code
Stars: ✭ 10 (-28.57%)
Mutual labels:  template-engine
Jet
Jet template engine
Stars: ✭ 756 (+5300%)
Mutual labels:  template-engine
Crisscross
A Markdown-centric template engine for batch offline document generation.
Stars: ✭ 18 (+28.57%)
Mutual labels:  template-engine
Blade
🚀 Lightning fast and elegant mvc framework for Java8
Stars: ✭ 5,569 (+39678.57%)
Mutual labels:  template-engine
Inja
A Template Engine for Modern C++
Stars: ✭ 715 (+5007.14%)
Mutual labels:  template-engine
Bars
Bars is a lightweight high performance HTML aware templating engine. Bars emits DOM rather than DOM-strings, this means the DOM state is preserved even if data updates happen.
Stars: ✭ 5 (-64.29%)
Mutual labels:  template-engine
Handlebars Rust
Rust templating with Handlebars
Stars: ✭ 632 (+4414.29%)
Mutual labels:  template-engine
Spring Velocity Support
An support project of legacy velocity based on Spring Framework
Stars: ✭ 22 (+57.14%)
Mutual labels:  template-engine
Latte
☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites.
Stars: ✭ 616 (+4300%)
Mutual labels:  template-engine
Gorazor
Razor view engine for go
Stars: ✭ 772 (+5414.29%)
Mutual labels:  template-engine
Docxtemplater Link Module
⚓️ Hyperlink module for docxtemplater
Stars: ✭ 12 (-14.29%)
Mutual labels:  template-engine
Templates
Simple PHP template engine which is easy to use
Stars: ✭ 26 (+85.71%)
Mutual labels:  template-engine
Hamlit
High Performance Haml Implementation
Stars: ✭ 898 (+6314.29%)
Mutual labels:  template-engine

EasyTemplateJS

EasyTemplateJS(EasyTemplate JavaScript)是一款超高性能,小巧纯粹,功能全面的 JavaScript 模板引擎。支持浏览器环境, Node.js 环境,Express 和 Koa 框架。

EasyTemplateJS(EasyTemplate JavaScript) is an ultra-high performance, compact, full-featured JavaScript template engine. Support for browser environment, Node.js environment, Express framework and Koa framework.

Feature/特点

  • 中文

    • 超高性能,预先静态编译,小巧,纯粹

    • 灵活自定义

    • 支持转义输出表达式

    • 支持 out 输出

    • 支持内嵌 JavaScript 脚本(<etj-script>...</etj-script>)和 CSS 样式脚本(<etj-script>...</etj-script>)

    • 模块化支持:CommonJS, AMD, CMD, Node.js

    • Node.js 环境支持

    • Express, koa 框架支持

    • npm, Bower 支持

  • English

    • Ultra-high performance, pre-static compilation, small, pure

    • Flexible customization

    • Escape output expressions are supported

    • Support out output

    • Support embedded JavaScript (<etj-script>...</etj-script>) and CSS(<etj-script>...</etj-script>)

    • Module support:CommonJS, AMD, CMD, Node.js

    • Node.js enviroment support

    • Express, koa framework support

    • npm, Bower support

Performance test comparison/性能测试对比

从渲染性能上来说, EasyTemplateJS 和 artTemplate 都是使用预先静态编译原理,可以说已经接近的性能极限,是当前性能最高的模板引擎。一些较差的引擎不仅可能影响客户体验,还会会引起浏览器崩溃或异常终止,百度的引擎则性能较差,对浏览器渲染执行影响巨大。

From the rendering performance, EasyTemplate and artTemplate are using pre-static compilation principle, can be said to have close to the performance limit, is the highest performance of the template engine. Some poor engine may not only affect the customer experience, but also cause the browser to crash or abnormal termination, Baidu engine performance is poor, the implementation of the browser rendering a huge impact.

Performance test comparison

Installation/安装

  • Download install/下载安装

     <script type="text/javascript" src="easy.templatejs.min.js"></script>
    
  • Bower install/Bower 安装

     bower install easytemplatejs --save
    
     <script src="bower_components/easytemplate/dist/easy.templatejs.min.js" type="text/javascript" charset="utf-8"></script>
    
  • Npm install/Npm 安装

     npm install easytemplatejs
    
     var Et = require('easytemplatejs');
    

Use document/使用文档

中文

中文详细使用文档

Express 使用文档

Koa 使用文档

官方主页

留言评论

如果您有更好意见,建议或想法,请联系我。

English

English detailed documentation

Express documentation

Koa documentation

The official home page

Comments

If you have more comments, suggestions or ideas, please contact me.

End

Email:[email protected]

http://www.easyproject.cn

Donation/捐助:


支付宝/微信/QQ/云闪付/PayPal 扫码支付
支付宝/微信/QQ/云闪付/PayPal

我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。

感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。

We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.

Thank you donation to support the server running and encourage more community members.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].