siblings

1.0.1 • Public • Published

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'

/siblings/

    Package Sidebar

    Install

    npm i siblings

    Weekly Downloads

    5

    Version

    1.0.1

    License

    BSD

    Last publish

    Collaborators

    • maxogden