npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

easy.templatejs

v2.1.1

Published

Small, pure, high-performance JavaScript template engine.

Downloads

2

Readme

EasyTemplateJS

EasyTemplateJS(EasyTemplate JavaScript)是一款小巧,纯粹,高性能的 JavaScript 模板引擎。

EasyTemplateJS(EasyTemplate JavaScript) is a small, pure, high-performance JavaScript template engine.

The latest version: 2.1.1-RELEASE

Feature/特点

  • 中文

    • 小巧,纯粹

    • 预先静态编译,高性能

    • 灵活自定义

    • 支持转义输出表达式

    • 支持 out 输出

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

    • Bower 支持

  • English

    • Small, pure

    • Pre-statically compiled, high-performance

    • Flexible customization

    • Escape output expressions are supported

    • Support out output

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

    • 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/使用文档

中文

中文详细使用文档

官方主页

留言评论

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

English

English detailed 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

支付宝钱包扫一扫捐助:

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

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

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.

PayPal