{"name":"babel-plugin-transform-es2015-shorthand-properties","version":"6.8.0","description":"Compile ES2015 shorthand properties to ES5","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-shorthand-properties"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-types":"^6.8.0","babel-runtime":"^6.0.0"},"devDependencies":{"babel-helper-plugin-test-runner":"^6.8.0"},"_id":"babel-plugin-transform-es2015-shorthand-properties@6.8.0","scripts":{},"_shasum":"f0a4c5fd471630acf333c2d99c3d677bf0952149","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.1.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"maintainers":[{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"hzoo","email":"hi@henryzoo.com"},{"name":"jmm","email":"npm-public@jessemccarthy.net"},{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"},{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"dist":{"shasum":"f0a4c5fd471630acf333c2d99c3d677bf0952149","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-shorthand-properties/download/babel-plugin-transform-es2015-shorthand-properties-6.8.0.tgz","integrity":"sha512-kiABoIfrwg2e91hTivx0Moc2GHDnTzHRSGYe6BnM+HVaEXlAUnpKmjaH0a2wxSHboemkm/EyXT24EAmxtGTyBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC759ra2f2ORc0XF1+0A/CBs+mWh1Xyw1pYBLv22Poz6wIhAIj32zMrL3k4ap8Nydbu23nckLsHKtm3pvAhZok3e+eQ"}],"size":1119,"noattachment":false,"key":"/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.8.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-es2015-shorthand-properties-6.8.0.tgz_1462232688001_0.6746715707704425"},"directories":{},"readme":"# babel-plugin-transform-es2015-shorthand-properties\n\n> Compile ES2015 shorthand properties to ES5\n\n## Example\n\n**In**\n\n```js\nvar o = { a, b, c };\n```\n\n**Out**\n\n```js\nvar o = { a: a, b: b, c: c };\n```\n\n**In**\n\n```js\nvar cat = {\n  getName() {\n    return name;\n  }\n};\n```\n\n**Out**\n\n```js\nvar cat = {\n  getName: function () {\n    return name;\n  }\n};\n```\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-es2015-shorthand-properties\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-es2015-shorthand-properties\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-es2015-shorthand-properties script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-es2015-shorthand-properties\"]\n});\n```\n","publish_time":1462232689061,"_cnpm_publish_time":1462232689061,"dist-tags":{"latest":"6.24.1","next":"7.0.0-beta.3"}}