Search results
1355 packages found
An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.
- Array.prototype.flatten
- Array.prototype.flat
- flatten
- flat
- array
- ESnext
- shim
- polyfill
- flatMap
- Array.prototype.flatMap
- es-shim API
Flatten nested arrays
Array methods for ES6 Iterators
Recursively flatten an array or arrays.
return a flattened array
Walk or map over objects in a depth-first preorder or postorder manner.
This is a function to flatten arrays e.g. flattenlev([1,[3]]) returns [1, 3]
ForEachOf is a utility function similiar to the idea of Array.prototype.forEach method executing a callback function on each element of an array, but in this case in a flattening manner, so you could have an infinite levels of nesting and it will go throu
non-recursive method of flattening an array or arrays and unflattening the result
- flatten
- unflatten
- flat
- unflat
- deflat
- flattendeep
- flatdeep
- non-recursive
- array-flattening
- array
- arrays
- flatten-array
A collection of utilities for JavaScript arrays
Iterate recursively on a multi-dimensional array
Flattens an array of nested arrays into a list of numbers
Isomorphic map-reduce function to flatten an array into the supplied array
Flatten nested JSON objects to flat map. Be more safe and readable.