16 repository-uri
Tools for manipulating, filtering, and transforming JavaScript arrays.
Explore 16 awesome GitHub repositories matching part of an awesome list · Array Utilities. Refine with filters or upvote what's useful.
Efficiently remove an element from an unordered array without doing a splice
Efficiently removes an element without using splice.
Fast cartesian product
Calculates the cartesian product of arrays efficiently.
Group array of objects into lists.
Groups an array of objects into categorized lists.
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
Recursively flattens nested arrays into a single level.
Returns an array with only the unique values from all given arrays using strict equality for comparisons.
Returns unique values by excluding elements found in other arrays.
Returns an array filled with the specified input
Creates an array filled with a specific value.
Return the last element in an array. Faster than .slice
Retrieves the last element of an array.
creates a new array with given range
Generates an array containing a specified range of numbers.
A small module to check if an Array is sorted
Checks if an array is sorted in ascending order.
easy deduplication of array values
Removes duplicate values from an array.
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Checks for the existence of a value within an array.
Split array/TypedArray to chunks of given size
Splits arrays or TypedArrays into smaller chunks.
Get the first element or first n elements of an array.
Retrieves the first element or a subset of array elements.
Swaps the index / position of an array
Swaps the positions of two items in an array.
NPM module for creating a keymirror object from an array of strings
Creates a key-mirror object from an array of keys.
Map object keys and values into an array.
Maps object keys and values into an array structure.