Handle mod d/c

@metakirby5 please review :jack_o_lantern: 


the SO article was for streams, so i don't think we need this (it's a bit unclear at first what it's doing). can we use this? https://lodash.com/docs#sample i was planning on putting lodash server-side anyways