compose-then
A better implementation of the "compose" FP function that allows for composing both synchronous and asynchronous functions.
Installation:
yarn add compose-then
or
npm install --save compose-then
Example:
; const double = x * 2;const square = x * x;const plus3 = ; 2