Skip to content

ongyiren1994/purescript-html-codegen-halogen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-html-codegen-halogen GitHub purescript-html-codegen-halogen on Pursuit

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published