nuxt-modules/device
Nuxt module for detecting device type. observed · 2026-09-03
Health v2 · maintenance only
75/100
- Activity 100
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 223.5
- age_days: 3190
- days_rel: 267
- days_push: 0
- n_releases_24m: 3
Adoption not part of the score
1003 stars · 54 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Nuxt module that detects the device type (desktop, mobile, tablet, OS, browser, crawler) from user-agent headers. It exposes flags via a $device helper and useDevice() composable, with CloudFront and Cloudflare header support.
Use cases
- detect mobile vs desktop in a Nuxt app
- serve different layouts for mobile and desktop
- detect iOS or Android devices in Vue SSR
- detect bots and crawlers via user agent
- switch components based on device type
- device detection with Cloudflare or CloudFront headers
When to choose
- you use Nuxt and need device-aware rendering or layouts
- you want simple boolean flags for device, OS, and browser detection
- you need crawler detection or CDN device-type header support
When to avoid
- you need detailed device capability or hardware data
- your project is not Nuxt/Vue based
- you need client-side responsive behavior better handled with CSS media queries
Facets
plugin · maturity active
middleware web-framework web-development frontend nuxt vue device-detection user-agent responsive nodejs web-server
1 source
- readme: https://github.com/nuxt-modules/device · fetched 2026-09-03 · 21d5aedee8db
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nuxt-modules/device | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="nuxt-modules/device")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem