It's All Writing.

Writing makes you happy.

await

How to get return value from then function at node

Environment node Code gist.github.com The value returned by the then function can be received in a variable with await.