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!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.7
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.7
    2
  • 0.0.6
    2
  • 0.0.5
    0

Package Sidebar

Install

npm i htmlism

Weekly Downloads

2

Version

0.0.7

License

BSD

Last publish

Collaborators

  • joshski