A slightly different implementation of hapi

Don't merge or you package.json file will get modified.