Edit: We are now maintaining use cases in [this doc](https://coda.io/d/Treecle-use-cases_d2R68DkvH_A/Use-cases_su7t3#Use-cases_tu8l0/r53) ---- Here we'll collect cases where libraries are writing their own helpers to do the kinds of things Treecle helps them do. - hTest’s object helpers https://github.com/LeaVerou/htest/blob/main/src/objects.js - [x] `children()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L8 - [x] `walk()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L54 - [ ] `reduce()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L93 - [ ] `clone()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L108 - [ ] `join()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L163 - [ ] `stringify()`: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L209 - [ ] `check.deep()`: https://github.com/LeaVerou/htest/blob/main/src/check.js#L43 - [ ] `check.equals()`: https://github.com/LeaVerou/htest/blob/main/src/check.js#L91 - Vastly - Mavo's `Mavo.Node` traversal methods - [x] `walk()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L164 - [ ] `walkUp()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L188 - [ ] `propagate()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L240 - [x] `getClosestItem()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L387 - [ ] `getPath()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L395 - [ ] `pathFrom()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L400 - [ ] `getDescendant()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L409 - [ ] `getCousin()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L413 - [ ] `contains()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L462 - [x] `getClosest()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L545 - [ ] `getClosestItem()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L555 - [x] `children()`: https://github.com/mavoweb/mavo/blob/main/src/node.js#L568 - [jiff](https://github.com/cujojs/jiff) (JSON patch implementation) - [ ] `equals()`: https://github.com/cujojs/jiff/blob/master/lib/deepEquals.js#L9 - [ ] `clone()`: https://github.com/cujojs/jiff/blob/master/lib/clone.js#L12 - [JSON PATCH](https://github.com/Starcounter-Jack/JSON-Patch) (JSON patch implementation) - [ ] `getPath()`: https://github.com/Starcounter-Jack/JSON-Patch/blob/master/src/helpers.ts#L97 - Bliss - [ ] `extend()`: https://github.com/LeaVerou/bliss/blob/v2/src/extend.js (Like `Object.assign()` but copies accessors instead of executing them) - [x] `each()`: https://github.com/LeaVerou/bliss/blob/v2/src/each.js (Like our `walk()`)
Edit: We are now maintaining use cases in this doc
Here we'll collect cases where libraries are writing their own helpers to do the kinds of things Treecle helps them do.
children(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L8walk(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L54reduce(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L93clone(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L108join(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L163stringify(): https://github.com/LeaVerou/htest/blob/main/src/objects.js#L209check.deep(): https://github.com/LeaVerou/htest/blob/main/src/check.js#L43check.equals(): https://github.com/LeaVerou/htest/blob/main/src/check.js#L91Mavo.Nodetraversal methodswalk(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L164walkUp(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L188propagate(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L240getClosestItem(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L387getPath(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L395pathFrom(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L400getDescendant(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L409getCousin(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L413contains(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L462getClosest(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L545getClosestItem(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L555children(): https://github.com/mavoweb/mavo/blob/main/src/node.js#L568equals(): https://github.com/cujojs/jiff/blob/master/lib/deepEquals.js#L9clone(): https://github.com/cujojs/jiff/blob/master/lib/clone.js#L12getPath(): https://github.com/Starcounter-Jack/JSON-Patch/blob/master/src/helpers.ts#L97extend(): https://github.com/LeaVerou/bliss/blob/v2/src/extend.js (LikeObject.assign()but copies accessors instead of executing them)each(): https://github.com/LeaVerou/bliss/blob/v2/src/each.js (Like ourwalk())