Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

ianstormtaylor/next-sibling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

next-sibling

Get the next sibling of an el, optionally filtered by a selector.

Installation

$ component install ianstormtaylor/next-sibling

Example

var next = require('next-sibling');
var body = next(document.head); // document.body

License

MIT

About

Get the next sibling of an element.

Resources

Stars

Watchers

Forks

Packages

No packages published