node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

array-util

ArrayUtil

Array utils to make doing things with arrays easier.

Array.prototype.merge

Uniquely merge two arrays (even with object elements).

Array.prototype.equals

Quick and easy truthy comparison of two arrays.

Array.prototype.toObject

Convert an array to an array like object.

Array.prototype.shuffle

Shuffle the elements within an array.

Array.prototype.unique

Eliminate duplicate elements within an array.

Array.prototype.group

Create multi-dimensional arrays based on element object properties.