promise-any-first
Take an array of promises, and return a promise that fulfills with the value of the first left-most fulfilled promise in the array, or rejects with reason of first rejected promise if all promises are rejected.
Installation
npm install promise-any-first
Example
var Promise = ;var anyFirst = var p1 = ;var p2 = ;var p3 = ; var promise = ; p1;p3;p2;