{"name":"babel-plugin-transform-inline-consecutive-adds","version":"0.5.0-alpha.8b905991","description":"This plugin inlines consecutive property assignments, array pushes, etc.","keywords":["babel-plugin"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"shinew"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/babel-plugin-transform-inline-consecutive-adds"},"readmeFilename":"README.md","readme":"# babel-plugin-transform-inline-consecutive-adds\n\nThis plugin inlines consecutive property assignments, array pushes, etc.\n\n## Example\n\n**In**\n\n```javascript\nconst foo = {};\nfoo.a = 42;\nfoo.b = [\"hi\"];\nfoo.c = bar();\nfoo.d = \"str\";\n\n...\nconst bar = [];\nbar.push(1);\nbar.push(2);\n```\n\n**Out**\n\n```javascript\nconst foo = {\n  a: 42,\n  b: [\"hi\"],\n  c: bar(),\n  d: \"str\"\n};\n\n...\nconst bar = [1, 2];\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-transform-inline-consecutive-adds\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-inline-consecutive-adds\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-inline-consecutive-adds script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"transform-inline-consecutive-adds\"]\n});\n```\n","_id":"babel-plugin-transform-inline-consecutive-adds@0.5.0-alpha.8b905991","dist":{"shasum":"c205612b8776684cf7967ec039af3068a243fcec","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-consecutive-adds/download/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.8b905991.tgz","fileCount":10,"unpackedSize":14675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6bvwCRA9TVsSAnZWagAA1bIP/RXHZ5ePMlIY8erQQH0C\nJAt/R+i2wnvOcN0tI86nNQJSIrm35cyDNj1XMh+/xVCRl0/O6odXQ7hEU8m5\nQNTlVm6BroGxWVIMIliPkIzB14iJChbDI7RCsu+1oAIVuFccWo1xN7jJ0Hgc\n4LCfRC4moqprEiBQIb3xyjVmeQ/Go82bdiCxvmqdFZeiELVygRg17/uNBPKq\nE7di4B1rixzvgsjcGbd//q8zvS8KNyJ8EY1b63RqwrB7O7nAE66kHdtQq0qJ\nPTW606mIWoOj+ZOCZnvd5cq+k2VkmJV027Oh3hCGb6/jqP1cvQrbH2zsWsiU\nRo1cbnTWr56TSs8I0BqCfZFwCpyVShBo1+YE87pOcMDUYL7vECxnlnmpPero\n8fj6pozWYbXPvks9Q/INvWhgFdxGVTPjihyZwoKsGyGohTjrEA/xy7Nf7j9m\nlyOZDpy2I56GB/9mPl8An2yskYTeKbUm4vSQ9/VXE0oUF/DxAuRPQNuwzGUm\n9CQ1y+k91B8Hnd9qXQ6eZe4lRWry8Jrcp6HAH9ZWffSDdjRJKObv5M350FfG\niGinGahYCkbnHLDOMN1ZIleIBxHKZxCmtgFJVmB6yWQ4yZmo9tCSx7yTiJdD\nsYxUETX5o6h7mIfenb5EZ+hR3fAxBYY6TmEazA5XCY0SHMzO2OptIoUWerIb\n9gYP\r\n=Bfh7\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-35lWcrgOwgFLKDwHP+EBOFw7C5Dg8gQF+dyTT+hOuE9LF/z2HbQa788JmfeA2G3VwmJiU013D7Sm6gK/xI4LTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdK6pER2mKOcv/gv3CaaYAxBlymuggIAAjM88VYjZzfAiAsgOzd+rrOHvRrNB24Auh8uThRXxQ8KldjteZfCKALnw=="}],"size":4284,"noattachment":false,"key":"/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.8b905991.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"kangax@gmail.com","name":"kangax"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-inline-consecutive-adds_0.5.0-alpha.8b905991_1525267440354_0.1461777724862925"},"_hasShrinkwrap":false,"publish_time":1525267440435,"_cnpm_publish_time":1525267440435,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}