{"_id":"array.prototype.flatmap","_rev":"3919072","name":"array.prototype.flatmap","description":"An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","dist-tags":{"latest":"1.3.3"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-09-01T01:21:37.000Z","created":"2017-10-01T09:00:52.465Z","1.3.3":"2024-12-16T00:45:39.935Z","1.3.2":"2023-09-07T04:07:00.782Z","1.3.1":"2022-11-03T05:39:42.559Z","1.3.0":"2022-04-11T23:48:21.484Z","1.2.5":"2021-10-01T20:27:51.997Z","1.2.4":"2020-11-18T10:46:35.217Z","1.2.3":"2019-12-12T16:51:27.956Z","1.2.2":"2019-10-11T04:47:12.563Z","1.2.1":"2018-02-24T07:43:41.296Z","1.2.0":"2018-01-19T02:03:39.390Z","1.1.1":"2017-11-29T23:18:18.960Z","1.1.0":"2017-10-04T07:42:22.125Z","1.0.1":"2017-10-02T09:48:37.257Z","1.0.0":"2017-10-01T09:00:52.465Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"repository":{"type":"git","url":"git://github.com/es-shims/Array.prototype.flatMap.git"},"versions":{"1.3.3":{"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"]},"_id":"array.prototype.flatmap@1.3.3","gitHead":"80b9df6aed22a58c804d3bab7811f277fc7018b5","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"712cc792ae70370ae40586264629e33aab5dd38b","size":7435,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.3.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/array.prototype.flatmap_1.3.3_1734309939779_0.7633455654590757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-16T00:45:39.935Z","publish_time":1734309939935,"_source_registry_name":"default","_cnpm_publish_time":1734309939935},"1.3.2":{"name":"array.prototype.flatmap","version":"1.3.2","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":"aud --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.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","covert":"^1.1.1","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.0","nyc":"^10.3.2","object-inspect":"^1.12.3","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"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"]},"_id":"array.prototype.flatmap@1.3.2","gitHead":"706bcbc9b045f24795580174e77e2d4f56c621e4","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"c9a7c6831db8e719d6ce639190146c24bbd3e527","size":6881,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.3.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.3.2_1694059620571_0.9145922766486956"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-07T04:07:00.782Z","publish_time":1694059620782,"_source_registry_name":"default","_cnpm_publish_time":1694059620782},"1.3.1":{"name":"array.prototype.flatmap","version":"1.3.1","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":"aud --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.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","covert":"^1.1.1","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.0","nyc":"^10.3.2","object-inspect":"^1.12.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"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"]},"gitHead":"34aafc85b65dcf2ea35d1be6a7ef48b498fc5c7e","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.3.1","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"shasum":"1aae7903c2100433cb8261cd4ed310aab5c4a183","size":6759,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.3.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.3.1_1667453982392_0.7004215061669057"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-03T05:41:02.456Z","publish_time":1667453982559,"_cnpm_publish_time":1667453982559},"1.3.0":{"name":"array.prototype.flatmap","version":"1.3.0","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":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound"},"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.2","define-properties":"^1.1.3","es-abstract":"^1.19.2","es-shim-unscopables":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.0","auto-changelog":"^2.4.0","covert":"^1.1.1","eslint":"=8.8.0","evalmd":"^0.0.19","foreach":"^2.0.5","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.12.0","safe-publish-latest":"^2.0.0","tape":"^5.5.3"},"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"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"6ed2ebbea158a417b555fde09272f25f227fd623","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.3.0","_nodeVersion":"17.9.0","_npmVersion":"8.3.1","dist":{"shasum":"a7e8ed4225f4788a70cd910abcf0791e76a5534f","size":6092,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.3.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.3.0_1649720901342_0.2889249356756256"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-12T01:00:15.881Z","publish_time":1649720901484,"_cnpm_publish_time":1649720901484},"1.2.5":{"name":"array.prototype.flatmap","version":"1.2.5","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":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint .","postlint":"es-shim-api --bound"},"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.0","define-properties":"^1.1.3","es-abstract":"^1.19.0"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","covert":"^1.1.1","eslint":"^7.32.0","evalmd":"0.0.19","foreach":"^2.0.5","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"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"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"23c0fe74b93bd888e907d41f2ddb4dbdafd156e2","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.5","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"908dc82d8a406930fdf38598d51e7411d18d4446","size":6039,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.2.5_1633120071850_0.7090666783433124"},"_hasShrinkwrap":false,"publish_time":1633120071997,"_cnpm_publish_time":1633120071997},"1.2.4":{"name":"array.prototype.flatmap","version":"1.2.4","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 ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint .","postlint":"es-shim-api --bound"},"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.0","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.2.0","aud":"^1.1.3","covert":"^1.1.1","eslint":"^7.13.0","evalmd":"0.0.19","foreach":"^2.0.5","has-strict-mode":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.8.0","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"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"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"deef67f9fd9f360f1c86fc47b16bb3a34f200b83","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"94cfd47cc1556ec0747d97f7c7738c58122004c9","size":5929,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.2.4_1605696395059_0.2596562181897857"},"_hasShrinkwrap":false,"publish_time":1605696395217,"_cnpm_publish_time":1605696395217},"1.2.3":{"name":"array.prototype.flatmap","version":"1.2.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 ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npx aud --production","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js"},"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":{"define-properties":"^1.1.3","es-abstract":"^1.17.0-next.1","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.2","covert":"^1.1.1","eslint":"^6.7.2","evalmd":"0.0.19","foreach":"^2.0.5","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.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"},"greenkeeper":{"ignore":["nyc"]},"gitHead":"e34b4ec7556715334f25ea710693011359304901","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.3","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"1c13f84a178566042dd63de4414440db9222e443","size":5886,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.3.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.2.3_1576169487864_0.2683977317374431"},"_hasShrinkwrap":false,"publish_time":1576169487956,"_cnpm_publish_time":1576169487956},"1.2.2":{"name":"array.prototype.flatmap","version":"1.2.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npx aud --production","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js"},"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":{"define-properties":"^1.1.3","es-abstract":"^1.15.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^14.1.0","covert":"^1.1.1","eslint":"^6.5.1","evalmd":"0.0.19","foreach":"^2.0.5","nyc":"^10.3.2","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.3","tape":"^4.11.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"},"gitHead":"baf90f4a34b58a4f60b38335ffdce59b237822be","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.2","_nodeVersion":"12.11.0","_npmVersion":"6.11.3","dist":{"shasum":"28d621d351c19a62b84331b01669395ef6cef4c4","size":6374,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.2.2_1570769232430_0.29084436220576526"},"_hasShrinkwrap":false,"publish_time":1570769232563,"_cnpm_publish_time":1570769232563},"1.2.1":{"name":"array.prototype.flatmap","version":"1.2.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"index","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.10.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.18.1","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^3.2.1","nyc":"^10.3.2","object-inspect":"^1.5.0","safe-publish-latest":"^1.1.1","tape":"^4.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"},"gitHead":"399547c49522195d83a07a38de2f3ea1042c84da","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"3103cd4826ef90019c9b0a4839b2535fa6faf4e9","size":7457,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap_1.2.1_1519458221229_0.05513180159146125"},"_hasShrinkwrap":false,"publish_time":1519458221296,"_cnpm_publish_time":1519458221296},"1.2.0":{"name":"array.prototype.flatmap","version":"1.2.0","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"./","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","pretests-only":"es-shim-api --bound","tests-only":"npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.10.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.15.0","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^3.1.0","nyc":"^10.3.2","object-inspect":"^1.5.0","safe-publish-latest":"^1.1.1","tape":"^4.8.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"},"gitHead":"82aefc68d671d0f83109610615cbc34b9c21bb64","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"279f7ed4eeb1cedfe5515e92e63cfb40ca15b74b","size":6160,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.2.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap-1.2.0.tgz_1516327419227_0.9909516347106546"},"directories":{},"publish_time":1516327419390,"_hasShrinkwrap":false,"_cnpm_publish_time":1516327419390},"1.1.1":{"name":"array.prototype.flatmap","version":"1.1.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"./","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.10.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^1.3.0","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.12.0","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^3.1.0","nyc":"^10.3.2","object-inspect":"^1.4.0","safe-publish-latest":"^1.1.1","tape":"^4.8.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"},"gitHead":"8b800d0528479cc4cd28bc93540bcbcacffe2bcf","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"dbb6c44693c2a2a2fcab24e551dfbf47f67fde03","size":6045,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.1.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap-1.1.1.tgz_1511997498871_0.7336063627153635"},"directories":{},"publish_time":1511997498960,"_hasShrinkwrap":false,"_cnpm_publish_time":1511997498960},"1.1.0":{"name":"array.prototype.flatmap","version":"1.1.0","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"./","scripts":{"pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.9.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^1.3.0","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.8.0","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^2.8.1","nyc":"^10.3.2","object-inspect":"^1.3.0","tape":"^4.8.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"},"gitHead":"d880712069e04889ccfbef9d602ebcf65a2affb4","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"d6a032dc1b26e013a006c1faa3ae4a4d45d34403","size":6358,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.1.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap-1.1.0.tgz_1507102941231_0.38010560744442046"},"directories":{},"publish_time":1507102942125,"_hasShrinkwrap":false,"_cnpm_publish_time":1507102942125},"1.0.1":{"name":"array.prototype.flatmap","version":"1.0.1","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"./","scripts":{"pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.9.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^1.3.0","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.8.0","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^2.8.1","nyc":"^10.3.2","object-inspect":"^1.3.0","tape":"^4.8.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"},"gitHead":"a58895f9a9b920e5e71a9915f9449593fdb10d90","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"1d16847031027ef8c3b542ce6d97c26ec1dab0b3","size":6099,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap-1.0.1.tgz_1506937717176_0.15777125745080411"},"directories":{},"publish_time":1506937717257,"_cnpm_publish_time":1506937717257,"_hasShrinkwrap":false},"1.0.0":{"name":"array.prototype.flatmap","version":"1.0.0","author":{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.","license":"MIT","main":"./","scripts":{"pretest":"npm run --silent lint && evalmd README.md","test":"npm run --silent tests-only","posttest":"npm run --silent security","tests-only":"es-shim-api --bound && npm run --silent test:shimmed && npm run --silent test:module","test:shimmed":"node test/shimmed","test:module":"node test","coverage":"nyc npm run tests-only","lint":"eslint test/*.js *.js","security":"nsp check"},"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":{"define-properties":"^1.1.2","es-abstract":"^1.9.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^1.3.0","@ljharb/eslint-config":"^12.2.1","covert":"^1.1.0","eslint":"^4.8.0","evalmd":"^0.0.17","foreach":"^2.0.5","nsp":"^2.8.1","nyc":"^10.3.2","object-inspect":"^1.3.0","tape":"^4.8.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"},"gitHead":"3bdc576d4c1d73b1638c350b3d2b79f9119d39bf","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","_id":"array.prototype.flatmap@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"d53c344f208f26c385f88d3c87a8521c67a808d7","size":5332,"noattachment":false,"key":"/array.prototype.flatmap/-/array.prototype.flatmap-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array.prototype.flatmap/download/array.prototype.flatmap-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array.prototype.flatmap-1.0.0.tgz_1506848452312_0.892912779469043"},"directories":{},"publish_time":1506848452465,"_hasShrinkwrap":false,"_cnpm_publish_time":1506848452465}},"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","_attachments":{},"homepage":"https://github.com/es-shims/Array.prototype.flatMap#readme","bugs":{"url":"https://github.com/es-shims/Array.prototype.flatMap/issues"},"license":"MIT"}