1 | # @babel/plugin-syntax-top-level-await
|
2 |
|
3 | > Allow parsing of top-level await in modules
|
4 |
|
5 | See our website [@babel/plugin-syntax-top-level-await](https://babeljs.io/docs/en/babel-plugin-syntax-top-level-await) for more information.
|
6 |
|
7 | ## Install
|
8 |
|
9 | Using npm:
|
10 |
|
11 | ```sh
|
12 | npm install --save-dev @babel/plugin-syntax-top-level-await
|
13 | ```
|
14 |
|
15 | or using yarn:
|
16 |
|
17 | ```sh
|
18 | yarn add @babel/plugin-syntax-top-level-await --dev
|
19 | ```
|