/gengo-pack

The default gengo-pack for gengojs

Primary LanguageJavaScriptMIT LicenseMIT

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){});
		
	// ...