0.0.1 • Published 6 years ago
has-native-promise v0.0.1
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
0.0.1
6 years ago