This release adds support for the attribute wildcard @*
that can be used to extract all HTML attributes from an element:
echo "<a href='#' rel='noopener' target='_blank'>Click me</a>" | hred 'a @*'
[
{
"href": "#",
"rel": "noopener",
"target": "_blank"
}
]