https://github.com/ryohidaka/apple-vision-pro
Identifying "Apple Vision Pro" from UserAgent.
https://github.com/ryohidaka/apple-vision-pro
apple-vision-pro avp useragent visionos visionpro
Last synced: 7 months ago
JSON representation
Identifying "Apple Vision Pro" from UserAgent.
- Host: GitHub
- URL: https://github.com/ryohidaka/apple-vision-pro
- Owner: ryohidaka
- License: mit
- Archived: true
- Created: 2024-06-25T07:56:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-17T15:57:13.000Z (10 months ago)
- Last Synced: 2025-05-03T02:08:05.741Z (7 months ago)
- Topics: apple-vision-pro, avp, useragent, visionos, visionpro
- Language: TypeScript
- Homepage:
- Size: 354 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# apple-vision-pro
[](https://badge.fury.io/js/apple-vision-pro)

[](https://codecov.io/gh/ryohidaka/apple-vision-pro)
[](https://opensource.org/licenses/MIT)
## Overview
Identifying "Apple Vision Pro" from UserAgent
## Notes
This is only a tentative detection method and is subject to change in the future.
## Installation
You can install this library using npm:
```shell
npm install apple-vision-pro
```
## Usage
```ts
import { isAppleVisionPro } from "apple-vision-pro";
const isAVP = isAppleVisionPro();
console.log(isAVP);
// true or false
```
## Link
- [Reference post (reddit)](https://www.reddit.com/r/visionosdev/comments/1azvzen/identifying_avp_users_on_web_pages)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.