{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.0.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":"^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.0","_nodeVersion":"11.10.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-UVLIJ+WCpTkC3YNRl92vvMIVGeVyCiDQDMZTzmX8FDf/RtdSBp9fx8eLjbYwTbr2twipRk05f0rGw2bgpw82Sw==","shasum":"7f297f367a7a4b4ada803d7e0e31d7fd52b5906e","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.0.0.tgz","fileCount":4,"unpackedSize":4553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceAXuCRA9TVsSAnZWagAAgfMP/3auHcXEPynmlCbMVCip\n4Vg40Buytng3zJiU1IFlcMdf11KBexvZVrLpm4RYHrve4E2OBpA/EpiZGD21\nxRe3yAhHr2gjjCiCNf3TJIcbaQg5/o5IFcxSm9yt3oJ96z0p8qu/Zp7obslV\nb+Uf1hsmvNxOocb0fJyTgDncwQwBNdvdeoiNbqo5Z5dCeqaoNOhcYLJfzr/p\nIZNeKQQ7emDie1xwHar7vW6O7LGLqeguBg+Ga0jtLl31XNFxcdJ4YJLEFZf4\nKjR8d1jx4jraPr92d8PmzVvZDoJ/vcOEVnN3iO5VAmyVlORpUxdq/oq37MMe\nZxbf/cyVvKxcCEONbH33dK2VmKKG1eya2QgRPh1cEZRePlsHhoUIAGJgJ21x\nSY0UTpTwynF7I0xJnz3WycToVZWYTRWMq1erLCFIUxHNsEenFPBWYRodKdfB\nBEkbx7VK/ikVfAP3L0nLVQSoxRI0Pd9v7wKyWUSNRbMdseTxmf5OuDxxtnid\njaEMVLcgZJnIrL3uBRilWD5Vsd+Sm9ge2xMhJpYSKaK/N+V7XiyiRqpphG2G\nJ6wgNGeO4iev4HFDwu4Nc409hhFzWG8s8/Wd1s9RHwNbtmI5FokWWyL+69xK\nLgO7B5l0iQHYP/KhlJIOcaFaWOicBkhgi5fMeJ5+L0viRqFrtYzte6kaAAFY\nnB0u\r\n=9IQM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpkrmXYfFtImwXIQwlpddh9FQtdNEpEVda4JYG6/60GAiBQy1jInd2X4g1/KlNIOzYaX4Hpgjs2IZ4ReVOtj0R5tw=="}],"size":2069,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.0.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.0.0_1551369709891_0.7940503807754609"},"_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":1551369709992,"_cnpm_publish_time":1551369709992,"dist-tags":{"latest":"4.0.1"}}