Converts an array of items with ids and parent ids to a nested tree in a performant O(n) way. Runs in browsers and Node.js.
-
Updated
Mar 4, 2023 - TypeScript
Converts an array of items with ids and parent ids to a nested tree in a performant O(n) way. Runs in browsers and Node.js.
Provide async/await callbacks for every, find, findIndex, filter, forEach, map, reduce, reduceRight and some methods in Array.
🌱 Simple foundation library / framework written in Typescript. No dependencies. Tree shakable.
RxJS Operators for handling Observable strings, numbers, booleans and more
jotils is a JavaScript utility library.
Type-safe array sorting method with support for deeply nested properties and Typescript autocompletion.
A collection of utility functions to split an array into chunks by size or certain condition.
Returns all array items after particular index or all array items before particular index
Functional Array Utils for TypeScript
Map and filter your array of objects
2 functions that remove all items that come before a certain value in the array
An array-manipulating typescript/javascript class with methods that narrow down the content of the array
Returns array of adjacent items from passed array, starting with, or close to, the passed value
2 functions that remove all items that come after a certain value in the array
array-handling functions that return indexes of items in the array
Moves an item's position in an array
Simple methods to manipulate Arrays in Javascript / Typescript
hiorder - a generics function and array library
Functions to work with read-only arrays
Removes and returns middle section of an array
Add a description, image, and links to the array-manipulations topic page so that developers can more easily learn about it.
To associate your repository with the array-manipulations topic, visit your repo's landing page and select "manage topics."