{"name":"@putout/plugin-merge-destructuring-properties","version":"5.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@5.1.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":"da21ee558b3cf6099f53a129b4562d0af99ea86c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-merge-destructuring-properties/download/@putout/plugin-merge-destructuring-properties-5.1.0.tgz","fileCount":4,"integrity":"sha512-CbynKTjmD+bmKiXxsIZy2RP/Q+7NJdKrUdVGq/Bsv5l1kCOp/zVnzoJPuqBLwWb6pCwD6nrbG6hmRCtQGfD4Hg==","signatures":[{"sig":"MEQCIChZ1QCMeKNagehSzYM4oqveStcEnnXoaXaoBqMQ79MJAiBmNPOimGtmqNBQIZgpO3oYTko7pJ9MPyE+bfJm3R21jg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM4ZMCRA9TVsSAnZWagAA7rUP/jS1duPxE2QpKKDCngv6\nTTLs79OYKGVH+CcYQTtERteQEDamjs7TY+HAPiJss1pmHVF/OHcXKud8QHfX\nixiKav5ceofbKg4EZ5gMyXr0up6tsKh+gYIHlGbZTSBG2f/FedYQ+S3nyrcf\nI3XFcQeeDKF8NGChelmgzglES8HMBOH/yCvIrA09aBANHwEgAT8iIg4nFoJO\nPAol5d3mk76PtNcL1iwvWXyW9kvovNukOlqOfl6JPwVHsprEFL2Olyi/sLJf\ngrW6ayi2x/ttXrZryNQvdAugz08IFPEVr++BUBPRFQ2R5v5m5DnJCiYWSnc3\nlxoYnt4XTQGVVVBq8YsxTYa/6uJPJQGUP2pG3qP8JllYqurlOeTBwnqU+nM3\nTNykUdEgdYu/R6bye1nX9qAqoXsALfWKWlLtFZQKO6AwvxvOeOex+YmHWbsL\nY6f0xPS49H86G7+BHfUapRXCKQWrfUP/xuB2pEl4hOaK1PicAdtXmq/BAx2X\n/Ac61bDtvzGNJBqlysQDl5qHDxeswIKaZ7jcYiqgwBbAcQoosiNH3FLEJmfq\nd7m/lJw4tc26/57jgdOhnPVmXY1KoYksHnHb8iOfOBsM//j2sdEQdcS3M2fn\nwK0Nubj4+D1qe90CJPXYJjLiEtaFeH866JQE3H16VoRNeQhGGR8oSXSdSXFe\n1uda\r\n=ruBk\r\n-----END PGP SIGNATURE-----\r\n","size":2334,"noattachment":false,"key":"/@putout/plugin-merge-destructuring-properties/-/@putout/plugin-merge-destructuring-properties-5.1.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.5.3","description":"putout plugin adds ability to merge destructuring properties","directories":{},"_nodeVersion":"15.9.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","lerna":"^3.8.5","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.1.0_1613989452278_0.12008476185791084","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":1613989452385,"_cnpm_publish_time":1613989452385,"dist-tags":{"latest":"12.3.1"}}