current-device
The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo, AppleTV, etc), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
Ecosystem
npmjs.org
npmjs.org
Latest Release
2 days ago
2.0.2
2 days ago
Versions
27
27
Downloads
116,556 last month
116,556 last month
Dependent Packages
73
73
Dependent Repos
324
324
Loading...
Readme
Loading...
Links
| Registry | npmjs.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:npm/current-device
spec |
| License | MIT |
| First Release | over 8 years ago |
| Last Synced | about 2 hours ago |
Repository
Rankings on npmjs.org
Overall
Top 1.0%
Downloads
Top 1.0%
Dependent packages
Top 0.5%
Dependent repos
Top 0.9%
Forks
Top 1.5%
Docker downloads
Top 0.6%