fiction_toml

Package Version Hex Docs

A provider for fiction that reads and parses TOML files.

gleam add fiction_toml@1
import fiction/providers/toml
import fiction

pub fn main() -> Nil {
  fiction.new() |> fiction.join(toml.file("./priv/some_file.toml")) |> fiction.extract(..)
}

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

Development

gleam test  # Run the tests
Search Document