This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Module to format Elm Records
version 1.0.2
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2018-08-03 05:08:16 UTC
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1


Elm Record Formatter

This Module comes in handy if you want to print an Elm Record to the screen. It parses any Record into a String then adds indentation and line breaks to make it readable. You'll typically want to use it in a <pre> tag. Bundled with syntax highlighting, you can achieve nice results.


It is also used by the stellar-sdk demo page after submitting a REST call. The server sends a json response, it gets Decoded into Elm Records and this package is then used to print the response to the screen.