for more information visit the package's GitHub page
Package contains the following modules:
Parse and format Bible references in Elm.
The following reference formats can be parsed:
(fromString "Gen 1:1" |> Result.map format)
== Ok "Genesis 1:1"
(fromString "Gen 1:1 - Rev 5") |> Result.map format)
== Ok "Genesis 1:1 - Revelation 5:14"
(fromString "Gen 1:1 - Rev 5") |> Result.map encode)
== Ok {start = 1001001, end = 66005014}
Contributions welcome, please open an issue to get started.