shrink-array (npm): Create a new array based on the given array, but with a reduced length. The values in the given array are equally distributed into subsets  based on an average (determined by `given_length / new_length`).
Keywords: array|es6|javascript