Noncommital Premarital Mischief
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    htmlismpublic

    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!

    Keywords

    none

    install

    npm i htmlism

    Downloadsweekly downloads

    4

    version

    0.0.7

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar