Yodel

🎶 Yo-de-lay-ee-configs!

Yodel is a type-safe configuration loader for Gleam that supports JSON, YAML, and TOML configs with automatic format detection, environment variable resolution, and an intuitive dot-notation API for accessing your config values. 🚀

Package VersionHex Docs

gleam add yodel
import yodel

pub fn main() {
  let assert Ok(ctx) = yodel.load("config.yaml")
  let value = yodel.get_string(ctx, "some.key")
}

Further documentation can be found at https://hexdocs.pm/yodel.

Development

gleam test  # Run the tests