-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
- hTest’s object helpers https://github.com/LeaVerou/htest/blob/main/src/objects.js
-
children()
: https://github.com/LeaVerou/htest/blob/main/src/objects.js#L8 -
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-
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 -
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 -
getClosest()
: https://github.com/mavoweb/mavo/blob/main/src/node.js#L545 -
getClosestItem()
: https://github.com/mavoweb/mavo/blob/main/src/node.js#L555 -
children()
: https://github.com/mavoweb/mavo/blob/main/src/node.js#L568
-
- jiff (JSON patch implementation)
- JSON PATCH (JSON patch implementation)
- Bliss
-
extend()
: 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()
)
-
Metadata
Metadata
Assignees
Labels
No labels