detect-features
Version:
Detect and report browser and hardware features.
106 lines (105 loc) • 3.41 kB
JSON
{
"browserFeatures": {
"browserType": {
"browserEngineName": "WebKit",
"browserEngineVersion": "604.4.7",
"browserName": "Mobile Safari",
"browserVersion": "11.0",
"deviceModel": "iPad",
"deviceType": "tablet",
"deviceVendor": "Apple",
"operatingSystemName": "iOS",
"operatingSystemVersion": "11.2.1"
},
"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 (OpenGL ES GLSL ES 1.00)",
"renderer": "WebKit WebGL",
"rendererUnmasked": "Apple A9X GPU",
"vendor": "WebKit",
"vendorUnmasked": "Apple Inc.",
"version": "WebGL 1.0 (OpenGL ES 2.0 Metal - 52.1.2)"
},
"general": {
"aliasedLineWidthRange": "1,16",
"aliasedPointSizeRange": "1,511",
"alphaBits": 8,
"antialias": true,
"blueBits": 8,
"depthBits": 24,
"greenBits": 8,
"maxCombinedTextureImageUnits": 8,
"maxCubeMapTextureSize": 4096,
"maxFragmentUniformVectors": 64,
"maxRenderBufferSize": 4096,
"maxTextureImageUnits": 8,
"maxTextureSize": 4096,
"maxVaryingVectors": 8,
"maxVertexAttributes": 16,
"maxVertexTextureImageUnits": 8,
"maxVertexUniformVectors": 128,
"maxViewportDimensions": "4096,4096",
"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": 4
},
"extensions": {
"maxAnisotropy": 16,
"maxDrawBuffers": 0,
"supportedExtensions": {
"EXT_blend_minmax": true,
"EXT_sRGB": 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,
"WEBKIT_WEBGL_compressed_texture_pvrtc": true,
"WEBGL_depth_texture": true,
"ANGLE_instanced_arrays": true,
"WEBGL_debug_renderer_info": true
}
}
}
},
"browserSettings": {
"isCookieEnabled": true,
"isDoNotTrackEnabled": true
},
"hardwareFeatures": {
"devicePixelRatio": 2,
"endianness": "little",
"screenSize": "768,1024",
"workerPoolSize": 0,
"windowSize": "768,954"
}
}