This example compares traditional callbacks with promises, currys, and functional programming.
The module called brain uses the complex imperative callback pattern, while the module called pinky uses more simplistic declarative syntax accomplished through promises and function currys.
- Clone this directory
- Unpack it
- CD into it
- Then:
node . 'test.txt'