{"name":"@putout/plugin-merge-destructuring-properties","version":"5.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@5.2.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":"35883189dafe690f30695519556973270f50f85e","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-5.2.0.tgz","fileCount":4,"integrity":"sha512-i07qSkJQ4e9ultyyFr58BUdS0Q50lrC5Q3GaAZzd33Ekkl3ZoJHF+VYwG2j9Bd7J99RhAaeItUNJkwl+8dhevQ==","signatures":[{"sig":"MEQCIAWfKl4x+jatywvJwAcyFKn57iecCISoB6m5bafoQt7oAiAqWNky+Qsqh2qBWOOv/XvHn7ZdQ4sdO10RKD4JDHJUqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfgUCCRA9TVsSAnZWagAAVlEP/29hKxGA3ySbqSf7Xi10\n8Fi3qjuQJfP89KKb7WEQRLrMADfQM7BFP6yuLLNAP+rJ0UB6hYGT+9TJyphS\nimICJhUBhE0Wzpz9odLzdmHn6CLwa2XYE3vVVEUX0Jnd2N75bA9ODUAfR5nX\nlPSWKK/4t+R7MKL7eR0e5mUsR5f095ZrDeYIYgR/xE9D2hQJqp5BM61DT6yK\nbFMt8QruGn9pAV0R6jubGEmuMdwOFKt6ndojOEBJ75jlqskUR3r3NnEPsw3X\n4sz/nWIFA41VpUv5dIhayANHQ/kEc9F9bEDjJ0XdqvM5jLYeaqXgbRLo1BTc\nTZJgmGQh+4J1bunWAcVRDlFKnRnEKEO4Yx3E2OO1ibZHTUTILDBO0QijTqmJ\na0RISHlU+o6PoAWrP4oPaGFlzbk2YS2KTFKAefhDrYWhT4EB5qbiqwEaSN88\ntMWERV1XyiDPHJPv9Bzc1dsX9YExUO9CkYMm4F3C160+H0/rDWKYdTsP3DF6\n5Q+I9IoUjTNBt74eu8dpZGm2pYSZnYCx31S9qNqP7bUDrMw6r5j6A6v14POX\nataP0MysG7L4nCVOasCz8VBl6a38NBVSOc3heE7I+vRAewdReRxFKHpeHYjk\nSKjyioSdiuoLPRftJU4ofTRvT4YvhZwSsY15ote6wKKQTWSld2ECOY1Ya1bI\nctk7\r\n=NnRp\r\n-----END PGP SIGNATURE-----\r\n","size":2344,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-5.2.0.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.7.6","description":"putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"15.14.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^4.0.0","eslint":"^7.0.0","madrun":"^8.0.1","nodemon":"^2.0.1","@putout/test":"^3.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.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.0_1618871554392_0.8495671833318332","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":1618871554518,"_cnpm_publish_time":1618871554518,"dist-tags":{"latest":"12.3.1"}}