1.1.3 • Published 9 years ago

gengojs-default-pack v1.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gengo-pack

The default gengo-pack for gengojs

Build Status

This is the default gengo-pack that contains the following plugins:

Usage

	var gengo = require('gengojs');
	var pack = require('gengojs-default-pack');
	
	// In Express (also applies for Koa)	
	var express = require('express');
	var app = express();
	app.use(gengo({/*options*/, pack())};
	
	// ...
	
	
	// In Hapi
	var Hapi = require('hapi');
	var server = Hapi();
	server.connection({ port: 3000});
	server.register(gengo({/*options*/, pack()), function(error){});
		
	// ...