Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pkief/nodejs-top-level-await

Demonstration of how Node.js supports top-level await
https://github.com/pkief/nodejs-top-level-await

async-await nodejs top-level-await

Last synced: 7 days ago
JSON representation

Demonstration of how Node.js supports top-level await

Awesome Lists containing this project

README

        

# Node.js Top-Level `await`

hero

## Getting started

- Install [Node.js 14.3.0](https://nodejs.org/dist/v14.3.0/)

## Run sample code

```
npm start
```

## References
- [Support since Node.js 14.3.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#support-for-top-level-await)
- [Official documentation](https://nodejs.org/api/esm.html#esm_experimental_top_level_await)