# is-mobile-agent

> Singleton boolean that is true when user agent is mobile or tablet.

Latest version **1.0.0** (published 2022-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-mobile-agent
pnpm add is-mobile-agent
yarn add is-mobile-agent
bun add is-mobile-agent
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-08-01 |
| First published | 2022-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | stagas |
| Maintainers | stagas |

## Links

- npm: https://www.npmjs.com/package/is-mobile-agent
- Repository: https://git@github.com/stagas/is-mobile-agent
- Homepage: https://github.com/stagas/is-mobile-agent#readme
- Issues: https://github.com/stagas/is-mobile-agent/issues
- npm.io page: https://npm.io/package/is-mobile-agent

## Recent versions

- 1.0.0 (latest) — 2022-08-01
- 0.0.1 — 2022-07-30

## README

<h1>
is-mobile-agent <a href="https://npmjs.org/package/is-mobile-agent"><img src="https://img.shields.io/badge/npm-v1.0.0-F00.svg?colorA=000"/></a> <a href="src"><img src="https://img.shields.io/badge/loc-2-FFF.svg?colorA=000"/></a> <a href="https://cdn.jsdelivr.net/npm/is-mobile-agent@1.0.0/dist/is-mobile-agent.min.js"><img src="https://img.shields.io/badge/brotli-107b-333.svg?colorA=000"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000"/></a>
</h1>

<p></p>

Singleton boolean that is true when user agent is mobile or tablet.

<h4>
<table><tr><td title="Triple click to select and copy paste">
<code>npm i is-mobile-agent </code>
</td><td title="Triple click to select and copy paste">
<code>pnpm add is-mobile-agent </code>
</td><td title="Triple click to select and copy paste">
<code>yarn add is-mobile-agent</code>
</td></tr></table>
</h4>

## API

<p>  <details id="isMobileAgent$1" title="Variable" open><summary><span><a href="#isMobileAgent$1">#</a></span>  <code><strong>isMobileAgent</strong></code>  <span><span>&nbsp;=&nbsp;</span>  <code>...</code></span>  </summary>  <a href="src/is-mobile-agent.ts#L1">src/is-mobile-agent.ts#L1</a>  <ul><p>boolean</p>        </ul></details></p>

## Contributing

[Fork](https://github.com/stagas/is-mobile-agent/fork) or [edit](https://github.dev/stagas/is-mobile-agent) and submit a PR.

All contributions are welcome!

## License

<a href="LICENSE">MIT</a> &copy; 2022 [stagas](https://github.com/stagas)

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