{"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"}],"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","publish_time":1387453566495,"_cnpm_publish_time":1387453566495,"dist-tags":{"latest":"0.2.0"}}