0.0.20160405 • Published 8 years ago

template2function v0.0.20160405

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

template2function

precompile templates into functions, built for high performance

install

# global
$ npm install template2function -g
# local
$ npm install template2function --save-dev

usage

$ template2function --engine(-e) [zero/underscore/ejs/dot/micro/anima] $path/to/source/file

supported template engines

  • zero-text/template (shortcut: zero) the default template engine
  • zero/template(old) (shortcut: zero-old)
  • Underscore templates (shortcut: underscore)
  • EJS (shortcut: ejs)
  • doT.js (shortcut: dot)
  • Microtemplating (shortcut: micro)
  • animajs/template (shortcut: anima)