Escape From Callback Mountain!

Refactoring NodeJS/JavaScript: A 2017 Guide
I am a big fan of Functional Programming and Modular JavaScript. This project’s goal is to demonstrate the latest Functional Promise patterns while taking you through a refactor of real world callback-based Node.js/JavaScript.
The overall technique I demonstrate is what I call the ‘Functional River’ pattern, where your input/parameters/data is the water, and the code forms the riverbed. More or less, it is an async+sync version of a Collection Pipeline pattern.

Link: https://dzone.com/articles/escape-from-callback-mountain?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev