native-or-bluebird

WebJar for native-or-bluebird

License

License

MIT
Categories

Categories

Native Development Tools
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

native-or-bluebird
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

native-or-bluebird
WebJar for native-or-bluebird
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/normalize/native-or-bluebird

Download native-or-bluebird

How to add to project

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

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.

native-or-bluebird

NPM version Build status Test coverage Dependency Status License Downloads

As Node 0.10 becomes outdated and iojs has been merged into Node.js, this module is now relevant to only a few platforms. Thus, this module is considered obsolete.

Use either bluebird or the native Promise implementation. If no implementation is found, an error will be thrown:

var Promise = require('native-or-bluebird');

The goal of this library is to be able to eventually remove this line from your code and use native Promises, allowing you to to write future-compatible code with ease. You should install bluebird in your libraries for maximum compatibility.

If you do not want an error to be thrown, require() the Promise implementation directly. If no implementation is found, undefined will be returned.

var Promise = require('native-or-bluebird/promise');
if (Promise) // do stuff with promises
org.webjars.npm

Normalize.IO

@import the future, nlz build the present, normalize the past

Versions

Version
1.2.0