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).

Package versions

33 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
2.6.029 Oct, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.5.028 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.4.028 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.3.028 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.2.028 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.1.028 Sep, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.225 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.125 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.025 Feb, 2026
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.10.215 Jan, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.10.17 May, 2020
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.10.022 Nov, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.9.123 Sep, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.9.023 Sep, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.8.218 Jul, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.8.122 Jun, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.8.017 Jan, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.7.917 Jan, 2019
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.7.82 May, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
0.7.728 Apr, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free