UNPKG

detect-features

Version:

Detect and report browser and hardware features.

197 lines 6.9 kB
{ "hardwareFeatures": { "windowSize": "1062,514", "screenSize": "2048,1536", "endianness": "little", "workerPoolSize": 2, "devicePixelRatio": 1 }, "browserSettings": { "isCookieEnabled": true, "isDoNotTrackEnabled": true }, "browserFeatures": { "isWebXRSupported": false, "isWebVRSupported": false, "isWebGLSupported": true, "isWebRTCSupported": true, "isWebGL2Supported": true, "isGamepadSupported": true, "isWebAudioSupported": true, "isWebWorkerSupported": true, "isIndexedDBSupported": true, "isWebSocketSupported": true, "isWebAssemblySupported": true, "isPerformanceSupported": true, "browserType": { "deviceType": "Unknown", "browserName": "Chrome", "deviceModel": "Unknown", "deviceVendor": "Unknown", "browserVersion": "65.0.3325.146", "browserEngineName": "WebKit", "operatingSystemName": "Windows", "browserEngineVersion": "537.36", "operatingSystemVersion": "10" }, "isLocalStorageSupported": true, "isServiceWorkerSupported": true, "webGLFeatures": { "base": { "vendor": "WebKit", "version": "WebGL 1.0 (OpenGL ES 2.0 Chromium)", "renderer": "WebKit WebGL", "shaderVersion": "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)", "vendorUnmasked": "Google Inc.", "rendererUnmasked": "Google SwiftShader" }, "general": { "redBits": 8, "blueBits": 8, "greenBits": 8, "depthBits": 24, "antialias": true, "alphaBits": 8, "stencilBits": 8, "subPixelBits": 4, "maxTextureSize": 8192, "maxVaryingVectors": 32, "maxRenderBufferSize": 8192, "maxVertexAttributes": 32, "maxTextureImageUnits": 16, "aliasedPointSizeRange": "0.125,8192", "aliasedLineWidthRange": "1,1", "maxViewportDimensions": "8192,8192", "maxCubeMapTextureSize": 8192, "maxVertexUniformVectors": 256, "maxFragmentUniformVectors": 224, "maxVertexTextureImageUnits": 16, "maxCombinedTextureImageUnits": 32, "precision": { "vertexShaderLowPrecision": "127,127,23", "vertexShaderHighPrecision": "127,127,23", "fragmentShaderLowPrecision": "127,127,23", "fragmentShaderHighPrecision": "127,127,23", "vertexShaderMediumPrecision": "127,127,23", "fragmentShaderMediumPrecision": "127,127,23" } }, "extensions": { "maxAnisotropy": 16, "maxDrawBuffers": 8, "supportedExtensions": { "EXT_blend_minmax": true, "OES_texture_float": true, "WEBGL_lose_context": true, "WEBGL_draw_buffers": true, "WEBGL_debug_shaders": true, "WEBGL_depth_texture": true, "OES_element_index_uint": true, "OES_texture_half_float": true, "ANGLE_instanced_arrays": true, "OES_vertex_array_object": true, "WEBGL_color_buffer_float": true, "OES_standard_derivatives": true, "OES_texture_float_linear": true, "WEBKIT_WEBGL_lose_context": true, "WEBGL_debug_renderer_info": true, "WEBKIT_WEBGL_depth_texture": true, "EXT_color_buffer_half_float": true, "WEBGL_compressed_texture_s3tc": true, "OES_texture_half_float_linear": true, "WEBGL_compressed_texture_etc1": true, "EXT_texture_filter_anisotropic": true, "WEBKIT_WEBGL_compressed_texture_s3tc": true, "WEBKIT_EXT_texture_filter_anisotropic": true } } }, "webGL2Features": { "base": { "vendor": "WebKit", "version": "WebGL 2.0 (OpenGL ES 3.0 Chromium)", "renderer": "WebKit WebGL", "shaderVersion": "WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)", "vendorUnmasked": "Google Inc.", "rendererUnmasked": "Google SwiftShader" }, "general": { "redBits": 8, "blueBits": 8, "antialias": true, "alphaBits": 8, "depthBits": 24, "greenBits": 8, "stencilBits": 8, "subPixelBits": 4, "maxTextureSize": 8192, "maxVaryingVectors": 32, "maxRenderBufferSize": 8192, "maxVertexAttributes": 32, "maxTextureImageUnits": 16, "maxViewportDimensions": "8192,8192", "aliasedPointSizeRange": "0.125,8192", "maxCubeMapTextureSize": 8192, "aliasedLineWidthRange": "1,1", "maxVertexUniformVectors": 256, "maxFragmentUniformVectors": 224, "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" } }, "specific": { "maxSamples": 4, "maxDrawBuffers": 8, "maxElementIndex": 2147483647, "max3DTextureSize": 8192, "maxTextureLODBias": 12, "maxElementsIndices": 2147483647, "maxColorAttachments": 8, "maxUniformBlockSize": 16384, "maxElementsVertices": 2147483647, "maxClientWaitTimeout": 0, "maxServerWaitTimeout": 0, "maxVaryingComponents": 128, "maxProgramTexelOffset": 7, "maxArrayTextureLayers": 8192, "minProgramTexelOffset": -8, "maxVertexUniformBlocks": 12, "maxFragmentUniformBlocks": 12, "maxUniformBufferBindings": 24, "maxCombinedUniformBlocks": 24, "maxVertexOutputComponents": 64, "maxFragmentInputComponents": 60, "maxVertexUniformComponents": 1036, "maxFragmentUniformComponents": 908, "uniformBufferOffsetAlignment": 1, "maxCombinedVertexUniformComponents": 50188, "maxTransformFeedbackSeparateAttribs": 4, "maxCombinedFragmentUniformComponents": 50060, "maxTransformFeedbackSeparateComponents": 64, "maxTransformFeedbackInterleavedComponents": 64 }, "extensions": { "maxAnisotropy": 16, "supportedExtensions": { "WEBGL_lose_context": true, "WEBGL_debug_shaders": true, "EXT_color_buffer_float": true, "OES_texture_float_linear": true, "WEBGL_debug_renderer_info": true, "WEBGL_compressed_texture_etc": true, "WEBGL_compressed_texture_s3tc": true, "WEBGL_compressed_texture_etc1": true, "EXT_texture_filter_anisotropic": true } } }, "isRequestIdleCallbackSupported": true } }