{"name":"@putout/plugin-merge-destructuring-properties","version":"2.0.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@2.0.0","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":"173fbe61b82a85f0a31e289ea9e2fd6b29deed4b","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-2.0.0.tgz","fileCount":6,"integrity":"sha512-davl3q+oj//ZdpJuCxFnCC9sheqsyqr6JvFP3sbJsLq8FuF803egyPaHw2M7PlRZPZvWYrQV5y9i9l4NIQsQKw==","signatures":[{"sig":"MEYCIQCQESzfC8xsPkDZmh175VMBLpsd2j0DejPOVVB8eZZNywIhAPphLNbbHV+OTKHq0Q0lZGfvdxVH3R196Hd6DW/LyPfP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoeZTCRA9TVsSAnZWagAAtg8P/294E6ZfR+Odv0ieOOaG\neK9R8vjxhWc9frdb6LUMUXYFP0fcPOdIoEWItWKrM2R5qIdnhnDgrKyNMf8P\n2I82q6aCzsqeuxcwONhHj+MUIOSbMBJ/4LJOOOiKbbQ7ZVUM8x3IaMGv2Bud\nVF0HjEfkNJSZgIKWvJxecJqnYyamKJ6Ut8RKAhywtoibladif7lZygCtjQtR\nYndnlwXWekQSsXVsvwrZA2DwaPRf7SjBwCkRpnyyRDRwcE3LY8BnZwuuh3DJ\nYU2LafwMuVw0JOj+KmM5X7z8/HgmfAKKcKke2LsxY/NI8plZFciQn9XZyN9P\n6Lnvju+nj4Ig2QUXsNOmCq/fqC1vFFeRbh4+YqRBslO5heAhYm+xZmwDxl7v\nXn8H+tI5RIqtXB7R34Plcj0HybJzuJWuAN7liumo3IdjGEWh4pESpkyXKaMU\nLbpyF3CAWkIFMViTlWKtNzKvGQwbqrueQuW6xPPEfzlmd2vndxicR/itBF/z\nVXtmuPh/96lYyc1+tpmnGdYxF6IJpaxCc33flRDwF3ri8PedsddNTpwqAYrc\n8XZ4ZNzYF9a2U/bSFiWK7gIjHufO7CxmAdex8xQrRH0jN3pU7ogntuRDEKXi\n0jxv12JgytbJaxQ8o+r4xpSV0XHo3UO9UW1uVS3ixOvyJ+Zo6YRruYKiC20C\nMUMe\r\n=pxVf\r\n-----END PGP SIGNATURE-----\r\n","size":2467,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-2.0.0.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.11.3","description":"putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"12.12.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","lerna":"^3.8.5","eslint":"^6.2.0","madrun":"^3.0.0","nodemon":"^1.14.12","coveralls":"^3.0.0","supertape":"^1.0.3","@putout/test":"^1.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0"},"peerDependencies":{"putout":">=6.14.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-merge-destructuring-properties_2.0.0_1570891346722_0.43265738006777155","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":1570891346959,"_cnpm_publish_time":1570891346959,"dist-tags":{"latest":"12.3.1"}}