hapiconfig

0.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i hapiconfig

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nlf