Environment Variables Lab

Medium
3
45.3% Acceptance

In this lab, you will learn to manage environment variables using the 'dotenv' package. You are required to create a .env file and use it to store environment variables. Then, in your index.js file, write a function to read the API_KEY and store it in a variable.### Steps:1. Set up the environment by creating a .env file and storing the required variables.2. Write a function to read from .env and access the values.3. Use the ESM export syntax to export the function.4. Use the function to store the value in another variable.