{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.0.1","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":"^13.0.1","putout":"^4.3.2","supertape":"^1.0.3"},"peerDependencies":{"putout":">=4.3.2"},"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.0.1","_nodeVersion":"11.10.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-nft4z+eZVokE7cpL0NXut/lUV6o7D3IoT+AbRtotLm+MtS+zkMetH8ZHfXec0r6jrhWoAHV6/j0hUqdGsO/CDw==","shasum":"c6bd8df6490a1e80c4bf60b06277891ba7776156","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.0.1.tgz","fileCount":4,"unpackedSize":4412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceAZWCRA9TVsSAnZWagAAR0sP/AkftWUnDi4L7at+oac6\nwZCu80SnYCZQjAdLnI33BjD9pid+UQzlQHWxm/BpvqQ9kmA7r2FeTZu4Edug\nzlSGloVfh4b8FY2Ddqu8a3qwSQ4Qy4ZoL7hPSvD5kZKFXzgcyEDxrHyrJCqa\nqgC7tSCtJlWA1ZrMMzmrOx3lPzISRzRTHZ7D4u/69tjg/12Rw2/Ngx6dKYTl\nyq3zuoQPlChdd1ProZCi891LwaMRH7BO0Javn47ACeq4XHHCO2prmTb82woP\nRoGM5NCyKopTjyoli5Ur8vFTdA5+o+h4VOkv2P90vVpUtbpRLEzeUAApTdrH\n7RlYhK22HoofTHzfifcR211kA8c3hUCnJLdwsrx0kb5nYHUHPMQiui+S0tV0\nzdwLTD755B3zysyxrVnh8eDjQSmwgxtSh+8aq4Ns3Md23hlmNk6G3TeGbnvz\nGbVWhl5qHxXxnM++U1vNDKUkA6GL+pw5cGQu+/SlrLNQGbPvPimNFyufO5vP\nSW/96DR2gf6AVK89rX5erUy1xpoLW63YVZ1HqbPM2azRCbiqME/NMOntFXFg\n4jHXct/mwUH2mFpoSzH+/ticZfiCEQCgNhlyDijqi2lRHOJcMuDmvCNNRpQI\nrUi151ClEDQe2wG1efwG0Y2NVxcN5ka2CLstE7xfpl+1vAyXmaa1Dp2oTVvQ\ngC+l\r\n=dbk3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9kVGyS1tIofgIYAScs2t8z01T+pk/IwgdLdE3ycrILgIhAPH0QoKuTeTWIgdH1MBxx5W11w/sNp+2HC4K3N/qgyey"}],"size":2025,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.0.1.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.0.1_1551369813953_0.314407912853806"},"_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":1551369814134,"_cnpm_publish_time":1551369814134,"dist-tags":{"latest":"4.0.1"}}