@writetome51/get-index-for-reversed-array
Version:
Function receives array index and returns the new index that same item would have if the array's order were reversed
31 lines (30 loc) • 870 B
JSON
{
"name": "@writetome51/get-index-for-reversed-array",
"version": "2.0.0",
"description": "Function receives array index and returns the new index that same item would have if the array's order were reversed",
"type": "module",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/writetome51/get-index-for-reversed-array.git"
},
"keywords": [
"array",
"index",
"reversed",
"reverse",
"translated",
"converted"
],
"author": "Steve Thompson",
"license": "MIT",
"bugs": {
"url": "https://github.com/writetome51/get-index-for-reversed-array/issues"
},
"homepage": "https://github.com/writetome51/get-index-for-reversed-array#readme",
"devDependencies": {},
"dependencies": {
"error-if-not-integer-zero-or-greater": "^2.0.0",
"error-if-index-not-valid": "^2.0.0"
}
}