jonathantneal/closest

Return the closest element matching a selector up the DOM tree

by Jonathan Neal JavaScript CC0-1.0 licence 30 forks Created May 2014 View on GitHub

Stars
351
3% of jonathantneal's stars
Rank
#172,140
of 851,984 repos, top 21%
In JavaScript
#20,081
of 99,800 repos, top 21%

Among 851,984 repos

Compare with

250–400 stars: 77,404 repos, including closest

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #171,729
Next milestone
+5 stars to reach the top 20%
Popular
One of 490,652 repos with 100+ stars
Yearly average
28 stars a year since May 2014

Stars counted Recounted daily Next count around