bluebird-global

WebJar for bluebird-global

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

bluebird-global
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

bluebird-global
WebJar for bluebird-global
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kaatt/bluebird-global

Download bluebird-global

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/bluebird-global/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>bluebird-global</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/bluebird-global/
implementation 'org.webjars.npm:bluebird-global:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/bluebird-global/
implementation ("org.webjars.npm:bluebird-global:1.0.1")
'org.webjars.npm:bluebird-global:jar:1.0.1'
<dependency org="org.webjars.npm" name="bluebird-global" rev="1.0.1">
  <artifact name="bluebird-global" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='bluebird-global', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "bluebird-global" % "1.0.1"
[org.webjars.npm/bluebird-global "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

bluebird-global

Micromodule. Patches global.Promise to use the bluebird library which has better than native performance for Promises.

Simply install any version of bluebird that you wish the library to use (bluebird is a peer dependency) and call:

import bluebird from 'bluebird-global'

or

const bluebird = require('bluebird-global')

All extra functions that bluebird provides but isn't defined in the ES spec should called like bluebird.map instead of like Promise.map so that TypeScript and Flow don't complain.

You can simply call import 'bluebird-global' or require('bluebird-global') if you won't use any bluebird-specific functions.

License

MIT © kaatt

Versions

Version
1.0.1