bluebird-global

WebJar for bluebird-global

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

bluebird-global
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

bluebird-global
WebJar for bluebird-global
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать bluebird-global

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.0.1