New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

hapi-bluebird

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-bluebird

Make Hapi use Bluebird for its promises.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

hapi-bluebird

circle coverage npm MIT licensed

Make Hapi use Bluebird simply by requiring this module.

Version 2

Version 2 is updated for use with hapi 16+. It also replaces the native Promise library in node with the Bluebird promise object. This forces Hapi to use Bluebird promises.

Usage

const Bluebird = require('bluebird');
const Hapi = require('hapi');

require('hapi-bluebird');

const server = new Hapi.Server();
server.connection();

const promise = server.start();

console.log(promise instanceof Bluebird); // true

License

This software is licensed under the MIT license.

Keywords

hapi

FAQs

Package last updated on 10 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts