UNPKG

circular-at

Version:

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.

35 lines (34 loc) 817 B
{ "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" }