{"name":"babel-plugin-transform-es2015-parameters","version":"6.0.2","description":"Compile ES2015 default and rest parameters to ES5","repository":{"type":"git","url":"git+https://github.com/babel/babel.git"},"license":"MIT","main":"lib/index.js","dependencies":{"babel-traverse":"^6.0.2","babel-helper-call-delegate":"^6.0.2","babel-helper-get-function-arity":"^6.0.2","babel-template":"^6.0.2","babel-types":"^6.0.2","babel-runtime":"^6.0.2"},"keywords":["babel-plugin"],"bugs":{"url":"https://github.com/babel/babel/issues"},"homepage":"https://github.com/babel/babel#readme","_id":"babel-plugin-transform-es2015-parameters@6.0.2","scripts":{},"_shasum":"68b865a47f023cc6343c6464d375cbdc7bf2f497","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"68b865a47f023cc6343c6464d375cbdc7bf2f497","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-parameters/download/babel-plugin-transform-es2015-parameters-6.0.2.tgz","integrity":"sha512-GMHtNJRVhdCJgmcab0RfJRKAoqGQtUbqpjY3S73p+cppqluMsu/aeHf8zwZUrf5aJC7vXXy87p3e3czvxccAIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMRgVdtuF1V8t98GP9Yk5XiDTDuP4VL8R2mruN8NBejgIhAKWTaH0CsbSXnV+JVY56cOrgRRVvfgrCoxVhAIYPnXeK"}],"size":5463,"noattachment":false,"key":"/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.0.2.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"}],"directories":{},"readme":"# babel-plugin-transform-es2015-parameters\n\n> Compile ES2015 default and rest parameters to ES5\n\nThis plugin transforms ES2015 parameters to ES5, this includes:\n\n- Destructuring parameters\n- Default parameters\n- Rest parameters\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-parameters\n```\n\n## Caveats\n\nDefault parameters desugar into `let` declarations to retain proper semantics. If this is\nnot supported in your environment then you'll need the\n[transform-block-scoping](http://babeljs.io/docs/plugins/transform-es2015-block-scoping) plugin.\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-es2015-parameters\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-parameters script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-es2015-parameters\"]\n});\n```\n","publish_time":1446142515177,"_cnpm_publish_time":1446142515177,"dist-tags":{"latest":"6.24.1","next":"7.0.0-beta.3"}}