Getting started with bluebird
Installation or Setup
npm install bluebird
var Promise = require("bluebird");
There are many ways to use bluebird in browsers:
- Direct downloads
- You may use browserify on the main export
- You may use the bower package.
When using script tags the global variables
P (alias for
Promise) become available. Bluebird runs on a wide variety of browsers including older versions. We’d like to thank BrowserStack for giving us a free account which helps us test that.