{"name":"@putout/plugin-convert-arguments-to-rest","version":"1.2.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":"^6.2.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.0.0","madrun":"^5.0.0","nyc":"^14.0.0","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.2.0","_nodeVersion":"13.7.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-7iflDBpYKVshS3hGDnJiixoeEePmwIjd7cp3OEeB2WoU4agW6g90hywo8SrgUcy6RuOIdKmz+Z5aa2z+oReUqA==","shasum":"2079c81dd89355248f152eab8d9bc28f253d143c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-arguments-to-rest/download/@putout/plugin-convert-arguments-to-rest-1.2.0.tgz","fileCount":4,"unpackedSize":4559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKv9oCRA9TVsSAnZWagAALIsP/1+Jq8mnwzoCE+gXPTZo\n1ZlVyDe7I2CAN1d6AS7JKLxuBAZ4L7h0leBPuFPkjz5mTDXRGNBlPyaJZIKl\nD2TZ5NjGrSfddp8J0w0PvI3b166oerHd42T12a+X9vg62WElS7bNqoffDRsw\ng4BgWNHvKPbzsnkfqtm0LQg10SVsDY66W6b4B/Ww6If45B7SDic8yc8mWuEV\nRfhZxKwtU+6iMFKCGTz8S9Q6QmisZMLmw6U5GY5GcY1p6bwRG2iC4cdw2mid\nYFqmzq4ENgjrqbe4KV8xpuYIjscCvXRX41oeXJlUzZM5mPblkzN+0shh3nHd\njMjtcNlHLEKj1lqOm43mvYcgVpWKL64t6gnlebKbu+vIhVkXsnh+aEvZPO+X\nwefDPOOwWcpPG+/YE7DPp+k80RHuu1ObGTFDRQZ+UFHf4UKLHPlLypGGjiog\nPpS+6b4/D5bo8C+wb6SVTqaz4COVrZczduxRYmoGPPx4dxLG0j6tirzfSo1Y\nbiPMdvKcClqCe/XU2m5ngXFNPaKi8Ls6H9TEzsLR252tXFNw+QtVZCNCzveT\nCR2GgtYzsgjKvZejrIgR3ksTcObCy8cJhzBBhd/CRzZiA/NkkcrEquZq08+/\nL8qvQO9UKS+hK1crJ8MSssvHiIMutvuB+hUPqIi7eXasS7b2Tf+hDh6LMyQv\n8esg\r\n=Aets\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCru71kGFubQT/WDBoaHSwrMnFHBee7YsNTeKbDhOpzAiEA/8hZRjCls0ed1ZQWLQOtnnBDs5MKDzaJ7qsGF2nVJyg="}],"size":2033,"noattachment":false,"key":"/@putout/plugin-convert-arguments-to-rest/-/@putout/plugin-convert-arguments-to-rest-1.2.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.2.0_1579876199564_0.9829692710387778"},"_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":1579876199722,"_cnpm_publish_time":1579876199722,"dist-tags":{"latest":"4.0.1"}}