Share your code.
Promise wrapper for Hapi's
hapi@12 and above return a promise when no callback is passed to
inject-then for hapi versions less than
$ npm install inject-then
options can be provided at registration:
Promise: An optional Promise constructor (ES6 Promise or anything that can be called with
new Promise). Bluebird is used if an override is not provided.