hred
hred copied to clipboard
Reduce HTML and XML to JSON from the command line, using an expressive query language inspired by CSS selectors.
I don’t remember if there’s any good reason to not support operands.
Currently selecting things from an SVG embedded in HTML does not work, need to check out why.
One of the open questions in the [QSX language explainer](https://danburzo.ro/projects/qsx/specification/) is handling trailing whitespace when reading `.textContent` and related properties. Should this be a global flag on `hred` instead, e.g....