📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
matthewhudson/current-device has 3,935 GitHub stars.
It currently ranks #8109 daily, #9322 weekly, #13194 monthly by momentum on Trending Repos; its best-ever rank is #1498.