{"name":"@putout/plugin-convert-apply-to-spread","version":"4.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert 'apply' to 'spread'","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-apply-to-spread#readme","main":"lib/convert-apply-to-spread.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","convert","apply","spread"],"devDependencies":{"@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^17.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"a0836cc8cb2953ad23b8c63fc2148e9dfce7be09","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-apply-to-spread@4.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-AHjlnPoEuYza/m5fOU/wRdSpsTggT2bI1Vo4g5A7NL/WXkA4IhRbbtw+uI4il8EOpzcZUmMOve/+O0kRfc6VXA==","shasum":"f11899d0098eb9a6db240662a709d043967545ef","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-apply-to-spread/download/@putout/plugin-convert-apply-to-spread-4.0.0.tgz","fileCount":4,"unpackedSize":3613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhn+VN87A8LIef9HUIFNzHW61QgI59NnxJuI6zhpCkTgIhAJndVUiVMDRhS7I19h+5lTe+1QEGkGdbx/nYEvcg3zRL"}],"size":1868,"noattachment":false,"key":"/@putout/plugin-convert-apply-to-spread/-/@putout/plugin-convert-apply-to-spread-4.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-convert-apply-to-spread_4.0.0_1685805464556_0.13200090332246095"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-convert-apply-to-spread [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-apply-to-spread.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-apply-to-spread \"npm\"\n\n> Spread syntax (`...`) allows an array expression to be expanded in places where zero or more arguments are expected.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert `apply` to `spread`.\n\n## Install\n\n```\nnpm i @putout/plugin-convert-apply-to-spread -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-apply-to-spread\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconsole.apply(null, arguments);\n```\n\n## ✅ Example of correct code\n\n```js\nconsole.log(...arguments);\n```\n\n## License\n\nMIT\n","publish_time":1685805464910,"_cnpm_publish_time":1685805464910,"dist-tags":{"latest":"4.0.1"}}