It'd be nice to remove this hard dependency, as node and browsers have promises and consumers might be using a different promise library (bluebird is much more popular, for instance). We could use the global object and recommend people polyfill it instead.
It'd be nice to remove this hard dependency, as node and browsers have promises and consumers might be using a different promise library (bluebird is much more popular, for instance). We could use the global object and recommend people polyfill it instead.
Edit: https://www.npmjs.com/package/native-or-bluebird for not breaking backward compat.