# check_ios

> Check if the device is a IOS device and to check if the device is iPad or not

Latest version **1.0.3** (published 2023-07-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install check_ios
pnpm add check_ios
yarn add check_ios
bun add check_ios
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-07-11 |
| First published | 2023-07-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sterin Saji |
| Maintainers | sterincode |

## Links

- npm: https://www.npmjs.com/package/check_ios
- Repository: https://github.com/HttpSafe/check_ios
- Homepage: https://github.com/HttpSafe/check_ios#readme
- Issues: https://github.com/HttpSafe/check_ios/issues
- npm.io page: https://npm.io/package/check_ios

## Recent versions

- 1.0.3 (latest) — 2023-07-11
- 1.0.2 — 2023-07-11
- 1.0.1 — 2023-07-11
- 1.0.0 — 2023-07-11

## README

# check_ios

Check if the device is an iOS device and determine if it's an iPad, iPhone, Mac or Just any iOS device.

## Description

This package provides a class `CheckIOS` that allows you to check if the device is an iOS device and determine if it's an if it's an iPad, iPhone, Mac or Just any iOS device. It utilizes regular expressions to match the user agent string of the device.

## Installation

Install the package using npm:

## Usage

Import the `CheckIOS` class and create an instance of it:

```javascript
import CheckIOS from 'check_ios';

const check = new CheckIOS();

console.log('Is iOS:', check.isIOS());
console.log('Is iPad:', check.isIpad());
console.log('Is iPhone:', check.isIphone());
console.log('Is Mac device:', check.isMac());
```

The isIOS() method checks if the device is an iOS device based on the user agent string. The isIpad() method determines if the device is an iPad. The isIphone() method checks if the device is an iPhone. The isMac() method checks if the device is a Mac device

## Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

## License

This project is licensed under the ISC License.

## Author

Sterin Saji

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