html-parser

Parse HTML 5 in Elm

  • Owner: hecrj/html-parser
  • Platform:
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

html-parser Build Status

Parse HTML 5 in Elm 0.19!

import Html.Parser

Html.Parser.run "<div><p>Hello, world!</p></div>"
-- => Ok [ Element "div" [] [ Element "p" [] [ Text "Hello, world!" ] ] ]

Limitations

  • <script> tags are not fully supported.
  • SVG is not supported.

Feel free to contribute!

Contributing / Feedback

Feel free to fork and open issues or pull requests. You can also contact me (@hecrj)
on the Elm Slack. I am always happy to talk!

Credits

Main metrics

Overview
Name With Ownerhecrj/html-parser
Primary LanguageElm
Program languageElm (Language Count: 1)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2018-05-16 01:31:18
Pushed At2023-04-08 19:05:16
Last Commit At2020-08-07 22:31:56
Release Count13
Last Release Name2.4.0 (Posted on )
First Release Name1.0.0 (Posted on 2018-08-23 06:22:43)
用户参与
Stargazers Count61
Watchers Count5
Fork Count25
Commits Count49
Has Issues Enabled
Issues Count8
Issue Open Count3
Pull Requests Count8
Pull Requests Open Count3
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private