{"_id":"circular-at","_rev":"10-0349fa5306b02b9355edf7381ccc407e","name":"circular-at","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"circular-at","version":"1.0.0","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","main":"index.js","scripts":{"test":"tap test.js && standard ."},"keywords":["array","index","nth","circular","cyclic","negative","at"],"author":"","license":"MIT","devDependencies":{"standard":"^8.3.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"9f7879d7b95977841c3ee28fbc94e1ab97f77f48","_id":"circular-at@1.0.0","_shasum":"55061f26333debe400a54aa325dd418a0092fd3b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.5.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"55061f26333debe400a54aa325dd418a0092fd3b","tarball":"https://registry.npmjs.org/circular-at/-/circular-at-1.0.0.tgz","integrity":"sha512-iP8NndW2k+2qVJ+JgzFkLaZQcsAl6V9eBCFdLttYQFZtE/Slp9OcQeLWDN6Hz+gpCa/UbiG/Nb5/JQ81DprKow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMyTWwFDE7JgVzU6/ZurSd6IklTMtFtRcNhTbw0E8bjgIgLTpek3QqBdSOuhaLe/l3HCaEhakP5Xac82b2Xrc8ijA="}]},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/circular-at-1.0.0.tgz_1475594496601_0.27870544930920005"}},"1.0.1":{"name":"circular-at","version":"1.0.1","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","main":"index.js","scripts":{"test":"tap test.js && standard ."},"keywords":["array","index","nth","circular","cyclic","negative","at"],"author":"","license":"MIT","devDependencies":{"standard":"^8.3.0","tap":"^7.1.2"},"dependencies":{},"gitHead":"e651e1740d3e06e69ab8ea5316090ab80d9723c8","_id":"circular-at@1.0.1","_shasum":"9e1c18a00a33db4ca05d09c1af8a44b0ef94f389","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.5.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"9e1c18a00a33db4ca05d09c1af8a44b0ef94f389","tarball":"https://registry.npmjs.org/circular-at/-/circular-at-1.0.1.tgz","integrity":"sha512-3tz7V4NM6G/WhljmUEJATgWoy8geNpB6cZEMoz8HlXIPhBRLxAgyc3V26BXJKkm7qWCsQHSfGBfLK+2smiV0Yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk3zPSJrA7RAbZzRGzwz4MvsuLuCywLlNCMlyga/0JCgIhAJPsQWClNVySCqjOZVceEXmzptuAttHSM8e6/I1UaFku"}]},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/circular-at-1.0.1.tgz_1475594574858_0.9636104411911219"}},"1.0.2":{"name":"circular-at","version":"1.0.2","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","main":"index.js","scripts":{"test":"tap test.js && standard ."},"keywords":["array","index","nth","circular","cyclic","negative","at"],"author":"","license":"MIT","devDependencies":{"standard":"^8.3.0","tap":"^7.1.2"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/bjoerge/circular-at.git"},"bugs":{"url":"https://github.com/bjoerge/circular-at/issues"},"homepage":"https://github.com/bjoerge/circular-at#readme","gitHead":"e4762a441fabd7f71e1f9ef9d8d8623f6b0db018","_id":"circular-at@1.0.2","_shasum":"914a3aab7e0b4a68e518eae904951b6d29f1fe37","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"914a3aab7e0b4a68e518eae904951b6d29f1fe37","tarball":"https://registry.npmjs.org/circular-at/-/circular-at-1.0.2.tgz","integrity":"sha512-CV5Y/HD/PXsHqwVAw58XaGNL5u0UGViWKKRyWmoV3yNFFZ9vWJqYfn0TU0oXE6o77yAP1Lt0LnMn84/JA1laOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+z+5ADwEifk6mYp2AqD8PxpTHCGpGQEIDDsKRNGz7IQIhANIRquyOXYLEwsIWoRYY9YG+wcJdAD/vyefFZ4HnNkDm"}]},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/circular-at-1.0.2.tgz_1478011176927_0.6088992529548705"}},"1.0.3":{"name":"circular-at","version":"1.0.3","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","main":"index.js","scripts":{"test":"tap test.js && standard ."},"keywords":["array","index","nth","circular","cyclic","negative","at"],"author":"","license":"MIT","devDependencies":{"standard":"^8.3.0","tap":"^7.1.2"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/bjoerge/circular-at.git"},"bugs":{"url":"https://github.com/bjoerge/circular-at/issues"},"homepage":"https://github.com/bjoerge/circular-at#readme","runkitExampleFilename":"./example.js","gitHead":"fa5e41c6214f6c09af824f105aca20b224700bf8","_id":"circular-at@1.0.3","_shasum":"b7e4132a10dd2d9adf6877eba53f9c809920e639","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"shasum":"b7e4132a10dd2d9adf6877eba53f9c809920e639","tarball":"https://registry.npmjs.org/circular-at/-/circular-at-1.0.3.tgz","integrity":"sha512-91POu16kGXFuxP4Eza+kib0tQcB9w2aXzYbuM922gECkoWO4mGX/k1qSrlMABX48WkPIGl+VQDNrGSKkMBFS8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDoHTugAH+HVHxMwEjNC6lKb6Es6HnuvL7ApvwTbIX2AiEA68I+tcVhj+lbI+V0WGjNmJm8slc0N7wF8iVoNp1aGKI="}]},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/circular-at-1.0.3.tgz_1478024749601_0.6344893409404904"}},"1.0.4":{"name":"circular-at","version":"1.0.4","description":"Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.","main":"index.js","scripts":{"test":"tap test.js && standard ."},"keywords":["array","index","nth","circular","cyclic","negative","at"],"author":"","license":"MIT","devDependencies":{"standard":"^8.3.0","tap":"^7.1.2"},"dependencies":{},"repository":{"type":"git","url":"git+https://github.com/bjoerge/circular-at.git"},"bugs":{"url":"https://github.com/bjoerge/circular-at/issues"},"homepage":"https://github.com/bjoerge/circular-at#readme","runkitExampleFilename":"./example.js","gitHead":"0b3aa6112a115d7ed9ef51fa0db8c2b6f96e28c3","_id":"circular-at@1.0.4","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"bjoerge","email":"bjoerge@gmail.com"},"dist":{"integrity":"sha512-PnRibHyOdd1YqJd1Gf0KEcxzul5o8gDbH+6Jb5zMB810CWW8PCcH75uX71A/WifIFyl+ognT91cDA411vDlFfg==","shasum":"119eb900d6f0ef1917559b24fba25d9d5c13e8a0","tarball":"https://registry.npmjs.org/circular-at/-/circular-at-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfp9ZYJuoVNMQdiwvNVrGAS5N3Ds3iGjna50QmsqyYZAiBp6P3Gpls+OLGgQPlh2j7ym4OSxuo4r0wWzy/OUwRHWQ=="}]},"maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/circular-at-1.0.4.tgz_1496953718488_0.7794829867780209"}}},"readme":"# circular-at\n\nAccess array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.\n\n## For example:\n\n```js\nimport at from 'circular-at'\n\nconst array = ['a', 'b', 'c']\n\nat(array, 0) === 'a'\nat(array, 1) === 'b'\nat(array, 2) === 'c'\nat(array, 3) === 'a'\nat(array, 4) === 'b'\nat(array, 5) === 'c'\n\n// ... and so on\n```\n\nThis goes for negative indices as well:\n```js\nat(array, -1) === 'c'\nat(array, -2) === 'b'\nat(array, -3) === 'a'\nat(array, -4) === 'c'\nat(array, -5) === 'b'\n\n// ... and so on\n```\n\nIf the given value is not an array, it behaves like `value[index]`\n\n## Install\n```\nnpm install circular-at\n```\n\n## License\nMIT\n","maintainers":[{"name":"bjoerge","email":"bjoerge@gmail.com"}],"time":{"modified":"2022-06-13T06:03:08.920Z","created":"2016-10-04T15:21:38.427Z","1.0.0":"2016-10-04T15:21:38.427Z","1.0.1":"2016-10-04T15:22:56.470Z","1.0.2":"2016-11-01T14:39:38.630Z","1.0.3":"2016-11-01T18:25:51.531Z","1.0.4":"2017-06-08T20:28:39.493Z"},"keywords":["array","index","nth","circular","cyclic","negative","at"],"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/bjoerge/circular-at#readme","repository":{"type":"git","url":"git+https://github.com/bjoerge/circular-at.git"},"bugs":{"url":"https://github.com/bjoerge/circular-at/issues"}}