{"name":"babel-plugin-transform-es2015-shorthand-properties","version":"7.0.0-beta.2","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-beta.2"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-beta.2"},"_id":"babel-plugin-transform-es2015-shorthand-properties@7.0.0-beta.2","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-qFGGCNpgKvJ5uU2CtJH+B0LJ+7DnpIksDLcNQo3Yo5EoXe8Z51EYd69k2eC77FrtInWWaoqln/osY4BC2fod2A==","shasum":"8dc07cb267ce6c316c78618053aa7c3278cc5c6d","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-shorthand-properties/download/babel-plugin-transform-es2015-shorthand-properties-7.0.0-beta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMDMltFvT5M8t9xBz28uQi6w3K+TBmLbE59GS/Kcvf1gIgHMDrJVH1Wrm8dylAazg6+jFZXvBfmz4yKlfXPs9mCt4="}],"size":1099,"noattachment":false,"key":"/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-7.0.0-beta.2.tgz"},"maintainers":[{"email":"bng412@gmail.com","name":"existentialism"},{"email":"me@thejameskyle.com","name":"thejameskyle"},{"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-shorthand-properties-7.0.0-beta.2.tgz_1506438925041_0.8921544230543077"},"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":1506438925974,"_cnpm_publish_time":1506438925974,"dist-tags":{"latest":"6.24.1","next":"7.0.0-beta.3"}}