0.0.20160405 • Published 8 years ago
template2function v0.0.20160405
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)
0.0.20160405
8 years ago