How to Use Top-Level await in Node.js
await normally lives inside an async function. In an ES module it can also stand at the top level of the file, outside any function, so a short script can wait for a promise without wrapping everything in async function main().
