snakeskin
Awesome JavaScript template engine.
Last updated a year ago by kobezzza .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install snakeskin 
SYNC missed versions from official npm registry.

Snakeskin

Snakeskin

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.

Current Tags

  • 7.5.1                                ...           latest (a year ago)

213 Versions

  • 7.5.1                                ...           a year ago
  • 7.5.0                                ...           a year ago
  • 7.4.1                                ...           a year ago
  • 7.4.0                                ...           a year ago
  • 7.3.0                                ...           a year ago
  • 7.2.9                                ...           2 years ago
  • 7.2.8                                ...           3 years ago
  • 7.2.7                                ...           3 years ago
  • 7.2.6                                ...           3 years ago
  • 7.2.5                                ...           3 years ago
  • 7.2.4                                ...           3 years ago
  • 7.2.3                                ...           3 years ago
  • 7.2.2                                ...           3 years ago
  • 7.2.1                                ...           3 years ago
  • 7.2.0                                ...           3 years ago
  • 7.1.13                                ...           3 years ago
  • 7.1.12                                ...           3 years ago
  • 7.1.11                                ...           3 years ago
  • 7.1.10                                ...           3 years ago
  • 7.1.9                                ...           3 years ago
  • 7.1.8                                ...           3 years ago
  • 7.1.7                                ...           3 years ago
  • 7.1.6                                ...           3 years ago
  • 7.1.5                                ...           3 years ago
  • 7.1.4                                ...           3 years ago
  • 7.1.3                                ...           3 years ago
  • 7.1.2                                ...           3 years ago
  • 7.1.1                                ...           3 years ago
  • 7.1.0                                ...           3 years ago
  • 7.0.12                                ...           3 years ago
  • 7.0.11                                ...           3 years ago
  • 7.0.10                                ...           3 years ago
  • 7.0.9                                ...           3 years ago
  • 7.0.8                                ...           4 years ago
  • 7.0.7                                ...           4 years ago
  • 7.0.6                                ...           4 years ago
  • 7.0.5                                ...           4 years ago
  • 7.0.4                                ...           4 years ago
  • 7.0.3                                ...           4 years ago
  • 7.0.2                                ...           4 years ago
  • 7.0.1                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 7.0.0-beta.35                                ...           4 years ago
  • 7.0.0-beta.34                                ...           4 years ago
  • 7.0.0-beta.33                                ...           4 years ago
  • 7.0.0-beta.32                                ...           4 years ago
  • 7.0.0-beta.31                                ...           4 years ago
  • 7.0.0-beta.30                                ...           4 years ago
  • 7.0.0-beta29                                ...           4 years ago
  • 7.0.0-beta28                                ...           4 years ago
  • 7.0.0-beta27                                ...           4 years ago
  • 7.0.0-beta26                                ...           4 years ago
  • 7.0.0-beta25                                ...           4 years ago
  • 7.0.0-beta24                                ...           4 years ago
  • 7.0.0-beta23                                ...           4 years ago
  • 7.0.0-beta22                                ...           4 years ago
  • 7.0.0-beta21                                ...           4 years ago
  • 7.0.0-beta20                                ...           4 years ago
  • 7.0.0-beta19                                ...           4 years ago
  • 7.0.0-beta18                                ...           4 years ago
  • 7.0.0-beta17                                ...           4 years ago
  • 7.0.0-beta16                                ...           4 years ago
  • 7.0.0-beta15                                ...           4 years ago
  • 7.0.0-beta14                                ...           4 years ago
  • 7.0.0-beta13                                ...           4 years ago
  • 7.0.0-beta12                                ...           4 years ago
  • 7.0.0-beta11                                ...           4 years ago
  • 7.0.0-beta10                                ...           4 years ago
  • 7.0.0-beta9                                ...           4 years ago
  • 7.0.0-beta8                                ...           4 years ago
  • 7.0.0-beta7                                ...           4 years ago
  • 7.0.0-beta6                                ...           4 years ago
  • 7.0.0-beta5                                ...           4 years ago
  • 7.0.0-beta4                                ...           4 years ago
  • 7.0.0-beta3                                ...           4 years ago
  • 7.0.0-beta2                                ...           4 years ago
  • 7.0.0-beta1                                ...           4 years ago
  • 6.6.15                                ...           4 years ago
  • 6.6.14                                ...           4 years ago
  • 6.6.13                                ...           4 years ago
  • 6.6.12                                ...           4 years ago
  • 6.6.11                                ...           4 years ago
  • 6.6.10                                ...           4 years ago
  • 6.6.9                                ...           4 years ago
  • 6.6.8                                ...           4 years ago
  • 6.6.7                                ...           4 years ago
  • 6.6.6                                ...           4 years ago
  • 6.6.5                                ...           4 years ago
  • 6.6.4                                ...           5 years ago
  • 6.6.3                                ...           5 years ago
  • 6.6.2                                ...           5 years ago
  • 6.6.1                                ...           5 years ago
  • 6.6.0                                ...           5 years ago
  • 6.5.32                                ...           5 years ago
  • 6.5.29                                ...           5 years ago
  • 6.5.28                                ...           5 years ago
  • 6.5.27                                ...           5 years ago
  • 6.5.26                                ...           5 years ago
  • 6.5.25                                ...           5 years ago
  • 6.5.24                                ...           5 years ago
  • 6.5.21                                ...           5 years ago
  • 6.5.20                                ...           5 years ago
  • 6.5.19                                ...           5 years ago
  • 6.5.18                                ...           5 years ago
  • 6.5.17                                ...           5 years ago
  • 6.5.16                                ...           5 years ago
  • 6.5.15                                ...           5 years ago
  • 6.5.14                                ...           5 years ago
  • 6.5.13                                ...           5 years ago
  • 6.5.12                                ...           5 years ago
  • 6.5.11                                ...           5 years ago
  • 6.5.10                                ...           5 years ago
  • 6.5.9                                ...           5 years ago
  • 6.5.8                                ...           5 years ago
  • 6.5.7                                ...           5 years ago
  • 6.5.6                                ...           5 years ago
  • 6.5.5                                ...           5 years ago
  • 6.5.4                                ...           5 years ago
  • 6.5.3                                ...           5 years ago
  • 6.5.2                                ...           5 years ago
  • 6.5.1                                ...           5 years ago
  • 6.5.0                                ...           5 years ago
  • 6.4.2                                ...           5 years ago
  • 6.4.1                                ...           5 years ago
  • 6.4.0                                ...           5 years ago
  • 6.3.2                                ...           5 years ago
  • 6.3.1                                ...           5 years ago
  • 6.3.0                                ...           5 years ago
  • 6.2.0                                ...           5 years ago
  • 6.1.3                                ...           5 years ago
  • 6.1.2                                ...           5 years ago
  • 6.1.1                                ...           5 years ago
  • 6.1.0                                ...           5 years ago
  • 6.0.6                                ...           5 years ago
  • 6.0.5                                ...           5 years ago
  • 6.0.4                                ...           5 years ago
  • 6.0.3                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
  • 6.0.1                                ...           5 years ago
  • 6.0.0                                ...           5 years ago
  • 5.1.10                                ...           5 years ago
  • 5.1.9                                ...           5 years ago
  • 5.1.8                                ...           5 years ago
  • 5.1.7                                ...           5 years ago
  • 5.1.6                                ...           5 years ago
  • 5.1.5                                ...           5 years ago
  • 5.1.4                                ...           5 years ago
  • 5.1.3                                ...           5 years ago
  • 5.1.2                                ...           5 years ago
  • 5.1.1                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 4.1.3                                ...           5 years ago
  • 4.1.2                                ...           5 years ago
  • 4.1.1                                ...           5 years ago
  • 4.1.0                                ...           5 years ago
  • 4.0.21                                ...           5 years ago
  • 4.0.20                                ...           5 years ago
  • 4.0.19                                ...           5 years ago
  • 4.0.18                                ...           5 years ago
  • 4.0.17                                ...           5 years ago
  • 4.0.16                                ...           5 years ago
  • 4.0.15                                ...           5 years ago
  • 4.0.14                                ...           5 years ago
  • 4.0.13                                ...           5 years ago
  • 4.0.12                                ...           5 years ago
  • 4.0.11                                ...           5 years ago
  • 4.0.10                                ...           5 years ago
  • 4.0.9                                ...           5 years ago
  • 4.0.8                                ...           5 years ago
  • 4.0.7                                ...           5 years ago
  • 4.0.6                                ...           5 years ago
  • 4.0.5                                ...           5 years ago
  • 4.0.4                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.2                                ...           5 years ago
  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.5                                ...           6 years ago
  • 3.2.4                                ...           6 years ago
  • 3.2.3                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           6 years ago
  • 3.1.3                                ...           6 years ago
  • 3.1.2                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.4                                ...           6 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.4.1                                ...           6 years ago
  • 2.4.0                                ...           6 years ago
  • 2.3.20                                ...           6 years ago
  • 2.3.19                                ...           6 years ago
  • 2.3.18                                ...           6 years ago
  • 2.3.17                                ...           6 years ago
  • 2.3.16                                ...           6 years ago
  • 2.3.15                                ...           6 years ago
  • 2.3.14                                ...           6 years ago
  • 2.3.13                                ...           6 years ago
  • 2.3.12                                ...           6 years ago
  • 2.3.11                                ...           6 years ago
  • 2.3.10                                ...           6 years ago
  • 2.3.9                                ...           6 years ago
  • 2.3.8                                ...           6 years ago
  • 2.3.7                                ...           6 years ago
  • 2.3.6                                ...           6 years ago
  • 2.3.5                                ...           6 years ago
  • 2.3.4                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 216
Dependencies (9)
Dev Dependencies (39)

Copyright 2014 - 2016 © taobao.org |