{
  "manifest": {
    "name": "typed-array-length",
    "version": "1.0.6",
    "description": "Robustly get the length of a Typed Array",
    "main": "index.js",
    "exports": {
      ".": "./index.js",
      "./package.json": "./package.json"
    },
    "types": "./index.d.ts",
    "sideEffects": false,
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "prepublishOnly": "safe-publish-latest",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "pretest": "npm run lint",
      "prelint": "evalmd README.md",
      "lint": "eslint --ext=js,mjs .",
      "postlint": "tsc -p . && attw -P",
      "tests-only": "nyc tape 'test/**/*.js'",
      "test:harmony": "nyc node --harmony --es-staging test",
      "test": "npm run tests-only && npm run test:harmony",
      "posttest": "aud --production",
      "version": "auto-changelog && git add CHANGELOG.md",
      "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/inspect-js/typed-array-length.git"
    },
    "keywords": [
      "typed",
      "array",
      "length",
      "robust",
      "es",
      "Int8Array",
      "Uint8Array",
      "Uint8ClampedArray",
      "Int16Array",
      "Uint16Array",
      "Int32Array",
      "Uint32Array",
      "Float32Array",
      "Float64Array"
    ],
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/inspect-js/typed-array-length/issues"
    },
    "homepage": "https://github.com/inspect-js/typed-array-length#readme",
    "devDependencies": {
      "@arethetypeswrong/cli": "^0.15.2",
      "@ljharb/eslint-config": "^21.1.0",
      "@ljharb/tsconfig": "^0.2.0",
      "@types/call-bind": "^1.0.5",
      "@types/for-each": "^0.3.3",
      "@types/gopd": "^1.0.3",
      "@types/is-callable": "^1.1.2",
      "@types/make-arrow-function": "^1.2.2",
      "@types/make-generator-function": "^2.0.3",
      "@types/object-inspect": "^1.8.4",
      "@types/tape": "^5.6.4",
      "aud": "^2.0.4",
      "auto-changelog": "^2.4.0",
      "eslint": "=8.8.0",
      "evalmd": "^0.0.19",
      "in-publish": "^2.0.1",
      "is-callable": "^1.2.7",
      "make-arrow-function": "^1.2.0",
      "make-generator-function": "^2.0.0",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "object-inspect": "^1.13.1",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.7.5",
      "typescript": "next"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true
    },
    "dependencies": {
      "call-bind": "^1.0.7",
      "for-each": "^0.3.3",
      "gopd": "^1.0.1",
      "has-proto": "^1.0.3",
      "is-typed-array": "^1.1.13",
      "possible-typed-array-names": "^1.0.0"
    },
    "testling": {
      "files": "test/index.js"
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "engines": {
      "node": ">= 0.4"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-typed-array-length-1.0.6-57155207c76e64a3457482dfdc1c9d1d3c4c73a3-integrity/node_modules/typed-array-length/package.json",
    "readmeFilename": "README.md",
    "readme": "# typed-array-length <sup>[![Version Badge][2]][1]</sup>\n\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][11]][1]\n\nRobustly get the length of a Typed Array, or `false` if it is not a Typed Array. Works cross-realm, in every engine, even if the `length` property is overridden.\n\n## Example\n\n```js\nvar typedArrayLength = require('typed-array-length');\nvar assert = require('assert');\n\nassert.equal(false, typedArrayLength(undefined));\nassert.equal(false, typedArrayLength(null));\nassert.equal(false, typedArrayLength(false));\nassert.equal(false, typedArrayLength(true));\nassert.equal(false, typedArrayLength([]));\nassert.equal(false, typedArrayLength({}));\nassert.equal(false, typedArrayLength(/a/g));\nassert.equal(false, typedArrayLength(new RegExp('a', 'g')));\nassert.equal(false, typedArrayLength(new Date()));\nassert.equal(false, typedArrayLength(42));\nassert.equal(false, typedArrayLength(NaN));\nassert.equal(false, typedArrayLength(Infinity));\nassert.equal(false, typedArrayLength(new Number(42)));\nassert.equal(false, typedArrayLength('foo'));\nassert.equal(false, typedArrayLength(Object('foo')));\nassert.equal(false, typedArrayLength(function () {}));\nassert.equal(false, typedArrayLength(function* () {}));\nassert.equal(false, typedArrayLength(x => x * x));\nassert.equal(false, typedArrayLength([]));\n\nassert.equal(1, typedArrayLength(new Int8Array(1)));\nassert.equal(2, typedArrayLength(new Uint8Array(2)));\nassert.equal(3, typedArrayLength(new Uint8ClampedArray(3)));\nassert.equal(4, typedArrayLength(new Int16Array(4)));\nassert.equal(5, typedArrayLength(new Uint16Array(5)));\nassert.equal(6, typedArrayLength(new Int32Array(6)));\nassert.equal(7, typedArrayLength(new Uint32Array(7)));\nassert.equal(8, typedArrayLength(new Float32Array(8)));\nassert.equal(9, typedArrayLength(new Float64Array(9)));\nassert.equal(10, typedArrayLength(new BigInt64Array(10)));\nassert.equal(11, typedArrayLength(new BigUint64Array(11)));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/typed-array-length\n[2]: https://versionbadg.es/inspect-js/typed-array-length.svg\n[5]: https://david-dm.org/inspect-js/typed-array-length.svg\n[6]: https://david-dm.org/inspect-js/typed-array-length\n[7]: https://david-dm.org/inspect-js/typed-array-length/dev-status.svg\n[8]: https://david-dm.org/inspect-js/typed-array-length#info=devDependencies\n[11]: https://nodei.co/npm/typed-array-length.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/typed-array-length.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/typed-array-length.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=typed-array-length\n",
    "licenseText": "MIT License\n\nCopyright (c) 2020 Inspect JS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz",
    "hash": "57155207c76e64a3457482dfdc1c9d1d3c4c73a3",
    "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==",
    "registry": "npm",
    "packageName": "typed-array-length",
    "cacheIntegrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== sha1-VxVSB8duZKNFdILf3BydHTxMc6M="
  },
  "registry": "npm",
  "hash": "57155207c76e64a3457482dfdc1c9d1d3c4c73a3"
}