Imp
Imp is a view template engine for nodejs.
Installation
npm install nodejs-imp
Syntax
#{} : It will be replaced to specific variable.
${} : It will be replaced to specific view.
Imp Imp is a view template engine for nodejs ${left} ${remote:body}
API
var imp = ; //Set path pattern of view directory.//You can register many pattern of path. If you register a pattern with prefix, then you can use syntax "${prefix:name}".imp; //{{name}} replaced to view name.imp; //You can get a view file from remote server. //Parameter will be replaced to syntax "#{}". This is fixed variables.imp; //Parameter will be replaced to syntax "#{}". This is dynamic variables.//Imp doesn't allow to duplicated key between fixed variables and dynamic variables.imp;
With express
var express = ;var app = ;var server = app; var imp = ;imp; app; app;