This module makes it easy to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, macOS, Firefox OS, MeeGo, AppleTV, etc), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile). A lightweight JavaScript library to detect device type and screen size, optimizing responsive design.

Features

  • Supports custom breakpoints
  • Detects mobile, tablet, and desktop devices
  • API for device-specific code handling
  • Documentation available
  • Lightweight for quick loading
  • Compatible with all major browsers

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CURRENT-DEVICE

CURRENT-DEVICE Web Site

Other Useful Business Software
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CURRENT-DEVICE!

Additional Project Details

Operating Systems

Android, Apple iPhone

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2024-10-30