What is the purpose of the dotenv package?

The dotenv package loads environment variables from a .env file into process.env, helping manage configuration settings without hardcoding them in your source code. Example usage:

require('dotenv').config();
console.log(process.env.DB_HOST); // Access environment variable