Open rajatvijay opened 6 years ago
@rajatvijay did you found a CLI version of html2elm?
Hi, I don't have any plans to do this, but I think it's certainly quite achievable. Here is a rough guide of how to do it (if anyone else is willing to give it a shot):
The parser is pure Elm, so there's no need to run it through Electron or headless Chrome or anything like that. Other elm to html projects I've seen leverage the browser's built-in html parser, which doesn't make them very portable.
As a first step into this path I created this PR #24
Hey, any thoughts on making a command line tool so that it can be used like babel?