unsplay
Compute a tree from an array of objects with IDs and parent IDs
Installation
$ npm install unsplay
Usage
>> var unsplay = ;>> ; item: id: 0 children: item: id: 1 pid: 0 children:
Compute a tree from an array of objects with IDs and parent IDs
$ npm install unsplay
>> var unsplay = ;>> ; item: id: 0 children: item: id: 1 pid: 0 children:
npm i unsplay
1
1.0.5
MIT