{"_id":"roundround","_rev":"1635377","name":"roundround","description":"A dead simple round-robin array iterator","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"time":{"modified":"2026-10-23T09:48:11.000Z","created":"2013-12-19T11:46:06.495Z","0.2.0":"2014-01-30T04:45:31.272Z","0.1.0":"2013-12-19T11:46:06.495Z"},"users":{},"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"repository":{"type":"git","url":"git://github.com/watson/roundround.git"},"versions":{"0.2.0":{"name":"roundround","version":"0.2.0","description":"A dead simple round-robin array iterator","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/watson/roundround.git"},"keywords":["array","roundrobin","iterate","iterator"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","bugs":{"url":"https://github.com/watson/roundround/issues"},"homepage":"https://github.com/watson/roundround","_id":"roundround@0.2.0","dist":{"shasum":"ea0e5659d31f0b266bf03d0c040aa51d9da68f79","tarball":"http://registry-npm.ywwl.com/roundround/download/roundround-0.2.0.tgz","integrity":"sha512-6YZ3qbUMtQxczM/i94EnBvyP6EXHTCfagmZAGsyzlnLEXPwGhs+lBvdPKLwNc7Htc8wFMVw0UxNtEFMq4YdqjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnuknET1tk3iA3VvUCrIjS/kUeRj5PvOOUI4UZ6hxgWAiEAu4V3NMfkMPyT+YQ0ZXhptT+FFcvkh0ms672Aee+IFLU="}],"size":2065,"noattachment":false,"key":"/roundround/-/roundround-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"publish_time":1391057131272,"_cnpm_publish_time":1391057131272},"0.1.0":{"name":"roundround","version":"0.1.0","description":"A dead simple round-robin array iterator","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/watson/roundround.git"},"keywords":["array","roundrobin","iterate","iterator"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk"},"license":"MIT","bugs":{"url":"https://github.com/watson/roundround/issues"},"homepage":"https://github.com/watson/roundround","_id":"roundround@0.1.0","dist":{"shasum":"5f2bce34ebe1a23136ca690fe5d4388f668a3bf4","tarball":"http://registry-npm.ywwl.com/roundround/download/roundround-0.1.0.tgz","integrity":"sha512-bx9IKoSlmAu4PqTA+UFk6iK5wn0Q3GZpDrPfZoOTMpbC1Xh2gLf5vx/5JO0Ucs3s+XBESDPLOzuskz8wjFab9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDenBqGJj28P2NOO53epnfLIuI5BeAHnbFVoA9lUvwXlAiEA5aJ8c9Ui3NW+0zCZHjIg4FjQB+djsp4OM4nO6vjcOTg="}],"size":1906,"noattachment":false,"key":"/roundround/-/roundround-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":"w@tson.dk"}],"publish_time":1387453566495,"_cnpm_publish_time":1387453566495}},"readme":"# RoundRound\n\nA dead simple round-robin array iterator\n\n[![build\nstatus](https://secure.travis-ci.org/watson/roundround.png)](http://travis-ci.org/watson/roundround)\n\n## Install\n\n```\nnpm install roundround\n```\n\n## Usage\n\n```javascript\nvar roundround = require('roundround');\n\n// Initialize RoundRound with any Array (null or undefined are ok as well, so no\n// guards necessary)\nvar rr = roundround([1,2,3]);\n\n// Then call the result to get the next element in the array\nrr(); // => 1\nrr(); // => 2\nrr(); // => 3\n\n// When reaching the end of the internal array, the iterator starts over from\n// the beginning\nrr(); // => 1\n\n// You can also specify an index from where RoundRound should start\nvar rr = roundround([1,2,3], 1);\nrr(); // => 2\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/watson/roundround","bugs":{"url":"https://github.com/watson/roundround/issues"},"license":"MIT"}