fyui

0.2.2 • Public • Published

Fyui

Pre-compiler for html sources Usage: fyui -f [path/to/file.html]

Installing

  • Install node.js
  • run npm install -g fyui

Usage

Usage: fyui install [path/to/file.html]

pre-html syntax

  • From
html
    head
        title
            =content
    body{"param1":"param", "param2":"param"}
        div#id
            span.class
        div#footer.footer2
        div#info.info,info2,info3
  • Transform to:
<html>
    <head>
        <title>
                =content
        </title>
    </head>
    <body param1="param" param2="param">
        <div id="id">
            <span class="class">
            </span>
        </div>
        <div id="footer" class="footer2">
        </div>
        <div id="info" class="info info2 info3">
        </div>
    </body>
</html>

Package Sidebar

Install

npm i fyui

Weekly Downloads

5

Version

0.2.2

License

none

Last publish

Collaborators

  • nikolassumrak