# @myxplor/agent-detection

> Currently this is just a simple regex to detect if the useragent is a mobile. We're considering `iPads` to be a mobile device.

Latest version **0.3.7** (published 2021-05-27) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install @myxplor/agent-detection
pnpm add @myxplor/agent-detection
yarn add @myxplor/agent-detection
bun add @myxplor/agent-detection
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.7 |
| Published | 2021-05-27 |
| First published | 2018-02-19 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | roblaine, wiob, lex-xplor, waffleau, arjun555, mengopudding, hjemmel, adam-xplor |

## Links

- npm: https://www.npmjs.com/package/@myxplor/agent-detection
- npm.io page: https://npm.io/package/@myxplor/agent-detection

## Recent versions

- 0.3.7 (latest) — 2021-05-27
- 0.3.1 — 2018-07-02
- 0.3.0 — 2018-02-22
- 0.1.0 — 2018-02-19

## README

# Agent detection

Currently this is just a simple regex to detect if the useragent is a mobile.
We're considering `iPads` to be a mobile device.

## Why?

As sometime on mobile we want a slightly different behavour.
eg: We don't always want to autofocus an input. As this brings up the keyboard and can make it difficult for the user to get context.

---
_Source: https://npm.io/package/@myxplor/agent-detection · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
