afpf is a set of functions that make it easy to write functional scripts with async / await support
These docs are awful. If you are interested in using one of the library and need some help, please create an issue and I will work on the docs for that first. Thanks
const afpf = require('afpf');
const fn1 = () => console.log('Function 1');
const fn2 = () => console.log('Function 2');
const run = afpf.pipe(
fn1,
fn2,
)();
yarn add afpf
or
npm i afpf