UNPKG

detect-features

Version:

Detect and report browser and hardware features.

192 lines 6.46 kB
{ "hardwareFeatures": { "windowSize": "360,597", "screenSize": "360,669", "endianness": "little", "workerPoolSize": 8, "devicePixelRatio": 3 }, "browserSettings": { "isCookieEnabled": true, "isDoNotTrackEnabled": false }, "browserFeatures": { "isWebXRSupported": false, "isWebVRSupported": false, "isWebGLSupported": true, "isWebRTCSupported": true, "isWebGL2Supported": true, "isGamepadSupported": true, "isWebAudioSupported": true, "isWebWorkerSupported": true, "isIndexedDBSupported": true, "isWebSocketSupported": true, "isWebAssemblySupported": false, "isPerformanceSupported": true, "browserType": { "deviceType": "mobile", "browserName": "Firefox", "deviceModel": "Unknown", "deviceVendor": "Unknown", "browserVersion": "51.0", "browserEngineName": "Gecko", "operatingSystemName": "Android", "browserEngineVersion": "51.0", "operatingSystemVersion": "7.0" }, "isLocalStorageSupported": true, "isServiceWorkerSupported": true, "webGLFeatures": { "base": { "vendor": "Mozilla", "version": "WebGL 1.0", "renderer": "Mozilla", "shaderVersion": "WebGL GLSL ES 1.0", "vendorUnmasked": null, "rendererUnmasked": null }, "general": { "redBits": 8, "blueBits": 8, "greenBits": 8, "depthBits": 24, "antialias": false, "alphaBits": 8, "stencilBits": 8, "subPixelBits": 8, "maxTextureSize": 16384, "maxVaryingVectors": 15, "maxRenderBufferSize": 16384, "maxVertexAttributes": 16, "maxTextureImageUnits": 16, "maxViewportDimensions": "16384,16384", "maxCubeMapTextureSize": 4096, "aliasedPointSizeRange": "1,1024", "aliasedLineWidthRange": "1,4095.9375", "maxVertexUniformVectors": 1024, "maxFragmentUniformVectors": 1024, "maxVertexTextureImageUnits": 16, "maxCombinedTextureImageUnits": 96, "precision": { "vertexShaderLowPrecision": "15,15,10", "vertexShaderHighPrecision": "127,127,23", "fragmentShaderLowPrecision": "15,15,10", "fragmentShaderHighPrecision": "127,127,23", "vertexShaderMediumPrecision": "15,15,10", "fragmentShaderMediumPrecision": "15,15,10" } }, "extensions": { "maxAnisotropy": 0, "maxDrawBuffers": 0, "supportedExtensions": { "EXT_sRGB": true, "EXT_frag_depth": true, "EXT_blend_minmax": true, "OES_texture_float": true, "WEBGL_lose_context": true, "WEBGL_depth_texture": true, "MOZ_WEBGL_lose_context": true, "OES_texture_half_float": true, "OES_element_index_uint": true, "ANGLE_instanced_arrays": true, "OES_vertex_array_object": true, "MOZ_WEBGL_depth_texture": true, "OES_standard_derivatives": true, "EXT_disjoint_timer_query": true, "OES_texture_float_linear": true, "WEBGL_color_buffer_float": true, "EXT_color_buffer_half_float": true, "WEBGL_compressed_texture_etc": true, "OES_texture_half_float_linear": true, "WEBGL_compressed_texture_etc1": true } } }, "webGL2Features": { "base": { "vendor": "Mozilla", "version": "WebGL 2.0", "renderer": "Mozilla", "shaderVersion": "WebGL GLSL ES 3.00", "vendorUnmasked": null, "rendererUnmasked": null }, "general": { "redBits": 8, "blueBits": 8, "antialias": false, "alphaBits": 8, "depthBits": 24, "greenBits": 8, "stencilBits": 8, "subPixelBits": 8, "maxTextureSize": 16384, "maxVaryingVectors": 15, "maxRenderBufferSize": 16384, "maxVertexAttributes": 16, "maxTextureImageUnits": 16, "maxCubeMapTextureSize": 4096, "aliasedLineWidthRange": "1,4095.9375", "maxViewportDimensions": "16384,16384", "aliasedPointSizeRange": "1,1024", "maxVertexUniformVectors": 1024, "maxFragmentUniformVectors": 1024, "maxVertexTextureImageUnits": 16, "maxCombinedTextureImageUnits": 96, "precision": { "vertexShaderLowPrecision": "15,15,10", "vertexShaderHighPrecision": "127,127,23", "fragmentShaderLowPrecision": "15,15,10", "vertexShaderMediumPrecision": "15,15,10", "fragmentShaderHighPrecision": "127,127,23", "fragmentShaderMediumPrecision": "15,15,10" } }, "specific": { "maxSamples": 16, "maxDrawBuffers": 4, "maxElementIndex": 2147483647, "max3DTextureSize": 4096, "maxTextureLODBias": 256, "maxElementsIndices": 16777216, "maxColorAttachments": 4, "maxUniformBlockSize": 16384, "maxElementsVertices": 16777216, "maxVaryingComponents": 60, "maxClientWaitTimeout": 1000000000, "maxServerWaitTimeout": 18446744073709552000, "maxArrayTextureLayers": 256, "maxProgramTexelOffset": 7, "minProgramTexelOffset": -8, "maxVertexUniformBlocks": 12, "maxUniformBufferBindings": 72, "maxFragmentUniformBlocks": 12, "maxCombinedUniformBlocks": 72, "maxVertexOutputComponents": 64, "maxFragmentInputComponents": 60, "maxVertexUniformComponents": 4096, "maxFragmentUniformComponents": 4096, "uniformBufferOffsetAlignment": 16, "maxCombinedVertexUniformComponents": 53248, "maxTransformFeedbackSeparateAttribs": 4, "maxCombinedFragmentUniformComponents": 53248, "maxTransformFeedbackSeparateComponents": 4, "maxTransformFeedbackInterleavedComponents": 64 }, "extensions": { "maxAnisotropy": 0, "supportedExtensions": { "WEBGL_lose_context": true, "EXT_color_buffer_float": true, "MOZ_WEBGL_lose_context": true, "OES_texture_float_linear": true, "EXT_disjoint_timer_query": true, "WEBGL_compressed_texture_etc": true, "WEBGL_compressed_texture_etc1": true } } }, "isRequestIdleCallbackSupported": false } }