Comment Comment by SummerlyMars As of Node 14.8, you can use await at the top level. In previous versions (not sure for how long), it was hidden behind a flag. https://nodejs.org/en/blog/release/v14.8.0/ parent SummerlyMars 5 years ago