1
2
3
'use strict';
 
module.exports = typeof Promise === 'function' ? Promise : require('pinkie');