node package manager


avril framework is a web framework based on Express, it provides unlimited layout and partial support for web, make the coding experience feel like mvc, provides globallization and resource( css and js) minify.


A scaffold framework to bring powerful support of layout and section for Express . Support most template engine of Express .

npm install avril
var express = require('express');
var app = express();

var avril = require('avril');


avril.extend( avril.Mvc.mvcConfig , {

avril.initComponent('mvc', { app: app, viewEngine: require('jshtml') });

avril.extend(avril.getConfig('app') , process.env);

use layout 
you just need to add <!--layout(layoutName)--> at the front of your view .
such as