Skip to content

Tiny module for checking if Promise are natively available

License

Notifications You must be signed in to change notification settings

vigreco/has-native-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has-native-promise

Tiny module for checking if Promise are natively available.

Installation

npm install --save has-native-promise

Example

const hasNativePromise = require('has-native-promise')

// on Node < 0.11.13
console.log(hasNativePromise()) // false

// on Node >= 0.11.13
console.log(hasNativePromise()) // true

About

Tiny module for checking if Promise are natively available

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published