talira

TOML for Elixir

TOML 1.0 decoder for Elixir

open sourceApache-2.0free

toml is a TOML library for Elixir that decodes TOML from a string, file or stream into maps of native Elixir types, compliant with TOML 1.0 and tested against the toml-test suite. Value transformers extend decoding, and it can serve as a config provider for Elixir releases. It's by Paul Schoenfelder (bitwalker).

Problems it solves

  • read a TOML config file in Elixir
  • load release configuration from TOML in an Elixir app
  • parse TOML into Elixir maps

Features

  • TOML 1.0 compliant decoding
  • decode from string, file or stream
  • tested against toml-test
  • value transformers
  • config provider for Elixir releases