Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
Identifying "Apple Vision Pro" from UserAgent.
- Host: GitHub
- URL: https://github.com/ryohidaka/apple-vision-pro
- Owner: ryohidaka
- License: mit
- Created: 2024-06-25T07:56:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T15:02:49.000Z (3 months ago)
- Last Synced: 2024-11-11T16:19:11.987Z (3 months ago)
- Topics: apple-vision-pro, avp, useragent, visionos, visionpro
- Language: TypeScript
- Homepage:
- Size: 229 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# apple-vision-pro
[![npm version](https://badge.fury.io/js/apple-vision-pro.svg)](https://badge.fury.io/js/apple-vision-pro)
![build](https://github.com/ryohidaka/apple-vision-pro/workflows/Build/badge.svg)
[![codecov](https://codecov.io/gh/ryohidaka/apple-vision-pro/graph/badge.svg?token=RHP9TB2F51)](https://codecov.io/gh/ryohidaka/apple-vision-pro)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](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.