{"name":"babel-plugin-transform-inline-consecutive-adds","version":"0.5.0-alpha.e86a44f1","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.e86a44f1","dist":{"shasum":"4b9e13db6ade2144d2c091964fb46c230167c790","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-consecutive-adds/download/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.e86a44f1.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\nwsFcBAEBCAAQBQJa6t6WCRA9TVsSAnZWagAAWc0P/0dH//6kPfpHiQ11ua2L\nmN9IiP/twP3cLzqtZZLZti4sAH8ZzXw6oYMvcgc9x3R84legK8Sq5oAWSd8F\nM59PqkanAMVJ//WKqlmdPA4K7XY0mGMrHYSuh53X4wfH4Pm53PjoV0ZpTlRC\n4a30faPvBR0XzfErqSD1Ip6WIx5jornm5kucKVyuDmrrGauuoMFZU9Tw0tbK\ntCjBBSiKXYbfyLZ8UO1RGaeYs6Vu0+LOjKg2cXDeBRjGmPbI59JVUOPBx0k+\nP2hWOXG1RVoJhxAdxk95R7nP8ytxXE+gt6Eqv4DVJpOi3XwB3ckONyXGrZC2\nKk+y8N96MqvNFs+dorXQ5zwXmJNZcHq0dK0qng62HFqUVU+h56cphiwzfV64\nqbSbYiX1oN5UUIw9kS5Ug2c4mHzE+QiEJ/HuN1JOj4JjZ7H1fkpl/EpwZrBt\nhsmq5m/zFEKuLnSaEYyMm5O35PFFYLSZmwoaHd9vmq8AFn3einzOjdGiuma3\nK6JRls8OKiltlvg4hRysHsj7Sp8oX5PFF0PQxLFaIrHLmlQyLzcox9rESBsC\nxFgPiqDhwUgPcqmMWyZ6rj4XvUg9t9OsKUmFZiafbU8yHDlMnsHhS9RoPPma\n45IB0sVl1eVkN+9IJoAxULqplrG549S3mp4qnmpNlkaRD8MIjd9MSIMT0FNw\n7RHD\r\n=DmHg\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-tmE+q4tFjpz7M2y04hMl2ZSD/sJJybdRooNp/aSG/bYuwDVcBPWL2IfIIbKhW8/112rsKiVj0a7pe3wQ34kdqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMJpLT4SYc4KbXN4Fl8+V2WfBpIFfY1RQMgtUP/ioyxwIhAJGBPi5Jx4PfBXPGGskgX7744bCgsANk0zH8OSiTvwzp"}],"size":4279,"noattachment":false,"key":"/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.e86a44f1.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.e86a44f1_1525341845931_0.584328298700987"},"_hasShrinkwrap":false,"publish_time":1525341845976,"_cnpm_publish_time":1525341845976,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}