{"name":"has-generator","version":"2.0.0","description":"Check if generator functions are supported","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/has-generator.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"browser":"browser.js","engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"keywords":["generator","generators","function","detect","detection","check","has","supports","supported","es2015"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"99627260494bb67c2a7cbb7c408b653f9e80a519","bugs":{"url":"https://github.com/sindresorhus/has-generator/issues"},"homepage":"https://github.com/sindresorhus/has-generator#readme","_id":"has-generator@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-FuMNMdRtJ2EOIWRVWtPeXFmmET8+wRScwMo3cQJ8anJMRDUuva0P4gaQv85qVshR9Oqg8a5pyTZ0iwMTLn1QLg==","shasum":"ed9ab2b91e485f49a5f539dcfc4fe006a266203e","tarball":"http://registry-npm.ywwl.com/has-generator/download/has-generator-2.0.0.tgz","fileCount":5,"unpackedSize":2812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5BN8CRA9TVsSAnZWagAAtZkP/iM+yqL3drypLDiB0oH3\nIHgUXTzUx4LroT7Qz3aK9GogB4R1t1TLvmKq/uGAw1ALDG+fodBf1a00EPOi\nPFYWejkYb4MHvdXOQCXdrz+mBYWlyse8Ez1vPb7omsUl1XDzrzGnvdBgvtMF\nM18i8bXT3Jph5yNbIUiitOlvERAPCjX/aD70GtFbv7WulEAEiAEETnzYwIdF\nXuxVrG71Jx6QFjZzfkHkS+3+l3dJasYAoF41H7KGwe6LXV5ZzPEQV6RwY1qc\n7vw61qPpOOl43/v6Ljytb24VxGaFSajsxOul52Ma6vcIuH5CHi/0O67fmZLg\nWldy7gFWvS0cDeerz+Lqk/q812w786yEUygpVjN9lAl7UtQOkaiMPQQwENt2\nUkqC8w/yaYa1hoBjYfI8t4ih4voCYKmfpDvj7pwMfZv7vpF3BBWnCMSZifYE\n/RW+ntbggNaKq7rJsrOdhgp5ItxfnfAg/rE7wUgo3e4mcdzd+HgOCBhckFed\nBwqC9xjh01Fj72kk9QkxzbkT7HYkIo+8TLbaH41DtZnDGaRGaP+qx+8Mv1Ex\n1npyCpmXpDkEkwlJ51R6IxldnpvTYyOXgO19YlCNGAf8XIXjrvRTgU3azhHe\nD5/o0S5ZfakqpseSh+pQ3sYSfcww8lggySy0ey3OQCP33ArbyyBrp5p2jKJF\nmAp4\r\n=WZZv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpQ5oIMX3X4wm5rpYaSUgNUnLz0kdya8/UDARNQL94zAiAvtRLq1rTL47chVO4jSjLyqt7SqaO4SX4DCDH0BXNu8g=="}],"size":1682,"noattachment":false,"key":"/has-generator/-/has-generator-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-generator_2.0.0_1541673851767_0.8868351605434186"},"_hasShrinkwrap":false,"deprecated":"Deprecated as this package no longer serves a useful purpose. Generators have long been in browsers and Node.js now. The package will continue to work, I just won't maintain it anymore.","readme":"# Deprecated\n\nDeprecated as this package no longer serves a useful purpose. Generators have long been in browsers and Node.js now. The package will continue to work, I just won't maintain it anymore.\n\n---\n\n# has-generator [![Build Status](https://travis-ci.org/sindresorhus/has-generator.svg?branch=master)](https://travis-ci.org/sindresorhus/has-generator)\n\n> Check if [generator functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) are supported\n\n\n## Install\n\n```\n$ npm install --save has-generator\n```\n\n\n## Usage\n\n```js\nconst hasGenerator = require('has-generator');\nconst app = require(hasGenerator ? './with-generator' : './fallback');\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","publish_time":1541673851913,"_cnpm_publish_time":1541673851913,"dist-tags":{"latest":"2.0.0"}}