Neverending Prototype Mode

    spritz-jstemplate

    0.1.2 • Public • Published

    spritz-jstemplate - A JSTemplate templating module for Spritz web framework

    How to use

    var
        spritz = require('spritz');
    
    // Use it!
    spritz.use(require('spritz-jstemplate'));
    
    // On a route
    spritz.on('/',function(req,res){
        spritz.template(req,res,'file',{my:'args'},200,{'content-type':'text/html; charset=UTF-8'});
    });
    

    Install

    npm i spritz-jstemplate

    DownloadsWeekly Downloads

    7

    Version

    0.1.2

    License

    Copyleft

    Last publish

    Collaborators

    • doliveira