{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.3.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert arguments to rest","homepage":"http://github.com/coderaiser/putout","main":"lib/convert-arguments-to-rest.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","arguments","rest"],"devDependencies":{"@putout/eslint-config":"^1.0.2","@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=4.31"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-arguments-to-rest@1.3.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-vFAGp8emMSADIyzjDdg51a+Geiv8hNnRSrUjJB81d5ioQbURcJZ1GW7KgfZweDmApnL/MkvJ9o/N8f7c88cFkA==","shasum":"cad76f04362d82fb2ad99609c4717e38a3d002c2","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.3.0.tgz","fileCount":4,"unpackedSize":4481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn89tCRA9TVsSAnZWagAAJDcP/2bzfkZcCnjxuvbSjCAu\nfNgkRsD182QnNbULstKjt68S+m1u7A8/L8vyDm1OfE0MnfOOddXhZNZMOlqP\nXknKCDcGO7WaAScr9jxOYZkeGM1S+xpkuGNALq59V7h7Q9BA9QzS3e3WdBNk\nMUfEAOqODYM8KbwxWcXb/QlIn8I2I8hdO4ApBwS2Zu7Q7guLoil6ofYgzXzk\nwsVXGf0ZzBlMs1CgViScEYQdD36evtqDFbS1ax3MBcDeff7CeAkam8PzeIpo\nykMatkNEVYh9znNAqiziMIzD/nG0PzeRlE4ciSMxVD7p7ENxN98mbyRJPO0c\nt5wpfQSG2Sho92MjwzjHDfLuJ+CXGrurXT0htQiJKAaI1U61BpdZckY8++9v\nrakuaAsuAxrLotyYgm/nZOVPc9TodkM71/Liir9rrCGCLx7YXmCPblPe4WE+\nphFpaATzF/TEvlpwwus52sL/GWDx8NwsW96NtLPhUpQeiyQtolnmAz1c09R1\n88fLY4gR0Um0YLgmsNLXuvFKq0qFi7T52ZKKUqvB7kzh4bMDrijkvlKwhN5g\nz/OOiEy/zYTiyEj+Ui5UzPT+X9bENdtLhojA7Nikq7QJA8ynkTg5tvs2g/Xy\nMgf1Km/n7JgZe09ghbwmRMRlpjFjU9kl4NQtVVvgtRdZUVQXOZaf1LdbCvvS\nF8Br\r\n=/c8F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEa11gEeBOxuhoA447bIbYtpln3GHmcZV2+nIwinApnsAiAM0aFbqS4nRnX9RKCfQlVb/Vag0IHHyEWDolm4DMPJkQ=="}],"size":2034,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.3.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-arguments-to-rest_1.3.0_1621086061268_0.10870281133662285"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-convert-arguments-to-rest [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-arguments-to-rest.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-arguments-to-rest \"npm\"\n\n> The rest parameter syntax allows a function to accept an indefinite number of arguments as an `array`, providing a way to represent variadic functions in JavaScript.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert `arguments` to `rest`.\n\n## Install\n\n```\nnpm i @putout/plugin-convert-arguments-to-rest -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-arguments-to-rest\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfunction hello() {\n    console.log(arguments);\n}\n```\n\n## ✅ Example of correct code\n\n```js\nfunction hello(...args) {\n    console.log(args);\n}\n```\n\n## License\n\nMIT\n","publish_time":1621086061370,"_cnpm_publish_time":1621086061370,"dist-tags":{"latest":"4.0.1"}}