{
  "manifest": {
    "name": "array-buffer-byte-length",
    "version": "1.0.1",
    "description": "Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.",
    "main": "index.js",
    "exports": {
      ".": "./index.js",
      "./package.json": "./package.json"
    },
    "sideEffects": false,
    "types": "./index.d.ts",
    "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 .",
      "tests-only": "nyc tape 'test/**/*.js'",
      "test": "npm run tests-only",
      "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)\")\""
    },
    "keywords": [
      "shim",
      "polyfill",
      "ArrayBuffer",
      "byteLength",
      "byte",
      "length",
      "es-shim API",
      "es-shims"
    ],
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "license": "MIT",
    "repository": {
      "type": "git",
      "url": "git+https://github.com/inspect-js/array-buffer-byte-length.git"
    },
    "bugs": {
      "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
    },
    "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
    "dependencies": {
      "call-bind": "^1.0.5",
      "is-array-buffer": "^3.0.4"
    },
    "devDependencies": {
      "@ljharb/eslint-config": "^21.1.0",
      "@types/call-bind": "^1.0.5",
      "@types/es-value-fixtures": "^1.4.4",
      "@types/for-each": "^0.3.3",
      "@types/object-inspect": "^1.8.4",
      "@types/tape": "^5.6.4",
      "aud": "^2.0.4",
      "auto-changelog": "^2.4.0",
      "es-value-fixtures": "^1.4.2",
      "eslint": "=8.8.0",
      "evalmd": "^0.0.19",
      "for-each": "^0.3.3",
      "in-publish": "^2.0.1",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "object-inspect": "^1.13.1",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.7.4",
      "typescript": "^5.4.0-dev.20240202"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true
    },
    "testling": {
      "files": "test/index.js"
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "engines": {
      "node": ">= 0.4"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-array-buffer-byte-length-1.0.1-1e5583ec16763540a27ae52eed99ff899223568f-integrity/node_modules/array-buffer-byte-length/package.json",
    "readmeFilename": "README.md",
    "readme": "# array-buffer-byte-length <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nGet the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.\n\n## Example\n\n```js\nconst assert = require('assert');\nconst byteLength = require('array-buffer-byte-length');\n\nassert.equal(byteLength([]), NaN, 'an array is not an ArrayBuffer, yields NaN');\n\nassert.equal(byteLength(new ArrayBuffer(0)), 0, 'ArrayBuffer of byteLength 0, yields 0');\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array-buffer-byte-length\n[npm-version-svg]: https://versionbadg.es/inspect-js/array-buffer-byte-length.svg\n[deps-svg]: https://david-dm.org/inspect-js/array-buffer-byte-length.svg\n[deps-url]: https://david-dm.org/inspect-js/array-buffer-byte-length\n[dev-deps-svg]: https://david-dm.org/inspect-js/array-buffer-byte-length/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/array-buffer-byte-length#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array-buffer-byte-length.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array-buffer-byte-length.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array-buffer-byte-length.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array-buffer-byte-length\n[codecov-image]: https://codecov.io/gh/inspect-js/array-buffer-byte-length/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/array-buffer-byte-length/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/array-buffer-byte-length\n[actions-url]: https://github.com/inspect-js/array-buffer-byte-length/actions\n",
    "licenseText": "MIT License\n\nCopyright (c) 2023 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/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
    "hash": "1e5583ec16763540a27ae52eed99ff899223568f",
    "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
    "registry": "npm",
    "packageName": "array-buffer-byte-length",
    "cacheIntegrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== sha1-HlWD7BZ2NUCieuUu7Zn/iZIjVo8="
  },
  "registry": "npm",
  "hash": "1e5583ec16763540a27ae52eed99ff899223568f"
}