Template engine for pogoscript

npm install htmlism
6 downloads in the last week
6 downloads in the last month


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!

npm loves you