{"name":"babel-plugin-transform-es2015-shorthand-properties","version":"7.0.0-alpha.8","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":"7.0.0-alpha.7"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.8"},"_id":"babel-plugin-transform-es2015-shorthand-properties@7.0.0-alpha.8","scripts":{},"_shasum":"8a5e62d129a92866cb7ced398ba50abe8020c82c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"8a5e62d129a92866cb7ced398ba50abe8020c82c","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-shorthand-properties/download/babel-plugin-transform-es2015-shorthand-properties-7.0.0-alpha.8.tgz","integrity":"sha512-yv9pthi4mz5At0SQBJE7C7WMyKYjACESNk1iI+KoPZ8lVQOGdbxfWPtU4QEDJAUYo+aAK/iG6YmqeXUk+hZt2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7mRcuSKXA8g7y7TmbM3+15Edc5ofEmus1fHfudIbO/QIgcNj0Kf3UtDjswfPggldmg+piLmlMHD1FocJT+IUyyxg="}],"size":1164,"noattachment":false,"key":"/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-7.0.0-alpha.8.tgz"},"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"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-es2015-shorthand-properties-7.0.0-alpha.8.tgz_1492456359421_0.9582195484545082"},"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":1492456361274,"_cnpm_publish_time":1492456361274,"dist-tags":{"latest":"6.24.1","next":"7.0.0-beta.3"}}