Showing 1-20 of 1,557,690 packages
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.
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Convert large amounts of data array to tree fastly
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Make a nested tree of React components out of a flat array
filter in array tree
Curated collection of data structures for the JavaScript/TypeScript.
Attach comments to estree nodes
Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.
Array manipulation, ordering, searching, summarizing, etc.
TypeScript definitions for d3-array
Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.
ECMAScript (ESTree) AST walker
Run an array of functions in parallel
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Tree utilities which provides a full-featured extend and object-cloning facility, and various tools to deal with nested object structures.
array to tree ## Installation ```bash npm i @abala/arr2tree ```
Arrays.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Guarantees an array back