htmlism

0.0.7 • Public • Published

Htmlism

A little template engine for PogoScript.

Given some HTML, pogo style:

html

    body { class = 'important' }

        p (message)

Running it through htmlism like this:

 htmlism.render '<the-template-above>' { message = 'hello world' }

Renders this string:

<html><body class="important"><p>hello world</p></body></html>

This is just for fun.

Of course, I don't mean for anybody to actually use this!

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i htmlism

Weekly Downloads

0

Version

0.0.7

License

BSD

Last publish

Collaborators

  • joshski