A simple Lua module to load environment variables from a .env file.

$ luarocks install dotenv

This module provides a simple way to load environment variables from a `.env` file into Lua's environment.
It reads key-value pairs from the file, allowing you to use them in your Lua scripts as if they were set in the environment.
It supports basic parsing of the `.env` file format, including handling of comments, whitespace, and quoted values.

Versions

0.0.1-12 days ago2 downloads

Dependencies

lua >= 5.1

Manifests