node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



A little template engine for PogoScript.

Given some HTML, pogo style:


    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!