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
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    4
  • 1.0.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i siblings

Weekly Downloads

4

Version

1.0.1

License

BSD

Last publish

Collaborators

  • maxogden