choonkeat/html-data/2.0.0

NOTE: the latest version is 4.0.0

HtmlData

Yet another pure data representation of elm/html. (Perhaps some types need not be opaque after all)

Out of scope

  • Parsing html https://package.elm-lang.org/packages/hecrj/html-parser/latest/
  • Turn an Elm app into a static HTML site https://github.com/eeue56/elm-static-html https://github.com/ThinkAlexandria/elm-static-html

Useful Functions

There's only types here. Actual functionalities are provided through HtmlData.Extra instead so as to keep the dependencies of this package to a minimum.

See https://html-data.netlify.app for a demo of how we can use these data types; code in github.com/choonkeat/explore-html-data-extra