0.0.8 • Published 7 years ago

immutable-recursive v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

immutable-recursive

MIT licensed github-issues

Extra functions for use with Immutable.js to better handle tree structures, nested data and recursive iteration.

Warning

While I anticipate this library will be very stable once release, it is completely in development / pre-alpha at this point. Won't be long until this is ready for public though. Hold on to your hats, anything could change in the near future.

Development tasks

FunctionPlanWriteTestsDocumentExamples
deepGetDoneDoneDoneDone
deepGetChildrenDoneDoneDoneDone
deepSetDoneDoneDoneDone
deepSetChildrenDoneDoneDoneDone
deepUpdateDoneDoneDoneDone
deepUpdateChildrenDoneDoneDoneDone
deepDeleteDoneDoneDoneDone
deepDeleteChildrenDoneDoneDoneDone
deepDeleteCollapseIn progress
deepMapDoneDoneDoneIn progress
deepMapLeavesDoneDoneDoneDone
deepMapParentsDoneDoneDoneDone
deepMapOutwardDoneDoneDoneDone
deepMapLeavesOutwardsDoneDoneDoneDone
deepMapParentsOutwardsDoneDoneDoneDone
deepReduceDoneDoneDoneDone
deepReduceLeavesDoneDoneDoneDone
deepReduceParentsDoneDoneDoneDone
deepReduceOutwardDoneDoneDoneDone
deepReduceLeavesOutwardsDoneDoneDoneDone
deepReduceParentsOutwardsDoneDoneDoneDone
deepFilterDoneDoneDoneDone
deepFilterCollapseIn progress
deepPickDoneDoneDoneDone
deconstructDoneIn progress
reconstructIn progress
asListDoneDoneDoneDoneDone
blankNodeDoneDoneDoneDone
nodePathToKeysDoneDoneDoneDoneDone
nodePathToKeysChildrenDoneDoneDoneDoneDone
isLeafDoneDoneDoneDoneDone
isRootIn progress
pickDoneDoneDoneDoneDone
isSiblingOfDone
isParentOfDone
isAncestorOfDone
getChildrenIn progress
setChildrenIn progress
updateChildrenIn progress
filterChildrenIn progress
deleteChildrenIn progress
getCommonAncestorIn progress

Also need something to iterate starting from a child iterable with no root node

TypedefPlanDocumentExamples
InputFunctionDoneDoneDone
NodePathDoneDoneDone
ChildPathDoneDoneDone
mapperDoneDone
updaterDoneDone
reducerDoneDone
filterDoneDone
  • Show reverse() or sortBy() examples when using deeply
  • Try adding @externals for JS and Immutable, try grouping under different modules
  • Allow functions to be passsed into ChildPath and modify all affected library functions so they can use it
  • Add a 'thinking in trees and nodes' style intro
  • Add documentation about deep data manipulation pitfalls, avoiding killing children
  • Add build process with Travis
  • Add coverage reporting and build failing
  • Add shields for tests, version numbers, coverage
  • Fix table styles on index page, remove horrible purple colour
0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago