Snakeskin
JavaScript template engine.
Install / Use
/learn @SnakeskinTpl/SnakeskinREADME
Snakeskin
<img src="http://snakeskintpl.github.io/docs/logo.svg" alt="Snakeskin" width="190" />This is Frank, a snake-cowboy who loves templates.
Snakeskin is an awesome JavaScript template engine with the best support for inheritance.
Features
- 2 types of syntax: classic and Jade-Like;
- Object-oriented approach with very rich features for code-reuse (inheritance, composition, mixing, etc.);
- JS-like set of directives;
- BEM (as in Stylus);
- Localization;
- Filters;
- Modules;
- Work in browsers, as well as on a server (node.js);
- The source code is designed to work with Google Closure Compiler in advanced mode;
- Good code coverage;
- Detailed documentation with examples.
Plugins
Example
- namespace example
- template helloWorld(name = 'world')
< .hello
Hello {name}!
example.helloWorld();
It will transpiled to
<div class="hello">Hello world!</div>
License
The MIT License.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
