clj-commons / hickory

HTML as data
Other
637 stars 52 forks source link

Node.js support revisited #58

Closed euporos closed 1 year ago

euporos commented 4 years ago

Pull request #33 allegedly solved the compatibility issues with Node.js. The Readme, however, still states that Hickory “won't work out of the box on node”. I've been reading the heck out of anything related to the issue here, but haven't found any reproducible steps to make hickory load and parse on Node.js.

In case there is currently no sensible way to use hickory on Node.js, maybe there is a perspective to tap into posthtml-parser, a Node.js library that outputs something that is almost hickory format. I've elaborated on this solution to HTML-parsing on Node.js here (SO)

I'd be willing to attempt such an integration myself, but would want to make sure that there is indeed no proper solution as of this point (Also, this would be my very first pull request, so I'm a bit daunted and quite unsure if I could actually get it done).

Stvad commented 3 years ago

Hey @euporos I was wondering if you've ended up doing any work on this?

slipset commented 1 year ago

Closing this now as #33 is merged