then-fold (npm): Useful helper function for working with promises
Keywords: promise|then|fold|flow