dot_env

Package Version Hex Docs

dot_env is a port of the popular JavaScript dotenv package that helps you load environment variables from .env (or other) files.

This package may support other formats in the future but for now, only supports the popular .env format

Quick start

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

Installation

If available on Hex this package can be added to your Gleam project:

gleam add dot_env

and its documentation can be found at https://hexdocs.pm/dot_env.

Search Document