microdata-node
microdata-node copied to clipboard
expose functions accepting parsed DOM directly
Hello, it would be nice to have DOM versions of provided functions, e.g.
export function toJsonLd(dom: htmlparser.Node[])
This is to avoid excessive re-parsing in case you want to scrap something else as well.