0.2.4 • Published 11 years ago

liteview v0.2.4

Weekly downloads
74
License
-
Repository
github
Last release
11 years ago

##liteview a NodeJS template engine!

example: var view = require('liteview'); view.init(tpl_base); // set template base to view view.debug(true); //if needed, set debug ,view will console.log the debug info view.render('test.html',{ name:'liteview', version:'v x.x.x' });

features: simple syntax,type less , do more; cache template into mem, so run more faster; api: init(base); init template base debug(bool); set debug handler(name,func); regist functions that called in the tpl tpl(tpl); pre-compile the tpl file, and tpl will be cached ,so when cal render, no more compile; * render(tpl,data); return string (usually html code);

... to be contine next update ,template run in browser

0.2.4

11 years ago

0.2.3

11 years ago

0.2.2

11 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.11

12 years ago

0.1.10

12 years ago

0.1.9

12 years ago

0.1.8

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago