{"name":"babel-plugin-transform-inline-consecutive-adds","version":"0.5.0-alpha.01eac1c3","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.01eac1c3","dist":{"shasum":"cc81bf184c7bfc52bf9c0b4b1c4066ab9e776a26","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-consecutive-adds/download/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.01eac1c3.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/hJoCRA9TVsSAnZWagAALCkQAISHFuBe9oGQwRlxXXgE\n3D4ffIIFObO6cPzF4FMUWR4HLebSpCk4q5pVnc7abf+MDFjscEHZU1QwA9SD\nfCfnA+1bfbIf7nFrf/wlvu7NNSh71oC1RjGlrDnMCWzMMWfH6dTKSKr12TQ3\nJ7cwsBdqcczpZrX0dUSdxStCBj2bNh8Gv5LDLOGpVP5ZvbJuLf4/6mJndkt7\n2lgC+g6vp+sAksKjxsOI2pJfjLP3knIB3E4qgczD/KHyjKSjEKlAK4XFG99c\nuXDVlWGR/cRnCcMGA4tOLAMRxB+Epi92j2gFkX0Xwgt1DgL88f8+6eZCdoaQ\nzppmtJcXU7GJttbK0jsDVsP+ABx4ETym8YlAm7px2aVCDAa1/LQ0mcpqs7j3\nyCkONDrxSbf7yx1odvc7nL2f4Zh4fp9L3ls2l1bl7rP8+WSgtkjcyR79wQbj\nfeREe//+xFAnOdel8p/lrYbzuHC0/UcFu4Z5lPAq8to2zRhaLguh8eRHQEVC\nhm827j59aNOj76N40oFKnYii91hgp6pjLH2RrjBh3daBHSKuM9MYBSPCBCtq\nWKXAvnclbWKukURK3SnPC8rD6PByYAUZIkqQvK6z/aij4mW0JLxC2ekYtbhg\nb8YRQps2TrFk9oVI8Bq75DIhMdwsTU+NGetTi+PvFgep7BoEiwIZY6MoTQ2c\n+P+d\r\n=86yW\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-koiTAeVsbqee/UBtnSPS2qtMaJoUFb3dHEr4R+7HJwkLnHWX5V1pFyrQ/Xd3iNCtOuP1nwTQcnX6W4qZ1lL19g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqYCaNIiga93RBwTH/86FLU5AquiNOeFgcjghfqo9KvAiEA4GjcGr4/FZRWiCLbmiP44bOezKHbRnnb+d66S2IMbqY="}],"size":4282,"noattachment":false,"key":"/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.5.0-alpha.01eac1c3.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.01eac1c3_1526600295623_0.9549492716561534"},"_hasShrinkwrap":false,"publish_time":1526600295686,"_cnpm_publish_time":1526600295686,"dist-tags":{"canary":"0.5.0-alpha.9","latest":"0.4.3"}}