Search results

11 packages found

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.

published version 1.11.0, 3 years ago37 dependents licensed under $MIT
206,866

An array have children key and parentId key like tree.

published version 0.6.0, 2 months ago0 dependents licensed under $MIT
856

Convert an array to a tree object.

published version 1.0.8, 4 years ago0 dependents licensed under $MIT
316

Efficiently construct highly customizable bi-directional tree structures from iterable data.

published version 1.0.0-alpha.2, 5 months ago0 dependents licensed under $MIT
59

快速,轻量,无依赖的树结构数据处理函数库

published version 0.5.0, 2 years ago1 dependents licensed under $MIT
28

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.

published version 0.0.3, a year ago0 dependents licensed under $MIT
13

A useful tool for converting an array to a tree.

published version 0.0.1, 4 years ago0 dependents licensed under $MIT
11

build tree from array

published version 2.0.6, 3 years ago0 dependents licensed under $MIT
10

An array to tree generator with utility functions.

published version 2.0.1, 4 years ago0 dependents licensed under $ISC
3

Construct a complete binary tree from given array

published version 1.0.4, 2 years ago0 dependents licensed under $ISC
2

make data change more easy

published version 0.0.1, 6 years ago0 dependents licensed under $MIT
2