Treecko
A collection of functional and immutable helpers for working with tree data structures.
Install / Use
/learn @nickjohnson-dev/TreeckoREADME
<img alt="What is a treecko?" width="100" height="100" src="http://vignette3.wikia.nocookie.net/pokemontowerdefense3/images/c/c1/Treecko.jpg/revision/latest?cb=20140803080131" />
treecko
A collection of functional and immutable helpers for working with tree data structures.
- Both Trees : Object and Tree Lists : Array<Object> are supported.
- Curried for easy partial application.
Mapping
Reducing
Finding
Filtering
Side Effects
Flattening
Restructuring
Misc
TODO
- [ ] Support different values for
childrenkey - [ ] Support different values for
idkey inflattenToMapandchangeParent - [ ] Support different values for
parentIdkey inchangeParent - [ ] Add breadth-first versions of methods
