{"name":"babel-plugin-transform-inline-consecutive-adds","version":"0.5.0-alpha.41ef96a2","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.41ef96a2","dist":{"shasum":"daa830bdae5aa6bc8909dc180c0912b1b80fb2d4","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-consecutive-adds/download/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.41ef96a2.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\nwsFcBAEBCAAQBQJbEVadCRA9TVsSAnZWagAAhyYQAIWyS+UTeaI/2f0hQCPh\nMKJB1on1OshP9EEEKE83yb44cfsCeT8+K+Kh/iTyI83GgQHj6YFVlN3IfkDK\nDM8aqix+Bjux2P41is6MsuMIISNsd2ig8pzXp3Iit5QnUrM8uFTJDCbTdq31\nMsyVSA1RYuSt95/mgzxKod+iZsFTXU50JkCWxhuOiz8+FAVlPUwEznNpP6PC\nD5sJ05Sh1ylF6jwhU+fcgidM4PQMZvwZHvDVEZSBD4BeJcZyJBARRqlK5cyT\nLII9f7TTOdGDQ/Dxdv1LU8w2lIkG2e0dO+GOzJYpGke77HZr2pWduA8TOxEn\nHJhBPkgG0+BcSi/9fUBpn1H8t6mNJ0p+PAfqIkfv5K/QqNh+CT9fdteqsxJI\nvDYKBKkfVtgfaKVoHZFADientw/YThFp9VZHgkmT5xVdPnR5bNXWtgXkHHsp\nOncxuNusDRAq3p27Qmpem8h9EPplS1xDbQTld2gmJR3ZscpTBL7gISxwwIhA\n1qH/NDDBQFwTkCFLi05qgncBHH/P2TQBbpWtWB4mV47ffWqYyUYbkm1r3rQS\nqrP858RlJDOKFlfMUVchzjuLLBUtZ58pTMQ5uSDf3vCNxUSTgUZv07z3GkoL\nQS+qgSsx9cBm6ynJMdvVdBVZzKE2tfcQBRdeUk86s2f3sZ/78pVZG/tYaUt9\nKBKr\r\n=1kAZ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-+vQMhb3muPrF51G+nwkR4bgpfOrCxcx3etscH5ojc4ywUFeSniA7FDQk1ai3GBo5IL5OmCttw+0ao6EdcP9xEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7iqnxacYxiIHUYciwNWKw+amVugzYdwNLz0TlvQwlLAiBa1vkAp6MalgKzsOmcPs7hAhsRrysscBxv/ADgYTGacw=="}],"size":4283,"noattachment":false,"key":"/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.41ef96a2.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.41ef96a2_1527862940801_0.21311472054970326"},"_hasShrinkwrap":false,"publish_time":1527862940925,"_cnpm_publish_time":1527862940925,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}