{"_id":"flat-arguments","_rev":"1745852","name":"flat-arguments","description":"Flatten a function's argument. Like, really flatten","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"time":{"modified":"2026-11-19T14:38:47.000Z","created":"2014-03-10T17:16:50.169Z","1.0.2":"2015-02-25T16:32:39.606Z","1.0.1":"2014-10-15T19:23:26.310Z","1.0.0":"2014-10-09T21:43:27.923Z","0.3.0":"2014-03-10T21:20:53.804Z","0.2.0":"2014-03-10T21:07:57.241Z","0.1.0":"2014-03-10T17:16:50.169Z"},"users":{},"author":{"name":"Scott Corgan"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"versions":{"1.0.2":{"name":"flat-arguments","version":"1.0.2","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"array-flatten":"^1.0.0","as-array":"^1.0.0","lodash.isarguments":"^3.0.0","lodash.isobject":"^3.0.0"},"gitHead":"36170856f24290a7bbbfdf8032e0e07d151c2fb1","_id":"flat-arguments@1.0.2","_shasum":"9baa780adf0501f282d726c9c6a038dba44ea76f","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"9baa780adf0501f282d726c9c6a038dba44ea76f","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-1.0.2.tgz","integrity":"sha512-ZIkB09bqQdKP9buPOiZcS/4HK3q992C5q62qAE72d0xWAXfaSbP840BZYUBgHRkzdx6jYRIpKT4ur+Nay/JRlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5wjoiB9XWw1pmLCsZhdoK3eOrrIP0qWKvCltVuXpVXAiEAnXH8VD20I8Q/Q94rpZIoaqN7XWAYI56WfDfFahMwsP4="}],"size":1330,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-1.0.2.tgz"},"publish_time":1424881959606,"_cnpm_publish_time":1424881959606},"1.0.1":{"name":"flat-arguments","version":"1.0.1","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"array-flatten":"^1.0.0","as-array":"^1.0.0","lodash.isarguments":"^2.4.1","lodash.isobject":"^2.4.1"},"gitHead":"d11eb613430684ac4c60a69f8a3d63a065c9d90d","_id":"flat-arguments@1.0.1","_shasum":"d12b3fe1a46b5af06123f0dd8375487e427f2d8e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"d12b3fe1a46b5af06123f0dd8375487e427f2d8e","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-1.0.1.tgz","integrity":"sha512-t7hJyWdzxKnGsMi7DdC+hdVQZzkUf/9AR9WIVvrallZFA5l7pPoeed1/UlZdX4Mg7SILVizlyO1tM8F6b22Dpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuBKeP6WzSEsLtvcg06LZRULq4cHxTvPof4Lh5eHEpjwIgJhS6HjGUwjYFzLNPy91rM5KamBWXmtKegKUrNJrcLfo="}],"size":1326,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-1.0.1.tgz"},"publish_time":1413401006310,"_cnpm_publish_time":1413401006310},"1.0.0":{"name":"flat-arguments","version":"1.0.0","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"as-array":"^1.0.0","flatten":"0.0.1","lodash.isarguments":"^2.4.1","lodash.isobject":"^2.4.1"},"gitHead":"44a7923a856228c7c10915058b8cace3eadb75ea","_id":"flat-arguments@1.0.0","_shasum":"58de8e341c8b5386c535e0c56995397e2b6b4d1f","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"58de8e341c8b5386c535e0c56995397e2b6b4d1f","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-1.0.0.tgz","integrity":"sha512-fe0ID7JN57KQ5nUOgNLd50SqX+AfXuS3FEDjSvcdyXRzm3XScKfuquK531cNtnHyajszXasFF32y4alfV6Q68A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/Nr3KQfbDkulzVApNGxmoKtNO8B6c5P1P4Zf3UtF/qAiEA/yKd5thb2SBH0wKRJ+t/xMR8RlLUnoztMl8njiBGb+o="}],"size":1317,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-1.0.0.tgz"},"publish_time":1412891007923,"_cnpm_publish_time":1412891007923},"0.3.0":{"name":"flat-arguments","version":"0.3.0","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"as-array":"0.1.x","flatten":"0.0.1","lodash.isarguments":"2.4.x","lodash.isobject":"^2.4.1"},"_id":"flat-arguments@0.3.0","dist":{"shasum":"924a78dac71f0b7dd324915108bb57c7be17f7a3","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-0.3.0.tgz","integrity":"sha512-Y+rHkdMU+HucJP9jpk0HqfTM5grziAkTY2x+tNhGEAj7in9/xr+cgh7OTEeuubjmgpjdVIu2jddeG9ChCLUVlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArd8ez7e+14dipEjH8ytLqpL+W4wA0ioGA6uhoGwS3QAiAVOeqxXK1Qp6wPdWJNjr9DkewgSeoYtO78KZfSL9/ulw=="}],"size":1317,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-0.3.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"publish_time":1394486453804,"_cnpm_publish_time":1394486453804},"0.2.0":{"name":"flat-arguments","version":"0.2.0","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"as-array":"0.1.x","flatten":"0.0.1","lodash.isarguments":"2.4.x"},"_id":"flat-arguments@0.2.0","dist":{"shasum":"0daf3864161fcd12c4e98ed2bc1a8d23a5d1d6b4","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-0.2.0.tgz","integrity":"sha512-FxHVao1aq4YxjQdRriyibZfY4r/OSONwnxQLm2/WTY/gH7JbbDne2d70JaSHC8v0wIsOLcnTa52Y8WYInagC7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1JZAlSaM6ujczXpsIp34sVwyz99Bw15sXh405DMDrPAiEApqwv1iPikjiL/0QXhzX5xPPGECQSy8SHhVf2NTIMR1w="}],"size":1252,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"publish_time":1394485677241,"_cnpm_publish_time":1394485677241},"0.1.0":{"name":"flat-arguments","version":"0.1.0","description":"Flatten a function's argument. Like, really flatten","main":"index.js","scripts":{"test":"lab test/"},"repository":{"type":"git","url":"https://github.com/scottcorgan/flat-arguments.git"},"keywords":["flat","flatten","arguments","function"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"homepage":"https://github.com/scottcorgan/flat-arguments","devDependencies":{"lab":"1.8.x"},"dependencies":{"as-array":"0.1.x","flatten":"0.0.1","is-args":"0.0.1"},"_id":"flat-arguments@0.1.0","dist":{"shasum":"def385ac95d2c242da388acdc339a8068efc18f2","tarball":"http://registry-npm.ywwl.com/flat-arguments/download/flat-arguments-0.1.0.tgz","integrity":"sha512-43OL2OW+50t3XX6wG5OgaXqm3Ekd5MHxUewgRG2frJUD7vf8OkOXdt/JGFcqgPYYmwNbKbuW0NUVtAvSpTNOTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCV8OOIwZjth6lDhgm59Ge3yYBhMZqKALYAggeJQjn0twIgfYhE5QN7Zw8USMRjqNgP2CnA+4Di++293kcg8bL+unY="}],"size":1203,"noattachment":false,"key":"/flat-arguments/-/flat-arguments-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"publish_time":1394471810169,"_cnpm_publish_time":1394471810169}},"readme":"# flat-arguments\n\nFlatten a function's argument. Like, really flatten.\n\n## Install\n\n```\nnpm install flat-arguments --save\n```\n\n## Usage\n\nNormal arguments\n\n```js\nvar flatten = require('flat-arguments');\n\nfunction letsDoThis () {\n  var args = flatten(arguments);\n  \n  // args = ['arg1', 'arg2']\n}\n\nletsDoThis('arg1', 'arg2')\n```\n\nNested arrays as arguments\n\n```js\nvar flatten = require('flat-arguments');\n\nfunction letsDoThis () {\n  var args = flatten(arguments);\n  \n  // args = ['arg1', 'arg2', 'arg3']\n}\n\nletsDoThis([['arg1', 'arg2'], 'arg3']);\n```\n\nCombination of arrays and other types\n\n```js\nvar flatten = require('flat-arguments');\n\nfunction letsDoThis () {\n  var args = flatten(arguments);\n  \n  // args = ['arg1', 'arg2', 'arg3']\n}\n\nletsDoThis(['arg1', 'arg2'], 'arg3');\n```\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```","_attachments":{},"homepage":"https://github.com/scottcorgan/flat-arguments","bugs":{"url":"https://github.com/scottcorgan/flat-arguments/issues"},"license":"MIT"}