{"name":"babel-plugin-transform-es2015-modules-amd","version":"7.0.0-alpha.12","description":"This plugin transforms ES2015 modules to AMD","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-modules-amd"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-plugin-transform-es2015-modules-commonjs":"7.0.0-alpha.12","babel-template":"7.0.0-alpha.12"},"keywords":["babel-plugin"],"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.12"},"_id":"babel-plugin-transform-es2015-modules-amd@7.0.0-alpha.12","_npmVersion":"5.0.0","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-OvmyuLDQCLy2pHw7SmPIrt+1z11oHfAGIvCPJe+nBBjcwrJWA05w1RMzGouHwHwhpuNkyUsXo0biYYKxT+yj3w==","shasum":"7ae180ff063d53632c6b2f7cf8fd1a7cadb4da67","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-modules-amd/download/babel-plugin-transform-es2015-modules-amd-7.0.0-alpha.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4ryDDzZAON2iSY+10c16qHfdQMh3qP0ADp0m7hB81bwIhAOByDtVfbPo6SKG1E8WF7RIVsJoG3k0+j3FJP3GuFOlA"}],"size":2069,"noattachment":false,"key":"/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-7.0.0-alpha.12.tgz"},"maintainers":[{"email":"sebmck@gmail.com","name":"sebmck"},{"email":"daniel@tschinder.de","name":"danez"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-es2015-modules-amd-7.0.0-alpha.12.tgz_1496265134458_0.254208272555843"},"directories":{},"readme":"# babel-plugin-transform-es2015-modules-amd\n\n> This plugin transforms ES2015 modules to [Asynchronous Module Definition (AMD)](https://github.com/amdjs/amdjs-api).\n\n## Example\n\n**In**\n\n```javascript\nexport default 42;\n```\n\n**Out**\n\n```javascript\ndefine([\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = 42;\n});\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-modules-amd\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-es2015-modules-amd\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-modules-amd script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-es2015-modules-amd\"]\n});\n```\n\n### Options\n\nSee options for `babel-plugin-transform-es2015-commonjs`.\n","publish_time":1496265134541,"_cnpm_publish_time":1496265134541,"dist-tags":{"latest":"6.24.1","next":"7.0.0-beta.3"}}