SkillAgentSearch skills...

Snakeskin

JavaScript template engine.

Install / Use

/learn @SnakeskinTpl/Snakeskin
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

NPM version NPM download Join the chat at https://gitter.im/SnakeskinTpl/Snakeskin

Build Status Coverage Status NPM dependencies NPM devDependencies

Demo

Documentation

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

View on GitHub
GitHub Stars39
CategoryDevelopment
Updated2y ago
Forks3

Languages

JavaScript

Security Score

75/100

Audited on Dec 18, 2023

No findings