node-soupselect
node-soupselect copied to clipboard
Implement the sibling selectors + and ~
I attempted to use these because I had two elements like this:
<b class="foo">wrong</b>
<b>right</b>
I need sibling selectors so that I can do:
select( dom, "b.foo ~ b" );
or at least
select( dom, "b.foo + b" );