{"name":"@putout/plugin-merge-destructuring-properties","version":"6.1.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.1.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":"51bdee1a084736a78e7327be1731c9815a2490e1","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-6.1.0.tgz","fileCount":4,"integrity":"sha512-RDiLoW1r5aOESg3w4FU1kDQqmpKItoAfIQWYl9VHnCQevk8hTPnQX7PZE/qaOHlUNrUOonWQkFZOJlY0pKoVGQ==","signatures":[{"sig":"MEYCIQDaxP+8p2L7kmecfbKppfiF4XTf359EAIDalEtofdu4igIhAIHR6R6FpdtW2Ejrref9cJgQ24RaK/IIcDzcfMkQ/lux","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiD4N4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIOA//Z9IVfB2ui+Rp+PsIxcAFTZdf8ZeR9x9Co6zAzn1ZzEp5lfME\r\n+Q6vCA6YB7bI+sutfP2vHhAFzvWsN4ft3BH8wA/LOs4c+VisNY2z0R6zdxzU\r\nvYifpRfVpTtbrTK91kE8VMpKgaUJtOfSJvHMkRe0MXgynFMEjpqQGa8GKLoM\r\noWFopCnWOm8Ft/NyeIEjmM9nof0g9xf3Sqyx6p7ji6jaZuA+ZtaHU055agPk\r\n0H8VBprm0XPfIvOeXARPN0T7jLcDcQdII0m50FkqnpBWfQB3CvDwrNdIzUS5\r\nHYph/bpY8l6R5JtG/trhOlUK/NLKKmkXmyrWclfewRAWysalO3X1bH91Wf4g\r\nioOSHob5g5+IZRO+LaDVZjGyFfkt03AYloy0mzURuKNzoSBu0OeHy/2DJ9WP\r\nLDLmq8UWslZnQ4Xl9yrhUzNqzBA27y5aR6CRZTVkIROf84vjz0qGVqV/t30s\r\n7iQOQTiAU0yYP5i9b0NBbrH3EMAmxU/2ybLPYQstL6nyi/a43IKJmYZAV5Xr\r\n62+S4DgFuKp9HznnC4iecFwibkKoH1Kpqe3tPQu5MVh6+VQBj7vuZEb+sz4y\r\nfHVxyaidlPi+s+xzDc/ji6/VzeM8X/G0WoL7XqSasxGyS86/eNtgFfSe3EKV\r\n9zhKj806wDQP8xzpRTwAfhTROEMTwkp1Yjk=\r\n=A0ZN\r\n-----END PGP SIGNATURE-----\r\n","size":2370,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-6.1.0.tgz"},"main":"lib/merge-destructuring-properties.js","type":"commonjs","engines":{"node":">=14"},"gitHead":"a7aa6e781642fe0d6c3a25a95656c36ded07bff8","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":"16.14.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^4.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","eslint-plugin-putout":"^13.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.1.0_1645183863977_0.40519175672305674","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":1645183864119,"_cnpm_publish_time":1645183864119,"dist-tags":{"latest":"12.3.1"}}