{"name":"@putout/plugin-merge-destructuring-properties","version":"6.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@6.2.1","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":"2de5899d0ff425adcfe9c616dbed412ffa51210a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-6.2.1.tgz","fileCount":4,"integrity":"sha512-XFrDVkDDhnpe4suz74INl1uA4CIVJ/HwH632G2Ds9nKDQ2OmW/3th+85AvgRU+4T/L/gQJ/2c5DL+EQVG8Qwug==","signatures":[{"sig":"MEYCIQDYpUS6yrcp0LSHt1ONe70TQcpKpsOmPHpqvjErTEAiRQIhAP28bBTIj+pD2n2PMV3Tj+ZgEgvCJOO4hZDlhfaMg3pi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiplOPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNHg/8CGha2gtUZ+GSYqaXjmQVXEescmmYLTBbk4USJvKIwgh4YoE+\r\n6hRS2r6yK+4wFhdK2isMzcjjL/vP3Dn7mtMgRBKS5W9hbO/s6rVfvkSoUijR\r\nuJRYASm9rjgNmKb5nou9YB4AUmI0UWfSDvyrlgHvlSyp/F9Ar7u4gjILFT1y\r\nhXHvfmgsVs3NhPok51oKe+oer+d2RApoah465JQ9X9FhtuGAGjl0YuSsZ3iE\r\n2/GDiJv6H3eKCP2xNQKmG7efOddpVvpy4dmGxROH7+t+7M5p2BRf6EVqKE4G\r\nHsIu5zUMa/p2kiuz4XtUsCfRs1hdKmmNhw0qd0YqmS7+YjReTxyMjHx09w6d\r\nsdy1uBhqy/7i6vuL0U/FK5LpxQI8bAG3vsWY/qA+E3V+MBpc2tN44nWJ/4oU\r\n2ELJ2HAfzM4owQChWRnVFue72FvAwfu/QARpcTCOZC5cj5eI0UUEY9mD3H1/\r\n7lSDhCGNGo3iaUa9FoIwWjCAWUZxzTzIuXjGPxDPxiv5v8WWiuVNci3haVvK\r\nj06TVXXZo6DH0IvplGGa6Gw1bxK0Ytg78JxdCmXOc4GkpZoYOTTcN9f6432u\r\ncorZtIzbYeUYl6W7xd/Av+h+lWyh67B4RGO0aekRouKTDsWVR6GUy3j/3b2V\r\n5iuodPGCrSCM+xlcMyP2wLGwm7qfgLRrXQI=\r\n=nZQ9\r\n-----END PGP SIGNATURE-----\r\n","size":2390,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-6.2.1.tgz"},"main":"lib/merge-destructuring-properties.js","type":"commonjs","engines":{"node":">=14"},"gitHead":"9ea5ce9a346d30a16268390c02ac70142a502b9f","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.1_1655067534954_0.989941552048831","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":1655067535082,"_cnpm_publish_time":1655067535082,"dist-tags":{"latest":"12.3.1"}}