{"_id":"@putout/plugin-split-call-with-destructuring","_rev":"3-8bbf5d31b32af6e6e66875a109d0ab1e","name":"@putout/plugin-split-call-with-destructuring","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"@putout/plugin-split-call-with-destructuring","version":"1.0.0","keywords":["putout","putout-plugin","plugin","split","call","destructuring"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-split-call-with-destructuring@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-split-call-with-destructuring#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"29fdae0af120b0b2cdd13cefbb996b5ba4abf3dc","tarball":"https://registry.npmjs.org/@putout/plugin-split-call-with-destructuring/-/plugin-split-call-with-destructuring-1.0.0.tgz","fileCount":4,"integrity":"sha512-lsdUvM4loepUFiHBNWB3FPYNEkoTxcBvnbZQVNMZ1Pnv5pXMe76/upHe1TVhqsVm/2+FR9KW3mEQbFPy2zhKkA==","signatures":[{"sig":"MEUCIC76JaBdIDnQFBlg/5X3tLw+9iQ0amJcIA8MZHLUIngEAiEAhMqG49pYKFW8qOjSrJ2XZcEHTJGoiVTXXaciXTwb57M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4181},"main":"lib/split-call-with-destructuring.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"84f3fb9a6cb6707a6ffd70d25b449aa7895f2c22","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+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.1.0","description":"🐊Putout plugin adds ability to find and  'split-call-with-destructuring' statement","directories":{},"_nodeVersion":"22.14.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^10.0.0","nodemon":"^3.0.1","@putout/test":"^12.0.0","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^2.0.0","eslint-plugin-putout":"^25.0.1"},"peerDependencies":{"putout":">=38"},"_npmOperationalInternal":{"tmp":"tmp/plugin-split-call-with-destructuring_1.0.0_1740942729125_0.6547527661860606","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@putout/plugin-split-call-with-destructuring","version":"2.0.0","keywords":["putout","putout-plugin","plugin","split","call","destructuring"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-split-call-with-destructuring@2.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-split-call-with-destructuring#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"0f261d36d03574773ff1641462654a7aae7b243f","tarball":"https://registry.npmjs.org/@putout/plugin-split-call-with-destructuring/-/plugin-split-call-with-destructuring-2.0.0.tgz","fileCount":4,"integrity":"sha512-N3Q622iK/u5Fj1AZYWhOSlPyNHB2qV699Y/bxfL6g4jI57JqVjeoKMkDRN3mXzQTtiGjZHqpsWOrQG1717srnw==","signatures":[{"sig":"MEQCIFhVkTcHJPQpnNpebkeBLA4e8YA9XLypyJeZnBV8rc66AiA/yiRdf79TRxjbaWwgE4jDt1Ou0ZF5WnimUkxVQZMc7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4156},"main":"lib/split-call-with-destructuring.js","type":"module","engines":{"node":">=20"},"gitHead":"902fa6e56908fad3a6120f8165740c245200946d","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+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.1.0","description":"🐊Putout plugin adds ability to find and  'split-call-with-destructuring' statement","directories":{},"_nodeVersion":"22.15.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^11.0.0","nodemon":"^3.0.1","@putout/test":"^13.0.0","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^3.0.0","eslint-plugin-putout":"^26.0.0"},"peerDependencies":{"putout":">=40"},"_npmOperationalInternal":{"tmp":"tmp/plugin-split-call-with-destructuring_2.0.0_1746009564129_0.6732566620131801","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@putout/plugin-split-call-with-destructuring","version":"2.0.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and  'split-call-with-destructuring' statement","homepage":"https://github.com/coderaiser/putout/tree/v40.15.1/packages/plugin-split-call-with-destructuring#readme","main":"lib/split-call-with-destructuring.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","split","call","destructuring"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^26.0.0","madrun":"^11.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-split-call-with-destructuring@2.0.1","gitHead":"2f6133764c3b7cb020b72a63166efece1f584727","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-cx7AruBcQcOl9bqlU9xZDh0U/kU19wmeGFQ3XJ5l9IGlUwYCDaziFoILOOmx++sTGG0KIKVoq5k/MD06//DYIg==","shasum":"137e6d69957eabea6b064c8bacafb07348a890cb","tarball":"https://registry.npmjs.org/@putout/plugin-split-call-with-destructuring/-/plugin-split-call-with-destructuring-2.0.1.tgz","fileCount":4,"unpackedSize":4265,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFojxNG9jfXzIaCXqM9vYLui0zDRg7tIY8GssHGt3SC7AiEA700z+qkAWQpGFrSkl7fqm493VPgbyOKXnXQX8hP1DT0="}]},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-split-call-with-destructuring_2.0.1_1764407137029_0.9464910463996032"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-02T19:12:09.022Z","modified":"2025-11-29T09:05:37.433Z","1.0.0":"2025-03-02T19:12:09.361Z","2.0.0":"2025-04-30T10:39:24.308Z","2.0.1":"2025-11-29T09:05:37.225Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/v40.15.1/packages/plugin-split-call-with-destructuring#readme","keywords":["putout","putout-plugin","plugin","split","call","destructuring"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"description":"🐊Putout plugin adds ability to find and  'split-call-with-destructuring' statement","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"readme":"# @putout/plugin-split-call-with-destructuring [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-split-call-with-destructuring.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-split-call-with-destructuring \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to split `call` with `destructuring`. Merged with [`@putout/plugin-destructuring`](https://www.npmjs.com/package/@putout/plugin-destructuring).\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/4da111f11ed1448d7e1707a61439faff/b9a8a2041c6171cd7af5621dce7f902cc8c2ae18).\n\n## Install\n\n```\nnpm i @putout/plugin-split-call-with-destructuring\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"split-call-with-destructuring\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconsole.log('hello')({uid} = path.scope);\nconsole.log('hello')[uid] = path.scope;\n```\n\n## ✅ Example of correct code\n\n```js\nconsole.log('hello');\n({uid} = path.scope);\n\nconsole.log('hello');\n[uid] = path.scope;\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}