can-promise
Tiny module for checking if Promise is globally available.
Installation
npm i --save can-promise
Example
const canPromise = // or // on Node < 0.11.13console // false // on Node >= 0.11.13console // true // on IE9console // false // on Chrome, Firefoxconsole // true