JSSoup
JSSoup copied to clipboard
`recursive` argument
Would it be possible to support recursive argument ?
I could simulate it somehow like this at the moment...
function findAll(element, {'recursive' = false}) {
var result = [];
const head = soup.find(element);
const tail = head.findNextSiblings(element)
return [ head, ...tail ];
}