{
  "manifest": {
    "name": "es-get-iterator",
    "version": "1.1.3",
    "description": "Get an iterator for any JS language value. Works robustly across all environments, all versions.",
    "main": "./index.js",
    "browser": "./index.js",
    "exports": {
      ".": [
        {
          "browser": "./index.js",
          "import": "./node.mjs",
          "default": "./node.js"
        },
        "./node.js"
      ],
      "./package": "./package.json",
      "./package.json": "./package.json"
    },
    "type": "commonjs",
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "prepublishOnly": "safe-publish-latest",
      "lint": "eslint --ext=js,mjs .",
      "pretest": "npm run lint",
      "tests-only": "nyc node test/${TEST_VARIANT-}",
      "tests-esm": "TEST_VARIANT=node.mjs npm run tests-only",
      "tests-preload-es6-shim": "TEST_VARIANT=es6-shim PRELOAD_GET_ITERATOR=true npm run tests-only",
      "test": "npm run tests-only && TEST_VARIANT=node npm run tests-only && npm run tests-esm && npm run tests-preload-es6-shim",
      "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/ljharb/es-get-iterator.git"
    },
    "keywords": [
      "iterator",
      "Symbol.iterator",
      "iterable",
      "collection",
      "next",
      "iteration"
    ],
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/ljharb/es-get-iterator/issues"
    },
    "homepage": "https://github.com/ljharb/es-get-iterator#readme",
    "devDependencies": {
      "@ljharb/eslint-config": "^21.0.1",
      "aud": "^2.0.2",
      "auto-changelog": "^2.4.0",
      "core-js": "^2.6.10 || ^3.4.2",
      "es5-shim": "^4.6.7",
      "es6-shim": "^0.35.7",
      "eslint": "=8.8.0",
      "for-each": "^0.3.3",
      "has-bigints": "^1.0.2",
      "npmignore": "^0.3.0",
      "nyc": "^10.3.2",
      "object-inspect": "^1.12.3",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.6.1"
    },
    "testling": {
      "files": "./test/index.js"
    },
    "greenkeeper": {
      "ignore": [
        "nyc"
      ]
    },
    "dependencies": {
      "call-bind": "^1.0.2",
      "get-intrinsic": "^1.1.3",
      "has-symbols": "^1.0.3",
      "is-arguments": "^1.1.1",
      "is-map": "^2.0.2",
      "is-set": "^2.0.2",
      "is-string": "^1.0.7",
      "isarray": "^2.0.5",
      "stop-iteration-iterator": "^1.0.0"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-es-get-iterator-1.1.3-3ef87523c5d464d41084b2c3c9c214f1199763d6-integrity/node_modules/es-get-iterator/package.json",
    "readmeFilename": "README.md",
    "readme": "# es-get-iterator <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\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\nGet an iterator for any JS language value. Works robustly across all environments, all versions.\n\nIn modern engines, `value[Symbol.iterator]()` is sufficient to produce an iterator (an object with a `.next` method) for that object. However, older engines:\n - may lack `Symbol` support altogether\n - may have `Symbol.iterator` but not implement it on everything it should, like arguments objects\n - may have `Map` and `Set`, but a non-standard name for the iterator-producing method (`.iterator` or `['@@iterator']`, eg)\n - may be old versions of Firefox that produce values until they throw a StopIteration exception, rather than having iteration result objects\n - may be polyfilled/shimmed/shammed, with `es6-shim` or `core-js` or similar\n\nThis library attempts to provide an abstraction over all that complexity!\n\nIn node v13+, `exports` is used to provide a lean implementation that lacks all the complexity described above, in combination with the `browser` field so that bundlers will pick up the proper implementation.\n\n## Targeting browsers with Symbol support\n\nIf you are targeting browsers that definitely all have Symbol support, then you can configure your bundler to replace `require('has-symbols')()` with a literal `true`, which should allow dead code elimination to reduce the size of the bundled code.\n\n### With `@rollup/plugin-replace`\n\n```js\n// rollup.config.js\n\nimport replace from '@rollup/plugin-replace';\n\nexport default {\n\t...\n\tplugins: [\n\t\treplace({\n\t\t\t\"require('has-symbols')()\": 'true',\n\t\t\tdelimiters: ['', '']\n\t\t})\n\t]\n};\n```\n\n## Example\n\n```js\nvar getIterator = require('es-get-iterator');\nvar assert = require('assert');\n\nvar iterator = getIterator('a 💩');\nassert.deepEqual(\n\t[iterator.next(), iterator.next(), iterator.next(), iterator.next()],\n\t[{ done: false, value: 'a' }, { done: false, value: ' ' }, { done: false, value: '💩' }, { done: true, value: undefined }]\n);\n\nvar iterator = getIterator([1, 2]);\nassert.deepEqual(\n\t[iterator.next(), iterator.next(), iterator.next()],\n\t[{ done: false, value: 1 }, { done: false, value: 2 }, { done: true, value: undefined }]\n);\n\nvar iterator = getIterator(new Set([1, 2]));\nassert.deepEqual(\n\t[iterator.next(), iterator.next(), iterator.next()],\n\t[{ done: false, value: 1 }, { done: false, value: 2 }, { done: true, value: undefined }]\n);\n\nvar iterator = getIterator(new Map([[1, 2], [3, 4]]));\nassert.deepEqual(\n\t[iterator.next(), iterator.next(), iterator.next()],\n\t[{ done: false, value: [1, 2] }, { done: false, value: [3, 4] }, { done: true, value: undefined }]\n);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/es-get-iterator\n[npm-version-svg]: https://versionbadg.es/ljharb/es-get-iterator.svg\n[deps-svg]: https://david-dm.org/ljharb/es-get-iterator.svg\n[deps-url]: https://david-dm.org/ljharb/es-get-iterator\n[dev-deps-svg]: https://david-dm.org/ljharb/es-get-iterator/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/es-get-iterator#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/es-get-iterator.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/es-get-iterator.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/es-get-iterator.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=es-get-iterator\n",
    "licenseText": "MIT License\n\nCopyright (c) 2019 Jordan Harband\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/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
    "hash": "3ef87523c5d464d41084b2c3c9c214f1199763d6",
    "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==",
    "registry": "npm",
    "packageName": "es-get-iterator",
    "cacheIntegrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== sha1-Pvh1I8XUZNQQhLLDycIU8RmXY9Y="
  },
  "registry": "npm",
  "hash": "3ef87523c5d464d41084b2c3c9c214f1199763d6"
}