{"_id":"is-generator-function","_rev":"4084745","name":"is-generator-function","description":"Determine if a function is a native generator function.","dist-tags":{"backport":"1.0.4","latest":"1.1.2"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-12-01T22:11:42.000Z","created":"2014-08-09T16:54:28.481Z","1.1.2":"2025-09-30T18:41:14.522Z","1.1.1":"2025-09-29T17:04:39.142Z","1.1.0":"2025-01-02T18:19:09.453Z","1.0.10":"2021-08-06T05:27:57.932Z","1.0.9":"2021-05-06T05:54:19.287Z","1.0.8":"2020-12-02T17:02:45.888Z","1.0.7":"2017-12-28T22:20:32.180Z","1.0.6":"2016-12-20T18:36:07.977Z","1.0.4":"2016-12-20T17:50:07.483Z","1.0.5":"2016-12-20T07:59:50.409Z","1.0.3":"2015-01-31T18:38:48.120Z","1.0.2":"2015-01-20T08:14:38.587Z","1.0.1":"2014-12-15T07:53:14.046Z","1.0.0":"2014-08-09T16:54:28.481Z"},"users":{"tunnckocore":true,"chrisyipw":true,"xueboren":true,"tedyhy":true},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/inspect-js/is-generator-function.git"},"versions":{"1.1.2":{"name":"is-generator-function","version":"1.1.2","description":"Determine if a function is a native generator function.","main":"index.js","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","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"npx npm@\">= 10.2\" audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","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/inspect-js/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"dependencies":{"call-bound":"^1.0.4","generator-function":"^2.0.0","get-proto":"^1.0.1","has-tostringtag":"^1.0.2","safe-regex-test":"^1.1.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@ljharb/eslint-config":"^21.2.0","@ljharb/tsconfig":"^0.3.2","@types/for-each":"^0.3.3","@types/make-generator-function":"^2.0.3","@types/tape":"^5.8.1","auto-changelog":"^2.5.0","core-js":"^2.6.5 || ^3.20.0","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.5","in-publish":"^2.0.1","make-generator-function":"^2.1.0","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"publishConfig":{"ignore":[".github/workflows"]},"_id":"is-generator-function@1.1.2","gitHead":"f84a57cf5195c30c6610af3fdaebcf90df9666b5","types":"./index.d.ts","homepage":"https://github.com/inspect-js/is-generator-function#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"ae3b61e3d5ea4e4839b90bad22b02335051a17d5","size":11594,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.1.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-generator-function_1.1.2_1759257674324_0.6824713880678823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-30T18:41:14.522Z","publish_time":1759257674522,"_source_registry_name":"default","_cnpm_publish_time":1759257674522},"1.1.1":{"name":"is-generator-function","version":"1.1.1","description":"Determine if a function is a native generator function.","main":"index.js","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","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"npx npm@\">= 10.2\" audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","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/inspect-js/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"dependencies":{"call-bound":"^1.0.3","generator-function":"^2.0.0","get-proto":"^1.0.0","has-tostringtag":"^1.0.2","safe-regex-test":"^1.1.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.2","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.3","@types/for-each":"^0.3.3","@types/make-generator-function":"^2.0.3","@types/tape":"^5.8.0","auto-changelog":"^2.5.0","core-js":"^2.6.5 || ^3.20.0","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","make-generator-function":"^2.0.0","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"publishConfig":{"ignore":[".github/workflows"]},"_id":"is-generator-function@1.1.1","gitHead":"ef2f8cf6c71eff9b783e5493e80550901e7a9cbf","types":"./index.d.ts","homepage":"https://github.com/inspect-js/is-generator-function#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"7995bc35528dedea93ff0a0b05b168862cc8dc11","size":11448,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.1.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-generator-function_1.1.1_1759165478970_0.12810047508015332"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-29T17:04:39.142Z","publish_time":1759165479142,"_source_registry_name":"default","_cnpm_publish_time":1759165479142},"1.1.0":{"name":"is-generator-function","version":"1.1.0","description":"Determine if a function is a native generator function.","main":"index.js","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","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"npx npm@\">= 10.2\" audit --production","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","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/inspect-js/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"dependencies":{"call-bound":"^1.0.3","get-proto":"^1.0.0","has-tostringtag":"^1.0.2","safe-regex-test":"^1.1.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.2","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.3","@types/for-each":"^0.3.3","@types/make-generator-function":"^2.0.3","@types/tape":"^5.8.0","auto-changelog":"^2.5.0","core-js":"^2.6.5 || ^3.20.0","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","make-generator-function":"^2.0.0","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"publishConfig":{"ignore":[".github/workflows"]},"_id":"is-generator-function@1.1.0","gitHead":"2ac26fe76d5cdbc8db7525f0ee07f65cc99b0abd","types":"./index.d.ts","homepage":"https://github.com/inspect-js/is-generator-function#readme","_nodeVersion":"23.5.0","_npmVersion":"10.9.2","dist":{"shasum":"bf3eeda931201394f57b5dba2800f91a238309ca","size":11540,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-generator-function_1.1.0_1735841949246_0.6305320065409501"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-02T18:19:09.453Z","publish_time":1735841949453,"_source_registry_name":"default","_cnpm_publish_time":1735841949453},"1.0.10":{"name":"is-generator-function","version":"1.0.10","description":"Determine if a function is a native generator function.","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"aud --production","lint":"eslint .","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/inspect-js/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"dependencies":{"has-tostringtag":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","core-js":"^2.6.5 || ^3.16.0","eslint":"^7.32.0","make-generator-function":"^2.0.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.0","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"gitHead":"9e6b7a26a4f97582333d807aa1c8c165097f3226","homepage":"https://github.com/inspect-js/is-generator-function#readme","_id":"is-generator-function@1.0.10","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"f1558baf1ac17e0deea7c0415c438351ff2b3c72","size":10456,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.10.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-generator-function_1.0.10_1628227677748_0.9000112892059791"},"_hasShrinkwrap":false,"publish_time":1628227677932,"_cnpm_publish_time":1628227677932},"1.0.9":{"name":"is-generator-function","version":"1.0.9","description":"Determine if a function is a native generator function.","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"aud --production","lint":"eslint .","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/inspect-js/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","core-js":"^2.6.5 || ^3 <3.9","eslint":"^7.25.0","make-generator-function":"^2.0.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.2.2","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"gitHead":"65ce09d957d4d4b456249e6ba64b7c6343c2fd1f","homepage":"https://github.com/inspect-js/is-generator-function#readme","_id":"is-generator-function@1.0.9","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"e5f82c2323673e7fcad3d12858c83c4039f6399c","size":10290,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.9.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-generator-function_1.0.9_1620280459149_0.5298748572860164"},"_hasShrinkwrap":false,"publish_time":1620280459287,"_cnpm_publish_time":1620280459287},"1.0.8":{"name":"is-generator-function","version":"1.0.8","description":"Determine if a function is a native generator function.","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc npm run test:all","test:all":"npm run test:index && npm run test:corejs && npm run test:uglified","test:harmony":"node  --es-staging --harmony test && node  --es-staging --harmony test/corejs && node --es-staging --harmony test/uglified","test:index":"node test","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"npx aud --production","lint":"eslint .","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/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","core-js":"^2.6.5 || ^3","eslint":"^7.14.0","make-generator-function":"^2.0.0","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.1","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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},"gitHead":"6b014cfabf56a453f2756f6f4c2779791a241f0c","homepage":"https://github.com/ljharb/is-generator-function#readme","_id":"is-generator-function@1.0.8","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"shasum":"dfb5c2b120e02b0a8d9d2c6806cd5621aa922f7b","size":10754,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.8.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-generator-function_1.0.8_1606928565778_0.9430777454274046"},"_hasShrinkwrap":false,"publish_time":1606928565888,"_cnpm_publish_time":1606928565888},"1.0.7":{"name":"is-generator-function","version":"1.0.7","description":"Determine if a function is a native generator function.","main":"index.js","scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --es-staging --harmony test","posttests-only":"npm run test:corejs && npm run test:uglified","test:corejs":"node test/corejs","test:uglified":"node test/uglified","posttest":"npm run security","coverage":"covert test","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js */*.js","eslint":"eslint *.js */*.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"@ljharb/eslint-config":"^12.2.1","core-js":"^2.5.3","covert":"^1.1.0","eslint":"^4.14.0","jscs":"^3.0.7","make-generator-function":"^1.1.0","nsp":"^3.1.0","replace":"^0.3.0","semver":"^5.4.1","tape":"^4.8.0","uglify-register":"^1.0.1"},"testling":{"files":"test/index.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":"8cfcb1c104af736ecd60a70fc88eae8ce1dc2272","homepage":"https://github.com/ljharb/is-generator-function#readme","_id":"is-generator-function@1.0.7","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"d2132e529bb0000a7f80794d4bdf5cd5e5813522","size":7947,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.7.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-generator-function-1.0.7.tgz_1514499632100_0.9620205189567059"},"directories":{},"publish_time":1514499632180,"_cnpm_publish_time":1514499632180,"_hasShrinkwrap":false},"1.0.6":{"name":"is-generator-function","version":"1.0.6","description":"Determine if a function is a native generator function.","main":"index.js","scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --es-staging --harmony test/index.js","posttests-only":"npm run test:corejs","test:corejs":"node test/corejs","posttest":"npm run security","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js */*.js","eslint":"eslint *.js */*.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","es2015","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"^1.1.0","tape":"^4.6.3","covert":"^1.1.0","jscs":"^3.0.7","eslint":"^3.12.2","@ljharb/eslint-config":"^9.0.1","semver":"^5.3.0","replace":"^0.3.0","nsp":"^2.6.2","core-js":"^2.4.1"},"testling":{"files":"test/index.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":"1723b991126204e1f534bdae5f29b7a2a5bd0053","homepage":"https://github.com/ljharb/is-generator-function#readme","_id":"is-generator-function@1.0.6","_shasum":"9e71653cd15fff341c79c4151460a131d31e9fc4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"9e71653cd15fff341c79c4151460a131d31e9fc4","size":182758,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.6.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-generator-function-1.0.6.tgz_1482258967738_0.7079989777412266"},"directories":{},"publish_time":1482258967977,"_cnpm_publish_time":1482258967977,"_hasShrinkwrap":false},"1.0.4":{"name":"is-generator-function","version":"1.0.4","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --es-staging --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"^1.1.0","tape":"^3.5.0","covert":"^1.0.1","jscs":"^1.11.3","semver":"^4.3.1","replace":"^0.3.0"},"testling":{"files":"test/index.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":"b6c306e6d285fe6b951e4866fe864199bc1b3b86","homepage":"https://github.com/ljharb/is-generator-function#readme","_id":"is-generator-function@1.0.4","_shasum":"31b2ac0a3f2b4af037f5e4a51fd296b5e197bcc1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"31b2ac0a3f2b4af037f5e4a51fd296b5e197bcc1","size":180593,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.4.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/is-generator-function-1.0.4.tgz_1482256205192_0.4695625628810376"},"directories":{},"publish_time":1482256207483,"_cnpm_publish_time":1482256207483,"_hasShrinkwrap":false},"1.0.5":{"name":"is-generator-function","version":"1.0.5","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --es-staging --harmony test/index.js","posttest":"npm run security","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js */*.js","eslint":"eslint *.js */*.js","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"^1.1.0","tape":"^4.6.3","covert":"^1.1.0","jscs":"^3.0.7","eslint":"^3.12.2","@ljharb/eslint-config":"^9.0.1","semver":"^5.3.0","replace":"^0.3.0","nsp":"^2.6.2"},"testling":{"files":"test/index.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":"81e9adac7b6f76ec8f4c70d9cb92d95022ac73ac","homepage":"https://github.com/ljharb/is-generator-function#readme","_id":"is-generator-function@1.0.5","_shasum":"9ddb7301a157d011aec579cf691e6551c0c806db","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"9ddb7301a157d011aec579cf691e6551c0c806db","size":182109,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.5.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-generator-function-1.0.5.tgz_1482220790150_0.9029339607805014"},"directories":{},"publish_time":1482220790409,"_cnpm_publish_time":1482220790409,"deprecated":"v1.0.5 has a bug with core-js in environments without native generator functions. Upgrade to v1.0.6 or later","_hasShrinkwrap":false},"1.0.3":{"name":"is-generator-function","version":"1.0.3","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --es-staging --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"~1.0.0","tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","semver":"~4.2.0"},"testling":{"files":"test/index.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":"8fb1316c36e566aea634a192ed3321edd43c5a9f","homepage":"https://github.com/ljharb/is-generator-function","_id":"is-generator-function@1.0.3","_shasum":"d374ca57e807444fa2658be3728ed6b174b326b1","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"d374ca57e807444fa2658be3728ed6b174b326b1","size":5681,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.3.tgz"},"directories":{},"publish_time":1422729528120,"_cnpm_publish_time":1422729528120,"_hasShrinkwrap":false},"1.0.2":{"name":"is-generator-function","version":"1.0.2","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"~1.0.0","tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0"},"testling":{"files":"test/index.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":"373747ee2d93eafb6dbb001a586798bbf2b41958","homepage":"https://github.com/ljharb/is-generator-function","_id":"is-generator-function@1.0.2","_shasum":"b11c2cf4d92ee272c5879affaaceb9040b37d71a","_from":".","_npmVersion":"2.2.0","_nodeVersion":"1.0.3","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"b11c2cf4d92ee272c5879affaaceb9040b37d71a","size":3560,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.2.tgz"},"directories":{},"publish_time":1421741678587,"_cnpm_publish_time":1421741678587,"_hasShrinkwrap":false},"1.0.1":{"name":"is-generator-function","version":"1.0.1","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"make-generator-function":"~1.0.0","tape":"~3.0.3","covert":"1.0.0","jscs":"~1.8.1"},"testling":{"files":"test/index.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":"363c18f7bc2681f4fc277d1c86279d0806d6c023","homepage":"https://github.com/ljharb/is-generator-function","_id":"is-generator-function@1.0.1","_shasum":"5c2f8233f2ccf421bd5eb16ce1c5c7d6e3e5ea4a","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"5c2f8233f2ccf421bd5eb16ce1c5c7d6e3e5ea4a","size":3530,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.1.tgz"},"directories":{},"publish_time":1418629994046,"_cnpm_publish_time":1418629994046,"_hasShrinkwrap":false},"1.0.0":{"name":"is-generator-function","version":"1.0.0","description":"Determine if a function is an ES6 generator function or not.","main":"index.js","scripts":{"test":"npm run lint && node --harmony test/index.js","coverage":"covert test/index.js","coverage-quiet":"covert test/index.js --quiet","lint":"jscs *.js */*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-generator-function.git"},"keywords":["generator","generator function","es6","yield","function","function*"],"author":{"name":"Jordan Harband"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/is-generator-function/issues"},"dependencies":{},"devDependencies":{"tape":"~2.14.0","covert":"~0.4.0","jscs":"~1.5.8"},"testling":{"files":"test/index.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":"dbae3b3200368ed1476bef780b51d97c325a1265","homepage":"https://github.com/ljharb/is-generator-function","_id":"is-generator-function@1.0.0","_shasum":"28bd2d41289beb29c91f7f653d252fd4a40cf26f","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"28bd2d41289beb29c91f7f653d252fd4a40cf26f","size":3449,"noattachment":false,"key":"/is-generator-function/-/is-generator-function-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-generator-function/download/is-generator-function-1.0.0.tgz"},"directories":{},"publish_time":1407603268481,"_cnpm_publish_time":1407603268481,"_hasShrinkwrap":false}},"readme":"# is-generator-function <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\nIs this a native generator function?\n\n## Example\n\n```js\nvar isGeneratorFunction = require('is-generator-function');\nassert(!isGeneratorFunction(function () {}));\nassert(!isGeneratorFunction(null));\nassert(isGeneratorFunction(function* () { yield 42; return Infinity; }));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-generator-function\n[2]: https://versionbadg.es/inspect-js/is-generator-function.svg\n[5]: https://david-dm.org/inspect-js/is-generator-function.svg\n[6]: https://david-dm.org/inspect-js/is-generator-function\n[7]: https://david-dm.org/inspect-js/is-generator-function/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-generator-function#info=devDependencies\n[11]: https://nodei.co/npm/is-generator-function.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-generator-function.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-generator-function.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-generator-function\n[codecov-image]: https://codecov.io/gh/inspect-js/is-generator-function/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-generator-function/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-generator-function\n[actions-url]: https://github.com/inspect-js/is-generator-function/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/is-generator-function#readme","bugs":{"url":"https://github.com/inspect-js/is-generator-function/issues"},"license":"MIT"}