{
  "manifest": {
    "name": "array.prototype.flatmap",
    "version": "1.3.3",
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com",
      "url": "http://ljharb.codes"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "contributors": [
      {
        "name": "Jordan Harband",
        "email": "ljharb@gmail.com",
        "url": "http://ljharb.codes"
      }
    ],
    "description": "An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.",
    "license": "MIT",
    "main": "index",
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "prepublishOnly": "safe-publish-latest",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "pretest": "npm run lint",
      "test": "npm run tests-only",
      "posttest": "npx npm@'>= 10.2' audit --production",
      "tests-only": "nyc tape 'test/**/*.js'",
      "prelint": "evalmd README.md",
      "lint": "eslint --ext=js,mjs .",
      "postlint": "es-shim-api --bound",
      "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://github.com/es-shims/Array.prototype.flatMap.git"
    },
    "keywords": [
      "Array.prototype.flatMap",
      "flatMap",
      "array",
      "ESnext",
      "shim",
      "polyfill",
      "flatten",
      "Array.prototype.flatten",
      "es-shim API"
    ],
    "dependencies": {
      "call-bind": "^1.0.8",
      "define-properties": "^1.2.1",
      "es-abstract": "^1.23.5",
      "es-shim-unscopables": "^1.0.2"
    },
    "devDependencies": {
      "@es-shims/api": "^2.5.1",
      "@ljharb/eslint-config": "^21.1.1",
      "auto-changelog": "^2.5.0",
      "encoding": "^0.1.13",
      "eslint": "=8.8.0",
      "evalmd": "^0.0.19",
      "for-each": "^0.3.3",
      "has-strict-mode": "^1.0.1",
      "in-publish": "^2.0.1",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "object-inspect": "^1.13.3",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.9.0"
    },
    "testling": {
      "files": [
        "test/index.js",
        "test/shimmed.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"
      ]
    },
    "engines": {
      "node": ">= 0.4"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true,
      "startingVersion": "1.3.1"
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "_registry": "npm",
    "_loc": "/home/josie/.cache/yarn/v6/npm-array-prototype-flatmap-1.3.3-integrity/node_modules/array.prototype.flatmap/package.json",
    "readmeFilename": "README.md",
    "readme": "# array.prototype.flatmap <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][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-array.prototype.flatmap).\n\nBecause `Array.prototype.flatMap` depends on a receiver (the `this` value), the main export takes the array to operate on as the first argument.\n\n## Getting started\n\n```sh\nnpm install --save array.prototype.flatmap\n```\n\n## Usage/Examples\n\n```js\nvar flatMap = require('array.prototype.flatmap');\nvar assert = require('assert');\n\nvar arr = [1, [2], [], 3];\n\nvar results = flatMap(arr, function (x, i) {\n\tassert.equal(x, arr[i]);\n\treturn x;\n});\n\nassert.deepEqual(results, [1, 2, 3]);\n```\n\n```js\nvar flatMap = require('array.prototype.flatmap');\nvar assert = require('assert');\n/* when Array#flatMap is not present */\ndelete Array.prototype.flatMap;\nvar shimmedFlatMap = flatMap.shim();\n\nvar mapper = function (x) { return [x, 1]; };\n\nassert.equal(shimmedFlatMap, flatMap.getPolyfill());\nassert.deepEqual(arr.flatMap(mapper), flatMap(arr, mapper));\n```\n\n```js\nvar flatMap = require('array.prototype.flatmap');\nvar assert = require('assert');\n/* when Array#flatMap is present */\nvar shimmedIncludes = flatMap.shim();\n\nvar mapper = function (x) { return [x, 1]; };\n\nassert.equal(shimmedIncludes, Array.prototype.flatMap);\nassert.deepEqual(arr.flatMap(mapper), flatMap(arr, mapper));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/array.prototype.flatmap\n[npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.flatMap.svg\n[deps-svg]: https://david-dm.org/es-shims/Array.prototype.flatMap.svg\n[deps-url]: https://david-dm.org/es-shims/Array.prototype.flatMap\n[dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.flatMap/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.flatMap#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/array.prototype.flatmap.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/array.prototype.flatmap.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/array.prototype.flatmap.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.flatmap\n[codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.flatMap/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.flatMap/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.flatMap\n[actions-url]: https://github.com/es-shims/Array.prototype.flatMap/actions\n",
    "licenseText": "MIT License\n\nCopyright (c) 2017 ECMAScript Shims\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.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
    "type": "tarball",
    "reference": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
    "hash": "",
    "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",
    "registry": "npm",
    "packageName": "array.prototype.flatmap",
    "cacheIntegrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg== sha1-cSzHkq5wNwrkBYYmRinjOqtd04s="
  },
  "registry": "npm",
  "hash": "63b5ade7578a252ca2f34845ac909e3c618da3992d242b2516e6e8a89b1b7f9ec208f726e73ced96e3e5738fda0fcb16b0abe5c1ab5ece957853579f93c9298e"
}