npm.io
1.0.1 • Published 12 years ago

siblings

Licence
BSD
Version
1.0.1
Deps
1
Vulns
0
Weekly
0
Stars
14

siblings

get siblings for a dom element, optionally filtered by a css selector

var siblings = require('siblings')  

siblings(el, '.foo') // gets all siblings of `el` that have class 'foo'