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.2-2130 days ago41 downloads
0.0.2-1151 days ago10 downloads
0.0.1-1168 days ago31 downloads

Dependencies

lua >= 5.1

Manifests