{"_id":"es-get-iterator","_rev":"2927611","name":"es-get-iterator","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2023-03-03T06:09:17.000Z","created":"2019-11-26T04:54:06.917Z","1.1.3":"2023-01-13T07:49:42.931Z","1.1.2":"2021-01-26T20:48:41.155Z","1.1.1":"2020-11-06T17:49:25.923Z","1.1.0":"2020-01-26T05:51:13.222Z","1.0.2":"2019-12-16T21:01:16.996Z","1.0.1":"2019-11-28T06:27:39.030Z","1.0.0":"2019-11-26T04:54:06.917Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ljharb/es-get-iterator.git"},"versions":{"1.1.3":{"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"]},"gitHead":"ed0e55512a2cadbbd845f1fa8e06d51fca606423","_id":"es-get-iterator@1.1.3","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"shasum":"3ef87523c5d464d41084b2c3c9c214f1199763d6","size":10822,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.1.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.1.3_1673596182750_0.1227648994005146"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-13T07:49:42.931Z","publish_time":1673596182931,"_cnpm_publish_time":1673596182931},"1.1.2":{"name":"es-get-iterator","version":"1.1.2","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":{"prepublish":"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 && 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":"^17.5.0","aud":"^1.1.3","auto-changelog":"^2.2.1","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.15","es6-shim":"^0.35.6","eslint":"^7.18.0","for-each":"^0.3.3","has-bigints":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.9.0","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"testling":{"files":"./test/index.js"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"call-bind":"^1.0.2","get-intrinsic":"^1.1.0","has-symbols":"^1.0.1","is-arguments":"^1.1.0","is-map":"^2.0.2","is-set":"^2.0.2","is-string":"^1.0.5","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"58601cc38b4608f33a8c1bfe932c79c1afc43ef0","_id":"es-get-iterator@1.1.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"9234c54aba713486d7ebde0220864af5e2b283f7","size":10068,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.1.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.1.2_1611694121012_0.4158267443335717"},"_hasShrinkwrap":false,"publish_time":1611694121155,"_cnpm_publish_time":1611694121155},"1.1.1":{"name":"es-get-iterator","version":"1.1.1","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","main":"index","exports":{".":[{"browser":"./index.js","import":"./node.mjs","default":"./node.js"},"./node.js"],"./package":"./package.json","./package.json":"./package.json"},"type":"commonjs","scripts":{"prepublish":"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 && 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":"^17.2.0","aud":"^1.1.3","auto-changelog":"^2.2.1","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.14","es6-shim":"^0.35.6","eslint":"^7.12.1","for-each":"^0.3.3","has-bigints":"^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"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"call-bind":"^1.0.0","get-intrinsic":"^1.0.1","has-symbols":"^1.0.1","is-arguments":"^1.0.4","is-map":"^2.0.1","is-set":"^2.0.1","is-string":"^1.0.5","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"6b68c743d3fd8a52a86856ea55c7947461e9982b","_id":"es-get-iterator@1.1.1","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"b93ddd867af16d5118e00881396533c1c6647ad9","size":10694,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.1.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.1.1_1604684965758_0.6291401422414911"},"_hasShrinkwrap":false,"publish_time":1604684965923,"_cnpm_publish_time":1604684965923},"1.1.0":{"name":"es-get-iterator","version":"1.1.0","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","main":"index","exports":{".":[{"browser":"./index.js","import":"./node.mjs","default":"./node.js"},"./node.js"],"./package":"./package.json","./package.json":"./package.json"},"type":"commonjs","scripts":{"prepublish":"safe-publish-latest","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc node test/${TEST_VARIANT-}","tests-esm":"nyc node test/node.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"npx 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":"^16.0.0","auto-changelog":"^1.16.2","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.8.0","for-each":"^0.3.3","has-bigints":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^5.0.0-next.3"},"testling":{"files":"./test/index.js"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"es-abstract":"^1.17.4","has-symbols":"^1.0.1","is-arguments":"^1.0.4","is-map":"^2.0.1","is-set":"^2.0.1","is-string":"^1.0.5","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"973827273316446fa4b757cf64e35032df1c7d19","_id":"es-get-iterator@1.1.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"bb98ad9d6d63b31aacdc8f89d5d0ee57bcb5b4c8","size":9442,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.1.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.1.0_1580017872972_0.7464850820185129"},"_hasShrinkwrap":false,"publish_time":1580017873222,"_cnpm_publish_time":1580017873222},"1.0.2":{"name":"es-get-iterator","version":"1.0.2","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","main":"index","exports":{".":[{"browser":"./index.js","default":"./node.js"},"./node.js"],"./package":"./package.json","./package.json":"./package.json"},"type":"commonjs","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc node test/${TEST_VARIANT-}","test":"npm run tests-only","posttest":"npx 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":"^15.0.2","auto-changelog":"^1.16.2","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.7.2","for-each":"^0.3.3","has-bigints":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"testling":{"files":"./test/browser.js"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"es-abstract":"^1.17.0-next.1","has-symbols":"^1.0.1","is-arguments":"^1.0.4","is-map":"^2.0.0","is-set":"^2.0.0","is-string":"^1.0.4","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"6d087cbd9ae21fc4a9ba2833cb9a3831460a5e5d","_id":"es-get-iterator@1.0.2","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"bc99065aa8c98ce52bc86ab282dedbba4120e0b3","size":8566,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.0.2_1576530076853_0.36654094578237295"},"_hasShrinkwrap":false,"publish_time":1576530076996,"_cnpm_publish_time":1576530076996},"1.0.1":{"name":"es-get-iterator","version":"1.0.1","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","main":"index","exports":{".":[{"browser":"./index.js","default":"./node.js"},"./node.js"],"./package":"./package.json","./package.json":"./package.json"},"type":"commonjs","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc node test/${TEST_VARIANT-}","test":"npm run tests-only","posttest":"npx 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":"^15.0.2","auto-changelog":"^1.16.2","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.7.1","for-each":"^0.3.3","has-bigints":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"testling":{"files":"./test/browser.js"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"es-abstract":"^1.16.2","has-symbols":"^1.0.1","is-arguments":"^1.0.4","is-map":"^2.0.0","is-set":"^2.0.0","is-string":"^1.0.4","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"c3ac1e0257b4c5be3958e02d6353730c0d93e6a3","_id":"es-get-iterator@1.0.1","_nodeVersion":"13.2.0","_npmVersion":"6.13.1","dist":{"shasum":"ebc4d3bbc2d59dd95a0ecef441ca2dbce7d9e2cd","size":8444,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.0.1_1574922458804_0.08473760863313218"},"_hasShrinkwrap":false,"publish_time":1574922459030,"_cnpm_publish_time":1574922459030},"1.0.0":{"name":"es-get-iterator","version":"1.0.0","description":"Get an iterator for any JS language value. Works robustly across all environments, all versions.","main":"index","exports":{".":[{"browser":"./index.js","default":"./node.js"},"./node.js"],"./package":"./package.json","./package.json":"./package.json"},"type":"commonjs","scripts":{"prepublish":"safe-publish-latest","lint":"eslint .","pretest":"npm run lint","tests-only":"nyc node test/${TEST_VARIANT-}","test":"npm run tests-only","posttest":"npx 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":"^15.0.2","auto-changelog":"^1.16.2","core-js":"^2.6.10 || ^3.4.2","es5-shim":"^4.5.13","es6-shim":"^0.35.5","eslint":"^6.7.1","for-each":"^0.3.3","has-bigints":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"testling":{"files":"./test/browser.js"},"greenkeeper":{"ignore":["nyc"]},"dependencies":{"es-abstract":"^1.16.2","has-symbols":"^1.0.1","is-arguments":"^1.0.4","is-map":"^2.0.0","is-set":"^2.0.0","is-string":"^1.0.4","isarray":"^2.0.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"e77c9850213b5f40e6d34a81a7b589c695e04141","_id":"es-get-iterator@1.0.0","_nodeVersion":"13.2.0","_npmVersion":"6.13.1","dist":{"shasum":"2af15002c9ae52d5954b7e065ca5b85b9d638d66","size":8174,"noattachment":false,"key":"/es-get-iterator/-/es-get-iterator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es-get-iterator/download/es-get-iterator-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-get-iterator_1.0.0_1574744046817_0.1538596718625953"},"_hasShrinkwrap":false,"publish_time":1574744046917,"_cnpm_publish_time":1574744046917}},"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","_attachments":{},"homepage":"https://github.com/ljharb/es-get-iterator#readme","bugs":{"url":"https://github.com/ljharb/es-get-iterator/issues"},"license":"MIT"}