#templates #js #css

app tailhook/marafet

The template to virtual dom preprocessor

1 unstable release

Uses old Rust 2015

0.1.0 Jun 3, 2015

#486 in Template engine

11 stars & 4 watchers

MIT license

97KB
2.5K SLoC

Marafet

A very experimental DSL for creating (mostly) single page applications in HTML.

It's mostly a Jade-like (or Haml-like) templating language with few features on the top:

  • Renders Virtual DOM (currently cito.js)
  • Attaches streams to event handlers instead of old crappy callbacks
  • Enables non-verbose CSS scoping with using classnames
  • Provides python-like string formatting

Dependencies

~640KB