circular-at

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.

Browse on unpkg