Skip to content

ryohidaka/apple-vision-pro

Repository files navigation

apple-vision-pro

npm version build codecov License

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:

npm install apple-vision-pro

Usage

import { isAppleVisionPro } from "apple-vision-pro";

const isAVP = isAppleVisionPro();

console.log(isAVP);
// true or false

Link

License

This project is licensed under the MIT License - see the LICENSE file for details.