UNPKG

detect-features

Version:

Detect and report browser and hardware features.

14 lines (10 loc) 261 B
// @ts-check // Vendor import { getGPUTier } from 'detect-gpu'; /** * Gets the device GPU tier based on benchmark scores * * @returns {Object} Returns a GPU tier and the unmasked GPU renderer name */ const GPUTier = getGPUTier(); export default GPUTier;