# emulate-user-agent

> Emulate User Agent

Latest version **0.0.3** (published 2014-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install emulate-user-agent
pnpm add emulate-user-agent
yarn add emulate-user-agent
bun add emulate-user-agent
```

## 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.0.3 |
| Published | 2014-02-14 |
| First published | 2014-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jason Hao |
| Maintainers | hjue |
| Keywords | UserAgent |

## Links

- npm: https://www.npmjs.com/package/emulate-user-agent
- Repository: https://github.com/hjue/user-agent
- Issues: https://github.com/hjue/user-agent/issues
- npm.io page: https://npm.io/package/emulate-user-agent

## Recent versions

- 0.0.3 (latest) — 2014-02-14
- 0.0.2 — 2014-02-14
- 0.0.1 — 2014-02-14

## README

emulate-user-agent
==========

```
npm install emulate-user-agent
```

```
var agents = require('emulate-user-agent');

var headers =  {
  "User-Agent": agents.IPHONE_IOS5
};
```

Used for fake the client user agent.

## Current

```
    IE7: "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)",
    IE8: "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)",
    IE9: "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
    ANDROID: "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.111 Safari/537.36",
    IPHONE_IOS7: "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/546.10 (KHTML, like Gecko) Version/6.0 Mobile/7E18WD Safari/8536.25",
    IPHONE_IOS6: "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A5376e",
    IPHONE_IOS5: "Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3",
    IPHONE_IOS4: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    IPAD_IOS7: "Mozilla/5.0 (iPad; CPU OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A501 Safari/9537.53",
    IPAD_IOS6: "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25",
    IPAD_IOS5: "Mozilla/5.0 (iPad; CPU OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3",
    IPAD_IOS4: "Mozilla/5.0 (iPad; CPU OS 4_3_2 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7 Safari/6533.18.5",
    WP7: "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 800)",
    MAC_SAFARI5: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10"
```

## License

The MIT license

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