{"library":"which-typed-array","type":"library","category":null,"description":"The `which-typed-array` package provides a robust and cross-realm method for determining the specific kind of JavaScript Typed Array a given value is. Unlike `instanceof`, it works reliably across different JavaScript realms (e.g., iframes, web workers) and bypasses issues with `Symbol.toStringTag` being overridden. It returns the string name of the Typed Array (e.g., 'Int8Array', 'Uint32Array', 'Float64Array') or `false` if the value is not a Typed Array. The current stable version is 1.1.20, indicating a mature and well-tested utility. Given its focused scope and the stability of the underlying JavaScript `TypedArray` specification, new releases are generally infrequent, focusing on compatibility and minor improvements. It's a foundational utility often used by libraries that need to handle various JavaScript value types precisely.","language":"javascript","status":"active","version":"1.1.20","tags":["javascript","array","TypedArray","typed array","which","typed","Int8Array","Uint8Array","Uint8ClampedArray","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install which-typed-array","imports":["import whichTypedArray from 'which-typed-array';"]},{"cmd":"yarn add which-typed-array","imports":[]},{"cmd":"pnpm add which-typed-array","imports":[]}],"homepage":null,"github":"https://github.com/inspect-js/which-typed-array","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/which-typed-array","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/which-typed-array/compatibility"}}