102 lines
3.0 KiB
JSON
102 lines
3.0 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "is-generator-fn@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "is-generator-fn",
|
|
"name": "is-generator-fn",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-jasmine2"
|
|
]
|
|
],
|
|
"_from": "is-generator-fn@>=1.0.0 <2.0.0",
|
|
"_id": "is-generator-fn@1.0.0",
|
|
"_inCache": true,
|
|
"_location": "/is-generator-fn",
|
|
"_nodeVersion": "4.2.1",
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.14.7",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "is-generator-fn@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "is-generator-fn",
|
|
"name": "is-generator-fn",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/jest-jasmine2"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz",
|
|
"_shasum": "969d49e1bb3329f6bb7f09089be26578b2ddd46a",
|
|
"_shrinkwrap": null,
|
|
"_spec": "is-generator-fn@^1.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-jasmine2",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/is-generator-fn/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Check if something is a generator function",
|
|
"devDependencies": {
|
|
"ava": "*",
|
|
"xo": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "969d49e1bb3329f6bb7f09089be26578b2ddd46a",
|
|
"tarball": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "0ba5937996916914a50e519e9dff2a0cf58c5974",
|
|
"homepage": "https://github.com/sindresorhus/is-generator-fn#readme",
|
|
"keywords": [
|
|
"generator",
|
|
"gen",
|
|
"function",
|
|
"func",
|
|
"fn",
|
|
"is",
|
|
"check",
|
|
"detect",
|
|
"yield"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "is-generator-fn",
|
|
"optionalDependencies": {},
|
|
"readme": "# is-generator-fn [![Build Status](https://travis-ci.org/sindresorhus/is-generator-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/is-generator-fn)\n\n> Check if something is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)\n\n\n## Install\n\n```\n$ npm install --save is-generator-fn\n```\n\n\n## Usage\n\n```js\nconst isGeneratorFn = require('is-generator-fn');\n\nisGeneratorFn(function * () {});\n//=> true\n\nisGeneratorFn(function () {});\n//=> false\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/is-generator-fn.git"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "1.0.0"
|
|
}
|