lib/kona.js
function Kona(options) {

  // call the koa constructor here
  Koa.call(this);

  options = options || {};

  // setup kona root and application paths / helpers
  this.setupPaths(options);

  // setup env vars, logger, needed modules
  this.setupEnvironment(options);

  this.loadMixins(this.root.join('package.json'));
}
function Kona(options) {

  // call the koa constructor here
  Koa.call(this);

  options = options || {};

  // setup kona root and application paths / helpers
  this.setupPaths(options);

  // setup env vars, logger, needed modules
  this.setupEnvironment(options);

  this.loadMixins(this.root.join('package.json'));
}
function Kona ( options ) { // call the koa constructor here Koa . call ( this ) ; options = options || { } ; // setup kona root and application paths / helpers this . setupPaths ( options ) ; // setup env vars, logger, needed modules this . setupEnvironment ( options ) ; this . loadMixins ( this . root . join ( 'package.json' ) ) ; }
the application module that will house the koa app and provide
an api layer to registering middleware, establishing db connections,
loading application routes, controllers, models and helpers

@param {Object} options  options options from commander
the application module that will house the koa app and provide an api layer to registering middleware establishing db connections loading application routes controllers models and helpers