百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
J

jadelet

> 前端框架
开源

纯粹而简单的客户端模板

379 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

纯粹而简单的客户端模板

Jadelet

Pure and simple clientside templates

Jadelet is the cleanest and simplest way to describe your templates. It is a breeze to learn. Jadelet attributes correspond directly with HTML attributes. If you know HTML then you already know Jadelet.

Other libraries and frameworks put up barriers between you and the DOM. Like a dutiful servant, Jadelet brings the power of the DOM into your hands.

Jadelet is the smallest of all clientside templating libraries ( output.js

echo "h1#title @title" | jadelet

Options

-d, --directory [directory] Compile all .jadelet files in the given directory.

bash
jadelet -d templates

--encoding [encoding] Encoding of files being read from --directory (default 'utf-8')

--exports, -e [name] Export compiled template as (default "module.exports")

When used with -d you can use $file to take on the stringified name of the current file. For example:

bash
jadelet -d templates/ -e 'T[$file]'

The files will export as:

javascript
T["folder/subfolder/file"] = require('jadelet').exec(...)

--runtime, -r [runtime_name] Specifies the name of the globally available Jadelet runtime (default is "require('jadelet')").

If you are using jadelet-brower.js you'll want to replace this with 'Jadelet' so it can use the global in the browser.

bash
jadelet -r "Jadelet"  output.js

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptclientside-templatescoffeescripthtmljadelet

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架