Socket
Socket
Sign inDemoInstall

snakeskin

Package Overview
Dependencies
188
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    snakeskin

Awesome JavaScript template engine.


Version published
Weekly downloads
40
decreased by-35.48%
Maintainers
1
Install size
10.6 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 21 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc