This module exports native Promise. Always. If it doesn't exist it throws an exception.
npm install promise-monofill --save
var P = require('promise-monofill');
P.resolve(123).then(console.log);
For any bug reports or feature requests please post an issue on GitHub.
Rafał Pocztarski - https://github.com/rsp
MIT License (Expat). See LICENSE.md for details.