<commit_before>## Exercise 3: async/await

1. TBC



1. Open the **apis/begin/worker-clouds/index.js** file. We are going to update the code to retrieve applications.<commit_msg>Add prerequisites in async/await<commit_after>## Exercise 3: async/await

### Prerequisites

Since async/await is still in revision, we need to perform some actions to set up our development environment:

1. Install babel-node and the proper babel pluging by running `npm i -D babel-cli babel-plugin-transform-async-to-generator`.

1. Update the **package.json** with the following code:

  ```json
  {
    ...
    "babel": {
      "plugins": [
        "transform-async-to-generator"
      ]
    }
    ...
  }
  ```

1. Update the start script with the following code:

  ```json
  {
    ...
    "scripts": {
      "start": "babel-node ."
    },
    ...
  }
  ```

### Steps

1. Open the **apis/begin/worker-clouds/index.js** file. We are going to update the code to retrieve applications.
{'fraction_non_alphanumeric': 0.13029989658738367, 'fraction_numerical': 0.008273009307135471, 'mean_word_length': 2.7374517374517375, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5741335', 'n_tokens_mistral': 312, 'n_tokens_neox': 300, 'n_words': 102}