Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pkief/nodejs-top-level-await
- Owner: PKief
- Created: 2020-05-21T08:57:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T08:58:30.000Z (over 4 years ago)
- Last Synced: 2024-11-16T21:05:38.459Z (2 months ago)
- Topics: async-await, nodejs, top-level-await
- Language: JavaScript
- Homepage:
- Size: 406 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Node.js Top-Level `await`
## 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)