wrap.js (npm): Returns a function that wraps input values such that [0 <= x < size].
Keywords: higher|order|function|limit|wrap|es6