purescript-html-codegen-halogen [](https://github.com/ongyiren1994/purescript-html-codegen-halogen/blob/master/LICENSE)
October 17, 2021 ยท View on GitHub
Usage
This library allows user to convert minified html to halogen codes to speed up the development. Below is an usage example
PSCi, version 0.14.0
Type :? for help
import Prelude
> import Html.Codegen.Halogen
> renderHalogenCodesWithIndent "examples/hello-world.min.html"
HH.div_ [ HH.h1_ [ HH.text "Hello World" ], HH.a [ HP.href "https://www.purescript.org/" ][
HH.text "PureScript is awesome" ] ]
>
Download and Installation
Install
bower install https://github.com/ongyiren1994/purescript-html-codegen-halogen.git
Documentation
Module documentation is published on Pursuit.
License
Check LICENSE file for more information.