{"name":"babel-plugin-transform-inline-consecutive-adds","version":"0.5.0-alpha.91ed3622","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 --save-dev\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.91ed3622","dist":{"shasum":"e6764d56f094ebcc1cde28f59ce8dfa05333f6d2","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-consecutive-adds/download/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.91ed3622.tgz","fileCount":10,"unpackedSize":14686,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+gFsCRA9TVsSAnZWagAAahQP/imyEhKJ++F3EFSUO07X\nqB2FuapP0X80g1L5L1BHHKSKwzr+0xxApRc763aO815Mh3APohv0ABfnuceo\nKf+lz6IH4bJ7zenE3gU5F53kf8fCm+VEpZBQ/YWq/mkLJQ60uI8ubE7RUpqZ\nzADGBWWp8a5KYyakEBqlLMhfpaJjSy775qhm5CiiGw0x3atgL1VAzzaKrm1S\nzT9GHawRPNBCZxomP1JXpvlUk50jtKSh9ScGk+4QQo1zG/cJE2+lzKdysYVj\nyhZSk8jl5ZRp3NxUpvh3osMzybqPNSSFQHSpGVPHgFMonEIPbOVhKb/X6OIk\nHiLBcLNbdSPbuYaImpssKYMq6RJrvRmf7c4NSyBG805VFqM8hIG1vdOxUhgi\nu9ktfxP0V4GwSn334vVvr4KLRkHizZN2lhsPbVObyO9nJwp7V5qa2UpynWrF\nttMCy1GoFHQ7rhFQYhPR72UCtBE3N15KX953BDyyqYGed8fAOO1HA8NKhufw\nZnzLmONg9dAArMNPGvrXTtBV+PR7o3Yz2mXU6x18oDKESN7uPCnAwcXSni2+\nMyxGzPEFCEQ/S+lsiGooK6MW9C9JJN2vtbYwZEYTmeCJgvT5lAVqoNngQYpp\nUWOFv5BqDo5oO9AOixiPPO6JEJHqvZWXGx0I7+mo7B6Uv64U2lSR5fQ1Wu4n\nE11b\r\n=CZrU\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-jrRFi+7Ri8wKqNRW0O54p2ZpMKUZoClga7SFrRk6iiI08jcqTBQc8PrXcYuWCq3F4ZTjUkKv+8KcRwNbMGdkCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNO4uLhyNvzXZMFbHmD0O4skm6TFucs1GkqqchNu9NRAiBr8W7obiq1T8eiLBuswocWXvopEPpjezGnRXuO8lTjeA=="}],"size":4286,"noattachment":false,"key":"/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.91ed3622.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.91ed3622_1526333804101_0.31711987388040574"},"_hasShrinkwrap":false,"publish_time":1526333804165,"_cnpm_publish_time":1526333804165,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}