do-then (npm): Realise sync or async tasks as promises, resolve to do the next step or reject and catch an error.
Keywords: promise|do|then|do-then|resolve|reject|javascript