node js async pipe code example
Example: javascript pipe async functions
const pipeAwait = (...fns) => param => fns.reduce(async (result, next) => next(await result), param)
const pipeAwait = (...fns) => param => fns.reduce(async (result, next) => next(await result), param)