Skip to content

nlf/hapiconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A wrapper to turn getconfig into a hapi plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published