$ luarocks install reelwise-dotenvA tiny, dependency-free .env reader for Lua 5.1+/LuaJIT. One pure-Lua file.
Parses KEY=VALUE lines into a table; handles `export ` prefixes, whole-line
and inline `#` comments, and single/double quotes with escape sequences.
dotenv.get(key, default) falls back to os.getenv. Missing file returns an
empty table unless strict=true.
Versions
Dependencies
lua >= 5.1