gengojs-default-pack

1.1.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gengojs-default-pack

Weekly Downloads

3

Version

1.1.3

License

MIT

Last publish

Collaborators

  • iwatakeshi