UNPKG

detect-features

Version:

Detect and report browser and hardware features.

97 lines 3.1 kB
{ "hardwareFeatures": { "windowSize": "1062,496", "screenSize": "2048,1536", "endianness": "little", "workerPoolSize": 0, "devicePixelRatio": 1 }, "browserFeatures": { "webGL2Features": false, "isWebXRSupported": false, "isWebVRSupported": false, "isWebGLSupported": true, "isWebRTCSupported": false, "isWebGL2Supported": false, "isGamepadSupported": false, "isWebAudioSupported": false, "isIndexedDBSupported": true, "isWebSocketSupported": true, "isWebWorkerSupported": true, "isPerformanceSupported": true, "isWebAssemblySupported": false, "browserType": { "deviceType": "Unknown", "browserName": "IE", "deviceModel": "Unknown", "deviceVendor": "Unknown", "browserVersion": "11.0", "browserEngineName": "Trident", "operatingSystemName": "Windows", "browserEngineVersion": "7.0", "operatingSystemVersion": "7" }, "isLocalStorageSupported": true, "isServiceWorkerSupported": false, "webGLFeatures": { "base": { "vendor": "Microsoft", "version": "WebGL 0.94", "renderer": "Internet Explorer", "shaderVersion": "WebGL GLSL ES 0.94", "vendorUnmasked": "Microsoft", "rendererUnmasked": "Microsoft Basic Render Driver" }, "general": { "redBits": 8, "blueBits": 8, "greenBits": 8, "depthBits": 24, "alphaBits": 8, "antialias": true, "stencilBits": 8, "subPixelBits": 4, "maxTextureSize": 16384, "maxVaryingVectors": 15, "maxVertexAttributes": 16, "maxRenderBufferSize": 16384, "maxTextureImageUnits": 16, "maxCubeMapTextureSize": 16384, "maxViewportDimensions": "[object Int32Array]", "aliasedLineWidthRange": "[object Float32Array]", "aliasedPointSizeRange": "[object Float32Array]", "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": { "OES_texture_float": true, "ANGLE_instanced_arrays": true, "OES_element_index_uint": true, "OES_standard_derivatives": true, "OES_texture_float_linear": true, "WEBGL_debug_renderer_info": true, "WEBGL_compressed_texture_s3tc": true, "EXT_texture_filter_anisotropic": true } } }, "isRequestIdleCallbackSupported": false }, "browserSettings": { "isCookieEnabled": true, "isDoNotTrackEnabled": true } }