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'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    8
  • 1.0.0
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i siblings

Weekly Downloads

10

Version

1.0.1

License

BSD

Last publish

Collaborators

  • maxogden