0.2.2 • Published 10 years ago

knights-templar v0.2.2

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

knights-templar

compile ye javascript templates from doth external files in node.js.

##usage

var kt = require('knights-templar');
var template = kt.make(__dirname+'template.html', 'hbs');
var markup = template({ name: 'andy', age: 24 });

##methods

###kt.make(path,type) compiles content from a file located at path into a template function specified by type (defaults to Handlebars).

##types

  • 'hbs' - Handlebars
  • '_' - Underscore templates (erb-style)

##license MIT

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

11 years ago

0.0.1

11 years ago