@extra-iterable/partition-on.min (npm): Segregates values by similarity.
Keywords: extra|iterable|partition|on|partitionOn|accumulate|cartesian-product|chunk|compare|concat|copy|copy-within|count|count-as|cut|cut-at|cut-at-right|cut-right|cycle|difference|drop|drop-right|drop-while