array-reduce-compare (npm): Reduces an array like Array.prototype.reduce, but with an additional compare function to stop the reduction.
Keywords: javascript|typescript|array|reduce|break|stop|compare