current-device
v2.0.2npm· JavaScriptThe 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).
The verdict
Worth a look. Actively maintained and growing, actively maintained.
Live from the npm registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityRising
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 3 months ago.
Popularity
39K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
- 2.0.23 months ago
- 2.0.13 months ago
- 2.0.03 months ago
- 0.10.25 years ago
- 0.10.16 years ago
- 0.10.06 years ago
- 0.9.16 years ago
- 0.9.06 years ago