{"name":"@putout/plugin-merge-destructuring-properties","version":"6.2.0","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@6.2.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-merge-destructuring-properties#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"5d181a22581a5937428fe64dcca22120cdfc5d69","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-6.2.0.tgz","fileCount":4,"integrity":"sha512-qlOhJLtzbH851BIndVwcwOkgnoK5JFrZ41lkLNzHAn4udTxdF3j8gxiupSwDW6oC+SBZQBkh7PEJNGPR7J4yDw==","signatures":[{"sig":"MEUCIQCEnJRVyGDlzjwNitmyzKfvBD4IJeuW6MbxFAMHLq7TbQIgZQVCQgk63O2XpAGl09FIBFnAstxgMMQo3yUpNLUv4oE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipP8/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvHA/8Dwgy7SY/J5A2nbwLkbzzlNVrhVt8ER92/2Wagu3gElX7A8H0\r\nwaBNLQCwbrYZOBUu2ItGH2hqI3VWiYePD/DnnXYBxr6HcFbSVNLPwgNmEGAM\r\niAwScrCYC84MwGLUUxujzFuDrVAQehLnLIAeae6PbILPWmgpoMzYpcSXn1s0\r\nH9+epYp3dWRl9ZysGR/kqHObB+vO/8pRlxa8Nwq/OWyxI0ZAsKKFjtCd5L1u\r\nbZ/dKZZ1o7WIpsd4SfAnK7pYOj/mzJHLLYYXzk8grzQJ8YYt/p/x5aW7ahw/\r\nTVTDeLcK8mnOX9qNxuAlugdAAUm3FcZA1miTsKbfVDiM3QSBzCsWSqxY65F4\r\nB3lZevmaqnROhqs/ImLy4CxmPHJk5dypAjv0AQ3XDgs98c6qQr0epcbFD8hp\r\nOOApDsLfNLQ/IJlbSNRSMkfg6ES35g32oMoCPcz6c+d6Nn/NVdVaSrlFac1m\r\nC1ZcmMfy71tg3JPdHea8Ats7ufzhUPuoFbn7/JixD8e5r7nZ1Fc7BkGuuH3j\r\ny5JKR2R0I9GFuiJ/8dlRlr8XS4euOng3Az5Q2KWJx3ahTKtqNrWrIloosoSi\r\nBA1Le/WO7OqicyF+3IlEYMMznFIWOS7oGvyiagkdLbDh7OpT810UzTZHoSU4\r\nJ4OXk880PBH5dncKU8d7CeIm1U3PrDi9d7I=\r\n=c/5Z\r\n-----END PGP SIGNATURE-----\r\n","size":2390,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-6.2.0.tgz"},"main":"lib/merge-destructuring-properties.js","type":"commonjs","engines":{"node":">=14"},"gitHead":"ed861301a61dfd8eb340ce421a5024cf251f255f","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","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":"8.3.0","description":"🐊Putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"18.3.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^5.0.0","eslint":"^8.0.1","madrun":"^9.0.0","nodemon":"^2.0.1","@putout/test":"^5.0.0","eslint-plugin-node":"^11.0.0","@putout/plugin-tape":"*","eslint-plugin-putout":"^15.0.0","@putout/plugin-putout":"*","@putout/plugin-convert-commonjs-to-esm":"*","@putout/plugin-convert-mock-require-to-mock-import":"*"},"peerDependencies":{"putout":">=24"},"_npmOperationalInternal":{"tmp":"tmp/plugin-merge-destructuring-properties_6.2.0_1654980414864_0.9546119416429544","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":1654980415049,"_cnpm_publish_time":1654980415049,"dist-tags":{"latest":"12.3.1"}}