Packages

A provider for Fiction that reads and parses TOML files

Current section

Files

Jump to
fiction_toml README.md
Raw

README.md

# fiction_toml
[![Package Version](https://img.shields.io/hexpm/v/fiction_toml)](https://hex.pm/packages/fiction_toml)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/fiction_toml/)
A provider for [fiction](https://hex.pm/packages/fiction) that reads and parses TOML files.
```sh
gleam add fiction_toml@1
```
```gleam
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
```sh
gleam test # Run the tests
```