{"name":"@putout/plugin-merge-destructuring-properties","version":"5.0.1","keywords":["putout","putout-plugin","plugin","destructuring"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-merge-destructuring-properties@5.0.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"568249ed3ada271f52b0e453146c5e83e6562bf6","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-5.0.1.tgz","fileCount":4,"integrity":"sha512-H/d3pS4tAMfP5DaMo5CrErAlgLctp28QDJFG35gZLwvjLurH3yGXqawOhss/01RBp2Uzc3lU4YLsjzTEy8y3+Q==","signatures":[{"sig":"MEYCIQCGleAkdrExJs2dR9aRhtRSLADX0bi0SS5M+JX3Mn4B8AIhAI4q1RRYexSQRObHuKnSaeb7mz8KSoTb+sBipQMichxY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4SMgCRA9TVsSAnZWagAAV3wP/3bI1otA6fO1cOLasio7\nvSX6w4T46546cnagKzznek8ttjrRleyePBswT3CA5JxPmN9/kqNWxGDxb+Ih\nniH7XZzFEsWTpsSXhYfZGcTvPz7hb2zSaDGR9t8FmE0AAEcMbhZTE/QNvz9M\nAQ9+33PPiBLClIktyGsr8cGpwoJbgDnQx5zRwRCeU/bZISZSzPZpjodEGLGF\nciCcn3cvkP9fGluaFx0F/yipek/gnNaVvav0NznhUor6+WFWtjlDcOqhAOay\n/qsJtYAhU3F3uEKUHekA4H7ZlQccMYzLmcuB6G+P5GIYeMUVpVuJpwS9FPbs\n3aEvg/NB4VIQFa5CE/G3gZnoZtf68VyCUrPzdXPhZrtAUdc4RpIVbxXpfqst\n6tR33OQqLVt0AU4+SAEPlXjaxhmTbLAxrr5SpUaWTsxbSsGShHRKhiK1851N\n1px1IvuCCBNCohBUPuZuyUiU4W84lv7ShIF4ejEDBCrcQC4lptogJUg4Xq7O\nXP4YtRNM2NBD2I6/eIuxF1wNBADu0erG5nH2NIz9O+Kil/3+pmGkngRtojNs\n6UtTjFZt5ATVmGK7iSAMx0F3HgmUBFnF8xt5GF/VSyo+PbzVC5Y02KZ8ZY8B\n+8KolzzGzL3QFEdSL2OyTrgPnT97cUC+U87wSbtaNBj3C8R1/Vocpp0PoWa5\nh3Uu\r\n=3V6C\r\n-----END PGP SIGNATURE-----\r\n","size":2309,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-5.0.1.tgz"},"main":"lib/merge-destructuring-properties.js","engines":{"node":">=8.3.0"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","putout":"putout lib test","coverage":"madrun coverage","fix:lint":"madrun fix:lint","putout:fix":"putout --fix lib test","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.14.7","description":"putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"15.4.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","lerna":"^3.8.5","eslint":"^7.0.0","madrun":"^8.0.1","nodemon":"^2.0.1","coveralls":"^3.0.0","@putout/test":"^3.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^6.0.0","@putout/plugin-convert-commonjs-to-esm":"*"},"peerDependencies":{"putout":">=9"},"_npmOperationalInternal":{"tmp":"tmp/plugin-merge-destructuring-properties_5.0.1_1608590111616_0.8849830289622127","host":"s3://npm-registry-packages"},"readme":"# @putout/plugin-merge-destructuring-properties [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-merge-destructuring-properties.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-merge-destructuring-properties\"npm\"\n\n> The destructuring assignment syntax is a JavaScript expression that makes it possible to unpack values from `arrays`, or `properties` from `objects`, into distinct `variables`.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to merge destructuring properties.\n\n## Install\n\n```\nnpm i @putout/plugin-merge-destructuring-properties\n```\n\n## Rule\n\nRule `merge-destructuring-properties` is enabled by default, to disable add to `.putout.json`:\n\n```json\n{\n    \"rules\": {\n        \"merge-destructuring-properties\": \"off\"\n    }\n}\n```\n\n### ❌ Example of incorrect code\n\n```js\nconst {one} = require('numbers');\nconst {two} = require('numbers');\n```\n\n### ✅ Example of correct code\n\n```js\nconst {one, two} = require('numbers');\n```\n\n## License\n\nMIT\n","publish_time":1608590111755,"_cnpm_publish_time":1608590111755,"dist-tags":{"latest":"12.3.1"}}