UNPKG

detect-features

Version:

Detect and report browser and hardware features.

108 lines (107 loc) 3.48 kB
{ "browserFeatures": { "browserType": { "browserEngineName": "WebKit", "browserEngineVersion": "604.5.6", "browserName": "Safari", "browserVersion": "11.0.3", "deviceModel": "Unknown", "deviceType": "Unknown", "deviceVendor": "Unknown", "operatingSystemName": "Mac OS", "operatingSystemVersion": "10.13.3" }, "isGamepadSupported": true, "isIndexedDBSupported": true, "isLocalStorageSupported": true, "isPerformanceSupported": true, "isRequestIdleCallbackSupported": false, "isServiceWorkerSupported": false, "isWebAssemblySupported": true, "isWebAudioSupported": true, "isWebGL2Supported": false, "isWebGLSupported": true, "isWebRTCSupported": true, "isWebSocketSupported": true, "isWebVRSupported": false, "isWebWorkerSupported": true, "isWebXRSupported": false, "webGL2Features": false, "webGLFeatures": { "base": { "shaderVersion": "WebGL GLSL ES 1.0 (1.20)", "renderer": "WebKit WebGL", "rendererUnmasked": "Intel(R) Iris(TM) Plus Graphics 640", "vendor": "WebKit", "vendorUnmasked": "Intel Inc.", "version": "WebGL 1.0 (2.1 INTEL-10.30.14)" }, "general": { "aliasedLineWidthRange": "1,7", "aliasedPointSizeRange": "1,255", "alphaBits": 8, "antialias": true, "blueBits": 8, "depthBits": 24, "greenBits": 8, "maxCombinedTextureImageUnits": 16, "maxCubeMapTextureSize": 16384, "maxFragmentUniformVectors": 1024, "maxRenderBufferSize": 8192, "maxTextureImageUnits": 16, "maxTextureSize": 16384, "maxVaryingVectors": 15, "maxVertexAttributes": 16, "maxVertexTextureImageUnits": 16, "maxVertexUniformVectors": 1024, "maxViewportDimensions": "8192,8192", "precision": { "fragmentShaderHighPrecision": "127,127,23", "fragmentShaderLowPrecision": "127,127,23", "fragmentShaderMediumPrecision": "127,127,23", "vertexShaderHighPrecision": "127,127,23", "vertexShaderLowPrecision": "127,127,23", "vertexShaderMediumPrecision": "127,127,23" }, "redBits": 8, "stencilBits": 8, "subPixelBits": 8 }, "extensions": { "maxAnisotropy": 16, "maxDrawBuffers": 8, "supportedExtensions": { "EXT_blend_minmax": true, "EXT_sRGB": true, "EXT_frag_depth": true, "OES_texture_float": true, "OES_texture_float_linear": true, "OES_texture_half_float": true, "OES_texture_half_float_linear": true, "OES_standard_derivatives": true, "EXT_shader_texture_lod": true, "EXT_texture_filter_anisotropic": true, "OES_vertex_array_object": true, "OES_element_index_uint": true, "WEBGL_lose_context": true, "WEBGL_compressed_texture_s3tc": true, "WEBGL_depth_texture": true, "WEBGL_draw_buffers": true, "ANGLE_instanced_arrays": true, "WEBGL_debug_renderer_info": true } } } }, "browserSettings": { "isCookieEnabled": true, "isDoNotTrackEnabled": true }, "hardwareFeatures": { "devicePixelRatio": 1, "endianness": "little", "screenSize": "2560,1440", "workerPoolSize": 0, "windowSize": "1108,579" } }