3.1.0 • Published 8 years ago

treecko v3.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

treecko

npm Travis

A collection of functional and immutable helpers for working with tree data structures.

  • All of the following helpers support tree objects as well as arrays of tree objects.
  • All methods are curried, so you can use partial application.
  • Tree nodes must have a children array.

Mapping

Reducing

Finding

Filtering

Side Effects

Flattening

Restructuring

Misc

TODO

  • Support different values for children key
  • Support different values for id key in flattenToMap and changeParent
  • Support different values for parentId key in changeParent
  • Add breadth-first versions of methods
3.1.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago