UNPKG

detect-features

Version:

Detect and report browser and hardware features.

101 lines 3.22 kB
{ "hardwareFeatures": { "windowSize": "800,503", "screenSize": "2048,1536", "endianness": "little", "workerPoolSize": 0, "devicePixelRatio": 1 }, "browserFeatures": { "webGL2Features": false, "isWebXRSupported": false, "isWebVRSupported": false, "isWebGLSupported": true, "isWebRTCSupported": false, "isWebGL2Supported": false, "isGamepadSupported": true, "isWebAudioSupported": true, "isIndexedDBSupported": true, "isWebSocketSupported": true, "isWebWorkerSupported": true, "isPerformanceSupported": true, "isWebAssemblySupported": false, "browserType": { "deviceType": "Unknown", "browserName": "Edge", "deviceModel": "Unknown", "deviceVendor": "Unknown", "browserVersion": "14.14393", "browserEngineName": "EdgeHTML", "operatingSystemName": "Windows", "browserEngineVersion": "14.14393", "operatingSystemVersion": "10" }, "isLocalStorageSupported": true, "isServiceWorkerSupported": false, "webGLFeatures": { "base": { "vendor": "Microsoft", "version": "WebGL 1.0", "renderer": "Microsoft Edge", "shaderVersion": "WebGL GLSL ES 1.0", "vendorUnmasked": "Microsoft", "rendererUnmasked": "Microsoft Basic Render Driver" }, "general": { "redBits": 8, "blueBits": 8, "alphaBits": 8, "depthBits": 24, "greenBits": 8, "antialias": true, "stencilBits": 8, "subPixelBits": 4, "maxTextureSize": 16384, "maxVaryingVectors": 15, "maxVertexAttributes": 16, "maxRenderBufferSize": 16384, "maxTextureImageUnits": 16, "aliasedLineWidthRange": "1,1", "maxViewportDimensions": "16384,16384", "aliasedPointSizeRange": "1,300", "maxCubeMapTextureSize": 16384, "maxVertexUniformVectors": 512, "maxFragmentUniformVectors": 512, "maxVertexTextureImageUnits": 16, "maxCombinedTextureImageUnits": 32, "precision": { "vertexShaderLowPrecision": "127,127,23", "vertexShaderHighPrecision": "127,127,23", "fragmentShaderLowPrecision": "127,127,23", "vertexShaderMediumPrecision": "127,127,23", "fragmentShaderHighPrecision": "127,127,23", "fragmentShaderMediumPrecision": "127,127,23" } }, "extensions": { "maxAnisotropy": 16, "maxDrawBuffers": 0, "supportedExtensions": { "EXT_frag_depth": true, "OES_texture_float": true, "WEBGL_depth_texture": true, "OES_element_index_uint": true, "ANGLE_instanced_arrays": true, "OES_texture_half_float": true, "OES_standard_derivatives": true, "OES_texture_float_linear": true, "WEBGL_debug_renderer_info": true, "WEBGL_compressed_texture_s3tc": true, "OES_texture_half_float_linear": true, "EXT_texture_filter_anisotropic": true } } }, "isRequestIdleCallbackSupported": false }, "browserSettings": { "isCookieEnabled": true, "isDoNotTrackEnabled": true } }