haml-lite

Haml parser for browser. Experimental!

npm install haml-lite
12 downloads in the last month

Haml Lite

Haml parser for browser. Experimental! Download compressed (1613 bytes, 882 bytes gzipped) or uncompressed source.

Dependencies

Syntax Differences

  • Attributes - JSON is used for specifying the attributes of an element.

    In Ruby

    %input{:selected => true}
    

    In JavaScript

    %input{"selected": true}
    

Licence

Copyright (c) 2012 Lauri Rooden <lauri@rooden.ee>
The MIT License

npm loves you