An open API service indexing awesome lists of open source software.

https://github.com/easafe/haskell-breeze

Convert HTML into purescript-flame DSL
https://github.com/easafe/haskell-breeze

Last synced: 8 months ago
JSON representation

Convert HTML into purescript-flame DSL

Awesome Lists containing this project

README

          

# haskell-breeze [![CI](https://github.com/easafe/haskell-breeze/actions/workflows/CI.yml/badge.svg)](https://github.com/easafe/haskell-breeze/actions/workflows/CI.yml)

Command line tool to convert HTML into purescript-flame DSL

## Install

```npm install -g @easafe/breeze```

## Usage

```breeze input []```

```input``` can be either a HTML string or a HTML file (extension ```.html```, ```.htm``` or ```.xml```)

Available flags:

```
-o --output-file File to save output as. Default: print to command line

-s --standalone-module Output a module with import list and view function. Default: output only generated markup

-i --ignore-errors Ignore parsing errors. Default: stop at parsing errors

-e --element-module-name Name to import Flame.Html.Element as. Default: HE

-a --attribute-module-name Name to import Flame.Html.Attribute as. Default: HA
```