{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.1.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","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","convert","arguments","rest"],"devDependencies":{"@putout/eslint-config":"^1.0.2","@putout/test":"^1.3.0","coveralls":"^3.0.0","eslint":"^5.6.0","eslint-plugin-node":"^8.0.1","eslint-plugin-putout":"^1.3.1","madrun":"^2.0.0","nyc":"^14.0.0","putout":"^4.3.2","supertape":"^1.0.3"},"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.1.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zbukD710SCQh+0+llg+SM2MsRzVLhZkPfl9T9/braaYsiyYtJCgGyN1h64XyTTGmckYINMkWxdLBJs7CJUF44g==","shasum":"8777668755e8868b43b6e13e55cc2aff7e3cc791","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.1.0.tgz","fileCount":4,"unpackedSize":4401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCh9/CRA9TVsSAnZWagAAUDQP/3vPNHtoyyvCqQDyTeRT\nPFcMqCmWh3s5Ope1/iFnHkW7+SQ0QBDo61b+KDbeQCqULQ9a5bdljE/PpH64\nPyClCFmniKMGMrTBhIPd855GPB61EAxlRh0fBbs7YZLNPW4bCrmanZiH+8w3\nkapUHV2PXASM/t3QrYs+txwV1uQ+kuN9KBDkXBRfYrwuCYVkamEJ1v3m3S31\n2dFHCuHj8YU8kKZzd8hWM86iJW3Qab5nzHuoB7pN0GjWm6z9foQ1nijqTJln\nkAM1UBI6HWQgo36bGDo5kWxAF6vvXuktg7xXWO5z6OQqKhaLKNxuE4s+xO6/\nbu7QL8yR09atraas18/8C0mMWDEaXTpQrJhoNAs0q5b7E4iLFTjvo8+6SYUX\nNrCAc8MlS+XYTTFxOjKnEdc8f8U85QZtEJpScAZPrBe7QXFhacNeAGv8mzqS\n8e2Bg/6Z0vD6bKXgeyxor73OcPlFA3mpAcBIiAqHBEJ9g978tEz+G0ru1qiM\n7haE5evOUfOIjR5edlfpKIWnZgsJdBFUhI3+p8eSMjAbEqCemTuUbSSeSTK+\nPMUpiVt2AH359WkozIGKk9lcigZsmFf/LzlXjK0zYXURFKR2jH/Kp63ucRHH\n2uemflU1n5ETYYBGqkezYPvyqdmTwN+MsWPepHS/fWr09Dz6lU8FAm2biZnd\nHLjI\r\n=Xu0S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXBG+TtBGqClDyzGyb9nuGAlMav4yX/gOjD94+bDYGtgIgXNZKEfKoHODCHm3r7xxlWtPnDMpg4TOLFN8T+HvBANQ="}],"size":2025,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.1.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-convert-arguments-to-rest_1.1.0_1560944511197_0.8223271592041441"},"_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":1560944511297,"_cnpm_publish_time":1560944511297,"dist-tags":{"latest":"4.0.1"}}