{"name":"@putout/plugin-merge-destructuring-properties","version":"5.2.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.2.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":"88377e60e4416feab712c1e17a784c1d7ac299e5","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-5.2.1.tgz","fileCount":4,"integrity":"sha512-PkIdbZJQ1vbbycv9VqaVsgUScD9IGqzUYu4kDZ7hxJ69hdPPFVQ08fGMbeExRY2TwEaA23KgKSawBlBIeftXqw==","signatures":[{"sig":"MEQCIBvp/a2ZZSHyCaeuN1uiLgGqZOwQ4q0DGfONfcyNf4qBAiAZsG5v1bcD4pw+r4Ua4QEr7xieLJdSOpcHuaYr4W55ZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2XmgCRA9TVsSAnZWagAA1ToP/jULVpYp8zRgr3LefTO9\nkzw4jkq5It9zIjH+ldrrPsj+2fIj4dP6Qpp6w74kn9E1XpQR7LgG7y2eHBEU\nObmCN1rlzrmm5kS1zVlTPp4id1Lj3F1ZS5BhDC5Et1aphIqpHa4hCloCxT+n\nbzE4ekmqivt/Lp6b+WgcLXN8ksgqfd3WBPa9Eryi1oMq94t3UNnzLfYqTifg\npWdz/K0g5zqXa7FXvkNDTReMUmfbQ4WtOzvGsSWRUuIHAO3RE10H9aXVnb7s\nvayPnZSR2V6wT5uxxp3AvX0uQprDPjdLze9F5Wibjm1lahslsrspGjotqW6h\nDRuDUdA5QLgU2d0x/my0xKmTjxH1XxwBgcDsKiZ69AE1Bd7VvkkX0zZK57KT\nu71PyNisNbruN6S28n+/u+jZKPhMaokipLVwRWJ6/HhaszrxcVSxKMruZGmr\npA8hxRPZhSVB0pGeGbxZG1rKzGeBx/nEZQ9ifb7DEzeovUMe67B+M8DXjdmx\n+Ex/WZrIKIrC+VMI9oVBPD7UwB4VrZ3Hm/RE82gfVm8U87gSuuTTXFcVj61h\n3T1Kr/7LVhTbndKfZwc+pWHfubhL7vzPY100IbjJZ7dU0kX/qKhawe8rpelt\nJSx4lEUnj5wJK55IktZ5vJf04kUHa6ntGCDsMRKIq0Ty+kXVQ1vamjSG3P+w\ns3lK\r\n=wtSf\r\n-----END PGP SIGNATURE-----\r\n","size":2374,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-5.2.1.tgz"},"main":"lib/merge-destructuring-properties.js","engines":{"node":">=8.3.0"},"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":"7.21.0","description":"putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"16.8.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^4.0.0","eslint":"^8.0.0-beta.0","madrun":"^8.0.1","nodemon":"^2.0.1","@putout/test":"^3.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^10.0.0","@putout/plugin-putout":"^7.4.0","@putout/plugin-convert-commonjs-to-esm":"*","@putout/plugin-convert-mock-require-to-mock-import":"*"},"peerDependencies":{"putout":">=9"},"_npmOperationalInternal":{"tmp":"tmp/plugin-merge-destructuring-properties_5.2.1_1632736739731_0.34753360234236474","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":1632736739918,"_cnpm_publish_time":1632736739918,"dist-tags":{"latest":"12.3.1"}}