
cyclic-prev
Cycle backward through indexes with zero dependencies
2 followers
Cycle backward through indexes with zero dependencies
2 followers
A tiny JavaScript utility for stepping backward through indexes, wrapping from the first position to the last. Great for previous-slide controls, repeating schedules, and game turns. Zero runtime dependencies, input validation, normalized indexes, CommonJS, ES modules, browser bundles, and TypeScript declarations.
Interactive




Free
Launch Team

LoomTalk it through in Loom. Ship with AI
Promoted