Skip to content

maephisto/browserify-dustjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

browserify-dustjs

browserify transform for dust template files

Install:

npm install browserify-dustjs --save-dev

In JavaScript:

var template = require("../views/template.dust");

template({title:"Browserify is Awesome!", mood:"happy"}, function(err, html) {
    // Deal with html
});

template(function(err, html) {
    // Also works without context
});

About

browserify transform for dust template files

Resources

Stars

Watchers

Forks

Packages

No packages published