UNPKG

motion

Version:

motion - moving development forward

64 lines (63 loc) 3.25 kB
{ "_args": [ [ "regenerator-runtime-only@https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "regenerator-runtime-only@0.8.38", "_id": "regenerator-runtime-only@0.8.38", "_inCache": true, "_location": "/regenerator-runtime-only", "_phantomChildren": {}, "_requested": { "name": "regenerator-runtime-only", "raw": "regenerator-runtime-only@https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "rawSpec": "https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "scope": null, "spec": "https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "type": "remote" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "_shasum": "8408b8238dce725b04844b2f6aab55e9ae067abf", "_shrinkwrap": null, "_spec": "regenerator-runtime-only@https://registry.npmjs.org/regenerator-runtime-only/-/regenerator-runtime-only-0.8.38.tgz", "_where": "/Users/nw/flint/packages/flint", "bugs": { "url": "https://github.com/ForbesLindesay/regenerator-runtime-only/issues" }, "dependencies": { "es6-symbol": "^2.0.1", "promise": "^6.1.0" }, "description": "Just the runtime part of regenerator", "devDependencies": {}, "homepage": "https://github.com/ForbesLindesay/regenerator-runtime-only#readme", "keywords": [ "ES6", "codegen", "coroutine", "desugaring", "generator", "refactoring", "rewriting", "rewriting", "syntax", "transformation", "transpiler", "yield" ], "license": "BSD", "name": "regenerator-runtime-only", "optionalDependencies": {}, "readme": "# regenerator-runtime-only\n\nJust the runtime part of regenerator. If your publishing a module to npm that relies on `regenerator`, This allows you to include the runtime without also making people download the entire regenerator library (complete with AST transformers and parsers etc.).\n\nThis module is automatically re-built and published by a bot that polls npm every 10 minutes. You can check the status of the bot by navigating to [regenerator-runtime-bot.jepso.com](https://regenerator-runtime-bot.jepso.com)\n\n## Installation\n\n npm install regenerator-runtime-only\n\n## Usage\n\n\n```js\nvar regeneratorRuntime = require('regenerator-runtime-only');\n\nfunction* foo() {\n yield 10;\n yield 32;\n}\nvar gen = foo();\nassert(gen.next() + gen.next() === 42);\n```\n\nThen run `regenerator src.js > index.js` and the resulting output will only need to load `regnerator-runtime-only`. If ES6 features are unavailable, it will also load [es6-symbol](https://www.npmjs.com/package/es6-symbol) and [Promise](https://www.npmjs.org/package/promise) but it will not polyfill either feature on the glo al, and will prefer existing polyfills over these libraries.\n\n## License\n\n MIT\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/ForbesLindesay/regenerator-runtime-only.git" }, "version": "0.8.38" }