{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.0.2","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.2","_nodeVersion":"11.10.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-DUXEXH8Kg0cbm7Z2upskLO/9Bvg5SnJrlJINQhrIR/HSLtnthlCXTby1fWsjjpUccD2a+CR0kwMiHKETNZJ+5g==","shasum":"e1a93b072415ad55eabcd477c1ff17d9a950b0f5","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.0.2.tgz","fileCount":4,"unpackedSize":4421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgBJ1CRA9TVsSAnZWagAA6tgP/iyJE7iXIfhy/HNFq1Sg\nv0KkpQyUi1VFsnonq6aRZCvsu4ZyT+uZKCrpS/My943Tx8IbEbvtl9ouv1rv\ngIc1FNF3kGA+9egqQqU8zG2vxKcgIUFrSP4fveJ3ncrlKUHqYrVrlfH3RTYN\nCIedMrrojAu7rIsb4JzoitDsl1HYLGinP5XDGiiOvTOxM9tFotME0C9zvsRw\n/cFnY+Bv1IgfLvIcOhrb463/FrfkJ+iUpJw8h17yxIjx7lY7l900qiGbRnnC\nXZKhiZlByyjJHYe7memw1qf00wYPvq+HzWSRapj9hEX3qL18jv4rHj8JwDOK\nJhLJRw9vyPnrNy7E7Ttli0QAo+DGxXlNW5HY69eH82IOHI5TGQdm2sTraMP5\nlt08TzJqPDYBEILXAR+YVtWFHscV0atez2ThFnfVbs7tRuxAMoFwfzEbjyU4\ndjB67IXBtLEVA+sGJc4Km1BuS+M7ElD9oqURYekuUL2e8yJp3khQZIe1VL9E\n36/vrsptAsWqLg9q1OP2Z8r/wVqiMwheRU5Whl1Dv/BDDmPcJ585s+8ozNPs\nSFYT5IqOpgbuOsoA06wsZ0KIyMaQfD9pvvy55eeZzyTzn/HVYnLu1RBz3sNl\ndUIm1nyjqD8EX0YyHSgJFX4lRm3Knx5F7bXlMeL2U5shtQEgFenyu4V33FlA\ntb4G\r\n=rKxn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkaGlnO2XEQV6llBH0unZfPsipTrLhFLHJS7dFdktR7QIhAN0gAuQoS4+1CdWpYi2MXmiZtw0hzWSFh7nFHfouh4QL"}],"size":2031,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.0.2.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.2_1551897204543_0.9824448662272554"},"_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":1551897204838,"_cnpm_publish_time":1551897204838,"dist-tags":{"latest":"4.0.1"}}