Nuns Practicing Misanthropy

    jasper

    0.0.1 • Public • Published

    jasper NPM version Build Status Dependency Status

    Jasper is an elegant template engine.

    Install

    index.jasp

    html
      body
        facade abc

    Usage

    var jasper = require('jasper');
    jasper.register('facade', function(name){
      return '<script>facade({mod: "' + name + '"});</script>';
    });
     
    jasper.compile(fs.readFileSync('index.jasper'));
    <html>
      <body>
        <script>facade({mod: "abc"})</script> 
      </body>
    </html>

    Licence

    MIT

    Install

    npm i jasper

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • kael