template2function

0.0.20160405 • Public • Published

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

  • [x] 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)

Package Sidebar

Install

npm i template2function

Weekly Downloads

1

Version

0.0.20160405

License

MIT

Last publish

Collaborators

  • leungwensen