Simple circular Array and String iterator.
npm install circ-iter
npm install circ-iter
`
Usage
`js
/ With an Array /
const next = require('circ-iter')([1, 2, 3])
next() // => 1
next() // => 2
next() // => 3
next() // => 1
next() // => 2
next() // => 3
`
`js
/ With a String /
const next = require('circ-iter')('abc')
next() // => 'a'
next() // => 'b'
next() // => 'c'
next() // => 'a'
next() // => 'b'
next() // => 'c'
``