Package

purescript-html-codegen-halogen

Repository
ongyiren1994/purescript-html-codegen-halogen
License
MIT
Uploaded by
ongyiren1994
Published on
2021-10-17T18:15:26Z

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.

Modules
Html.Codegen.Halogen
Dependencies