{"name":"is-typed-array","version":"1.1.14","keywords":["array","TypedArray","typed array","is","typed","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","ES6","toStringTag","Symbol.toStringTag","@@toStringTag"],"author":{"url":"http://ljharb.codes","name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"is-typed-array@1.1.14","contributors":[{"url":"http://ljharb.codes","name":"Jordan Harband","email":"ljharb@gmail.com"}],"homepage":"https://github.com/inspect-js/is-typed-array#readme","bugs":{"url":"https://github.com/inspect-js/is-typed-array/issues"},"dist":{"shasum":"205d51d499d5e336f4a3aa480c8ead5ff9e2e3e8","tarball":"http://registry-npm.ywwl.com/is-typed-array/download/is-typed-array-1.1.14.tgz","fileCount":12,"integrity":"sha512-lQUsHzcTb7rH57dajbOuZEuMDXjs9f04ZloER4QOpjpKcaw4f98BRUrs8aiO9Z4G7i7B0Xhgarg6SCgYcYi8Nw==","signatures":[{"sig":"MEYCIQDc3ABO6aBPPGg+mYI2/1F6yfw+6Aklhqkgsfvqm670YgIhAKDNYCCP5e+dmrOEAj5V5PQuqugyFXOrSQr3dOuxTpfE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21523,"size":7364,"noattachment":false,"key":"/is-typed-array/-/is-typed-array-1.1.14.tgz"},"main":"index.js","types":"./index.d.ts","engines":{"node":">= 0.4"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"e4e53dbe0aa02c197bc31602191088b79c7ee97e","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only && npm run test:harmony","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run --silent lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc -p . && attw -P","posttest":"npx npm@'>= 10.2' audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape test","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","test:harmony":"nyc node --harmony --es-staging test","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js","browsers":["iexplore/6.0..latest","firefox/3.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/10.0..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"repository":{"url":"git://github.com/inspect-js/is-typed-array.git","type":"git"},"_npmVersion":"10.9.2","description":"Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.","directories":{},"sideEffects":false,"_nodeVersion":"23.4.0","dependencies":{"which-typed-array":"^1.1.16"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false,"startingVersion":"1.1.10"},"devDependencies":{"nyc":"^10.3.2","tape":"^5.9.0","eslint":"=8.8.0","evalmd":"^0.0.19","encoding":"^0.1.13","for-each":"^0.3.3","npmignore":"^0.3.1","in-publish":"^2.0.1","typescript":"next","@types/node":"^20.17.10","@types/tape":"^5.7.0","is-callable":"^1.2.7","auto-changelog":"^2.5.0","object-inspect":"^1.13.3","@types/for-each":"^0.3.3","has-tostringtag":"^1.0.2","@ljharb/tsconfig":"^0.2.2","@types/is-callable":"^1.1.2","make-arrow-function":"^1.2.0","safe-publish-latest":"^2.0.0","@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@types/object-inspect":"^1.13.0","make-generator-function":"^2.0.0","@types/make-arrow-function":"^1.2.2","@types/make-generator-function":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/is-typed-array_1.1.14_1734457290497_0.6180124415190635","host":"s3://npm-registry-packages-npm-production"},"readme":"# is-typed-array <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nIs this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.\n\n## Example\n\n```js\nvar isTypedArray = require('is-typed-array');\nvar assert = require('assert');\n\nassert.equal(false, isTypedArray(undefined));\nassert.equal(false, isTypedArray(null));\nassert.equal(false, isTypedArray(false));\nassert.equal(false, isTypedArray(true));\nassert.equal(false, isTypedArray([]));\nassert.equal(false, isTypedArray({}));\nassert.equal(false, isTypedArray(/a/g));\nassert.equal(false, isTypedArray(new RegExp('a', 'g')));\nassert.equal(false, isTypedArray(new Date()));\nassert.equal(false, isTypedArray(42));\nassert.equal(false, isTypedArray(NaN));\nassert.equal(false, isTypedArray(Infinity));\nassert.equal(false, isTypedArray(new Number(42)));\nassert.equal(false, isTypedArray('foo'));\nassert.equal(false, isTypedArray(Object('foo')));\nassert.equal(false, isTypedArray(function () {}));\nassert.equal(false, isTypedArray(function* () {}));\nassert.equal(false, isTypedArray(x => x * x));\nassert.equal(false, isTypedArray([]));\n\nassert.ok(isTypedArray(new Int8Array()));\nassert.ok(isTypedArray(new Uint8Array()));\nassert.ok(isTypedArray(new Uint8ClampedArray()));\nassert.ok(isTypedArray(new Int16Array()));\nassert.ok(isTypedArray(new Uint16Array()));\nassert.ok(isTypedArray(new Int32Array()));\nassert.ok(isTypedArray(new Uint32Array()));\nassert.ok(isTypedArray(new Float32Array()));\nassert.ok(isTypedArray(new Float64Array()));\nassert.ok(isTypedArray(new BigInt64Array()));\nassert.ok(isTypedArray(new BigUint64Array()));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/is-typed-array\n[npm-version-svg]: https://versionbadg.es/inspect-js/is-typed-array.svg\n[deps-svg]: https://david-dm.org/inspect-js/is-typed-array.svg\n[deps-url]: https://david-dm.org/inspect-js/is-typed-array\n[dev-deps-svg]: https://david-dm.org/inspect-js/is-typed-array/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/is-typed-array#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/is-typed-array.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-typed-array.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-typed-array.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-typed-array\n[codecov-image]: https://codecov.io/gh/inspect-js/is-typed-array/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-typed-array/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-typed-array\n[actions-url]: https://github.com/inspect-js/is-typed-array/actions\n","publish_time":1734457290712,"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"alexandergugel","email":"alexander.gugel@gmail.com"}],"_cnpm_publish_time":1734457290712,"dist-tags":{"latest":"1.1.15"}}