npm.io
0.0.1 • Published 13 years ago

hapiconfig

Licence
MIT
Version
0.0.1
Deps
1
Vulns
0
Weekly
0

hapiconfig is a very small wrapper to facilitate use of getconfig in hapi.

##Usage

var Hapi = require('hapi');
var pack = new Hapi.Pack();
pack.require('hapiconfig', function (err) {
  if (err) console.log('hapiconfig failed to load:', err);
});

console.log(pack.app.config); // the return from getconfig will be here

Keywords