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
- Host: GitHub
- URL: https://github.com/easafe/haskell-breeze
- Owner: easafe
- License: mit
- Created: 2021-10-30T04:02:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T05:59:27.000Z (over 4 years ago)
- Last Synced: 2025-10-04T05:26:40.201Z (9 months ago)
- Language: Haskell
- Homepage: https://flame.asafe.dev
- Size: 27.3 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# haskell-breeze [](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
```