{"_id":"@stdlib/ndarray-base-ind","_rev":"15-5b416d70ca5b166fd1f8736ec7c0d7ce","name":"@stdlib/ndarray-base-ind","dist-tags":{"latest":"0.2.3"},"versions":{"0.0.1":{"name":"@stdlib/ndarray-base-ind","version":"0.0.1","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.1","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://github.com/stdlib-js/stdlib","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"16b180bbc1b4c2d4a341e53ad7c43c89250e45aa","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.1.tgz","fileCount":9,"integrity":"sha512-05b/iNvzKo7pX/AAcgKQvB8kaXrDW5EVerAxLHw81aT0mCJCNLqRHqn3emobEC3XYAdtj4MnW4w7k4MM5K/5rA==","signatures":[{"sig":"MEUCIQD0ttotTcSJyYqo6tx93z7RzzTXRvkbfc94Z50Qe0pbggIgDhpQVeH9AGICyLVMYmu77HemRBw6pAPOahEDBb1H0Gg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx5KwCRA9TVsSAnZWagAAj9gQAJPoy1URozpEEezyQGc0\nUgft9ryEE5CYfw0ZiHzohOG5a33uXCt1i8m/2qRJMsUYL1s5sM9D0suZ1pG5\ngv5CUw5BqqYNZ5qGfj5mk78fUb/8mxx2V2vdQ3ZyMjk8S96TGcPUjKG6aBe5\nqAFQGdmxVOnWJN1YsKSXR14nGM9h/mioUqgXxxV7RzujSfi1iuDknheRoSv0\nZw4HkvZ6MFdyLOXq+E8QuSpB0MRd21gYTx8MCJNNHp36TNlmgVu+CoZTON2q\nJL+Zvq8P4GFpOVPXeubaU8rzIFJCpw6Y2BFgQzbR9vfPITJiSzOlCqS9YdPz\nxTuTabaksbmMLbfiRxnGgtnm0kSeSDSl1UjHnrmxBDtf0KC8CxvJZUC5RbLb\nZ8Of9k6NV1Yq/NsaG9S3eioW2BdT9Ugl6X7qmXFFiHfrJC7sHkNXFiEgE/Qz\n9tQe7VA0uSqdP9zcxV8PsOal1UC6KsFXp5zxOZEtS9lO1ibcrNcENerPUWUG\nmYqAhkTtGPpZnVzaFdn0bZa4xGATtETxiyW6c6vG91AX5DAM3YcHHx+L8vyP\nsW7xyK1TML0BaBjhxmOsvLDv4dMSgf7y5b8rtg2KVY2/RqPrk+2zSrOGqngs\npFP6iouacX8EwNLTiSkdmW9ZCkdaJPd2GA/n+TbXukxSjWW06mBDVa+ValOA\nd0BP\r\n=ltAU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"40620430e8ddf4fc1ccfc90f72b4d1dad77c584d","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"__stdlib__":{},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"6.14.13","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"14.17.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.1_1623691951868_0.18196938788872408","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@stdlib/ndarray-base-ind","version":"0.0.2","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.2","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://github.com/stdlib-js/stdlib","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"a2d4b5517fd8f4c7b4e4d1385a0393f5db514ec4","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.2.tgz","fileCount":10,"integrity":"sha512-UVn7/qhg40Rw+nmLsIYsfnG0gjeBgl38F6T9rd2lVPJI8M+G43pv4xBhSFU0PR4hbBl0T1IsBkDufi62Zj7lyQ==","signatures":[{"sig":"MEUCIG0s7/WjzLqvbvpAYRcKHkr4/Zxks/Qrccg9IcxMlT8QAiEAqvRB8GTu3ViMHHw/TzHs7Q7Jkf8hifbEOZhQeKaiwvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgx+W9CRA9TVsSAnZWagAAxhMP/2AQ0p4vfAKvCZN/OEi/\n+cbPvPV+zl6wvgUcjgg5j/+096DW1KOvSkkExMUqXpLLaBIqgN3W6D5ycQxS\nrTwwQsH0vNb3ciLxYZG+Yz5EOsC8I/D/pIMgX1MMm060B5cwHhp+PlD5QjeS\nmzjlc2AIrTCklEoVSdHeMCIDUBQ8RNZZGYLTrC0rCqrr1JCznZAjs1JnFiUY\n/eeKENUkjQv8+azDPW68sqN7iot2QdKKeREE11viSB/PRSJ0NGHEpONZvoUG\nD67b7X1SQkP0+PZfbNl87gJ6txFtabmmPvkxv0nE8hKRoQZJyEinObgjG8eC\nVX4fR/nlOYm55NTXTLwVtPgImQ1zJj9X7tELq8ab/kuXx39Eut2wescF2P90\n6mVnTNv7MNkBkY2EWpHfB/3fYTN44qCk8aOf8YuI4uUGOT0XBspyugMKzVXm\nqV7GPxgT5sWWxFRQjxjP9iZAKJ3vrQxf6XCoOTuELxrQPmccGpK/CZPEonGm\nA/of86ADDvBGVEhpbsWkKU5sROX4RHjfeGgllLIUO1/Odb8NS91BLUUiN69J\nDFGoys5paMeYLokKuLbBjKNT3dUzmSkMw9GZ+gI3lLu6g6q8f845Eqj4T9yM\nWJHAg87Cl+Uqmuc7AD/iD1GFMlYaS8S8CosCnuCNQXeXFUE4L7Ww4Q5ProZU\nXrKO\r\n=zpIn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"01850eddf6e324a82ca71ced9e0fcce5eb31a83f","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"__stdlib__":{},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"6.14.13","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"14.17.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.2_1623713213401_0.9736042572742722","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@stdlib/ndarray-base-ind","version":"0.0.3","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.3","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://github.com/stdlib-js/stdlib","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"ae2d846ba0841e1cd1e0cbbff21024106597f1ed","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.3.tgz","fileCount":10,"integrity":"sha512-OSv65ssxg2SGgBKV4QscquHOGUxCpjPHre7+g/LwjuUtdDPf1cn78zxzzVq7cnvKXo4cpIqdFrV5ZHxnuoIqXA==","signatures":[{"sig":"MEQCIH8L+ig3VIWv4FFvThPxA+TMx203HIFzou7H9HUJ6/GIAiByNsX0IRq18V53G971W0RnpU1+E0xWF/eD1j7z4eH+wQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyL9sCRA9TVsSAnZWagAAq6UP/1eEqu8zalqNLQW5fXOq\n+U9qOrHRtHmJQOvtydW2K0CF/NANdi97enSQ9bjEyU6f8UriamuDM801ta86\nq14JzlysA6Y11Sv4t+kNDeCsRB6nWC6ljx/drHW6YlNL92+ukmhEk5vhrfHG\naeAXYBUiCm3aBwA9QG9eB/dm9HjWmlaOZLYTWfJ7nppdGAmQ6zkohOUhSG//\nghHjDtDECqWk+bmNM+wrnA+re67/oX7z3iRUbC8V7wp3t4r7h6ytpZQTPRJo\nrOgD3hBvm5+eMvXgioRKuSZr+l+n0rovGcuuYO6rZ79vPkQqhcGQG3g9cQ3g\neugMgeSJmXLuq8raHFaxFb8ly+6UeAUh5F9f+Fy9inFBljORd76Ne/rKCUaf\np3yW7NdiDWMjzJkXRgbICK8BOHvnUigG0ZlFRDt2kamuOB6tA5WcquvdhgGd\ndvDhFu8nUwKdtMfGahtrbvaE/jkJOMaiIZyfLqbJzKfR/1/LplJrpOnrqGQm\nnCJ0SMBrKGRU0gJbV6vF8U1s7XfLvHfTgvTGOOrykIvdlw4ai/Y6jqdIVRIA\n4zlf+Z8eojDYuiKnEinq5G7pFEeWX0XMqk/H4uwh9cBNHRkkkjjEmV/1RY06\nhj9TEFZ3Mrp5a5wLwcIcNQXXqNgYn30fbXKJK4d8qxyfKNIHfOfclPLonuR2\n/wya\r\n=f4KH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"67ae90b073b753134fef47be9d78f8d52e8df337","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"7.7.6","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"15.14.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.3_1623768940727_0.3696927608852063","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@stdlib/ndarray-base-ind","version":"0.0.4","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.4","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://github.com/stdlib-js/stdlib","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"2c35a5728b58f80d28192e09c9504b7737ecee06","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.4.tgz","fileCount":13,"integrity":"sha512-cS5/xVGlTib6BVJgM4RWqr4k8ilfnvqNbixjyz9PBjOaQSZSGXwq3stkcPUvYexrjAu0jOCweI1wGZxooQs5+A==","signatures":[{"sig":"MEQCIEpuPa2Bz+DIPOVFUILsZZApq4dtS/FgwZGHxPShADiAAiABI/DJQ0wSWMMLvdNDvCydgnnQG4yEmWnXgBPMp/e6Ag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyXnhCRA9TVsSAnZWagAAaoEQAIoBT4DB09DKu0w0I2Qd\nWnvHR+5hhsG/nrhb0IMk/8+pOdgYyI93vdLEDf0+MKGNgBqR1Kr4AzGR9EmU\njLypUaYd7s+f6WKiUy0m4ZggGGHQqJb0E7litZiW2tMTSh/4CfjAuKMsgR8r\n6mbbpXhqUaEDfpnhyvOhf+iaWrginXTFrWTSBApFUqCdXiSHPddQKdU1gnI4\ns/KHUz5855GCgpYyGR/Vz48WVQMMczRpMWKKrJbWOUh0G5hOk43dto17tMXO\n3raTV/FO1bAm69ud5rbStaIbAnJvOjLExLOyxuJMUvka7SvMbyw0bhkCkOo0\nCHU+A4ZHqI6uwy01iIh9nWyxvsSA3x+eSg5cUWIrqXmVC8Jpa/cwB+G6J//4\nzIOMd9Og6v23IVYXw4KD5rqCh2bWM9pzUI3iDO+kgYtXdXAj8Gcvey/uE5Bx\nwhsVYkcxkaYEgMcIZmrgx614mA0nR3mQAwLsV+1XrCpI96Ndn590vD32NjGI\nIuYfLk9x+XdVDnZgV8emBT0WNZhXs+sux1rv57pDOsOH+zwZlp3weESe5HiZ\n3eCl6uIHpJMcAEBem4uWT/zg6D54BX2tjqaEVBjfclggTt+34ZHee2gPeTwt\nv4LnpzXMaA74/niZ81bSRT/Skmi9TCAju3Y7SrqfDH9TJtmN4p7PQPcSOYDu\n53L9\r\n=coSU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"2e061ef204ffd90241e24f6a2295bdfb68bb7581","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"7.7.6","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"15.14.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.4_1623816672856_0.7318099238989777","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@stdlib/ndarray-base-ind","version":"0.0.5","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.5","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"438dd3a77f210c38f67021a28126ad3bdf39d07f","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.5.tgz","fileCount":13,"integrity":"sha512-001G0TAYzAUDzqMQkakWD0Sq5r1db5K7CwKfTPJbvFG3fqAVUwhtLJ4Xm1RrMK8hzEkw6Uj4JFM2L7D+LgQXSA==","signatures":[{"sig":"MEUCIEy0iPefdejCdIPXqkrAGQmnoPHi59CVp8gLKucIkOVRAiEAwG1DyVN9ITb9sMPDeUJM/7C4OR51hzUhwiehBJfrwfY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2Pi/CRA9TVsSAnZWagAAsRoQAI2vjt39BtVfwMeuAy87\nfAgDLTozJnzn8hYrFwaUVdZXv7kxD0VjxodGHBmRyG0G9Wmt3JOkECxcl6M6\nFsBZvVmsmq53mVUdFKqomPP6I+1Og3vl8vXUhGC3N3/2YZyd+798/3Hn2ewp\n2/fhXKA+eamGfHqo51mUJy8NWuNVbNH8L8dTfLhZd8nx23iZBExN1IgB0tTo\n13Hh22otU5A77+ASvruAqZTbAKERkVHcWBB/e1+6HYmXvWpVo1QkU9zc3wNf\nckMw8McC5yYaI+eoYnFf477ilxBzY/Szt34cjPimzQQu3zPJRS4Uh7g58gSD\n9h26wADQC+VlXc0irex4YmaQy2TKiwaQ71uVgKPAJHwMbbrJbjYVx7h79W2M\nCDQ6iFos5d8rRtjvm15NIhOwArkWJE/Zc5vqixmQLu5H6kRWhkOTfCePaRMD\nmX9Euh8I0lQY3/gTFV2iOEuKmavvpF9GXeRDTHneibHN87igN/PgepmpHcDd\n0ZdG71y3Wst1uH4z23hoZyypoFmaQTz0kGN4kJI3SgHRrBdj8cHiK5mOAtjR\nNV6dyggJcc7Lj49ysHvTSrdHxuYrBPr9rQvBLsvE/AnTMb7Xe1+pnjcvJJU7\nTBgT29bqjEtwZrbMX3qpfDZPnWjbaG5P7mRfjPiL1W7Z5YdA1k6YBygYZoaT\n13PJ\r\n=838h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"f30ab18a33d1bb08060406cdb6cbdeaab148e751","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"7.7.6","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"15.14.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.5_1624832191413_0.20349430525345813","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@stdlib/ndarray-base-ind","version":"0.0.6","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.6","maintainers":[{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"dc41756a5bd0fa4e6202efcd271b20184e2346b5","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.6.tgz","fileCount":13,"integrity":"sha512-XRoVlt2J1SP5u79ktFwOx4WbOcv3j5aJC0mz7XYTX16Fw8nAOnpUPL+9SiPYj6SxEo1VX/+VOJ5+o7VR6e3MEw==","signatures":[{"sig":"MEQCIBR9Jd3V4OgMH2tXm403PmqdW619wG2DXlLvwYi0nL8JAiAV82y1HVOVMfegb9ccD3QA/gX3DdhBiPzvFhRgPqfNnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5OorCRA9TVsSAnZWagAAAcAP/1isQSaSH4myUU0iWw6x\npt9q/z1EcfCVNRizH8ewh6VtFeNrmuo5MTLOXomQCXMog0yzzZLm5syIDxbb\nu5Fabri2RsnIzQgj6gpdQMALF28+GkczawiUj/Yxjd67SZXcZFaFTCSP0q3S\nS2vORTN/klVMKJReEOqbYA7zxnCC9FfVnpRfdL5svj9Srra2gFG2axVGozey\nw69hKWMwpVizV32q6e2gSXaDHM/yynuzBVTwHoPZ2ITtv5nHSoGlUrNbkFPl\naulAbtMg9sXa16K2YiwuXUWKWPz/P/p64Hd3ESoAiTb17QZAHZYkEguvcax6\nwsEgBnFSSKjnFHF1yiOXre6WTgiv3BKQoPisJC0xDJ0QgmCVmvDVkgqTF2pA\nITeqsqXO1CNd2XpPKkwqA4RSwBilMZDgnZ7xuaDbHFE8kFfa5u8buaHLT7KK\naoL/EJn2lbVSBCtzz3vLJY+R3pDG9XlCsP3kz/KOWfcIeogRgNj3Nw5YdxGh\nQT0SO9EF7ldrYeWrVBHhvph+CD++FOk+qpO7t/1VM83ClVzuU5Wi+dSeGf/4\nge94HIppjHyQPD0KA/4RWtJiGV3uYgJAELyKoyYEdi5n0EQwGU6J0tv5mPWH\nLUarxMu2VIgfkCBT+NjNxZAUBHBCfpP1UJCODvrjleMFUzlEvdWAgzFuqP08\nb4Bh\r\n=cauH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"49b1e980e526b405e2a190b3b29b8a216a7ab538","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"7.7.6","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","test":"./test","example":"./examples","benchmark":"./benchmark"},"_nodeVersion":"15.14.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.6_1625614890985_0.7113588464180196","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@stdlib/ndarray-base-ind","version":"0.0.7","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.7","maintainers":[{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"7f5cc717fcd73a8ea9eb35095e604199e7d0c115","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.7.tgz","fileCount":12,"integrity":"sha512-SgZO89Z+i6na5uBqIywSDgYkpQ5LA0Pt1ePyQ9c0qMbmpN+9S3LwmZEwa/+cdWuOU3XY0pfngyzrlsUuQrJeBA==","signatures":[{"sig":"MEQCIGl8QGgc/txn6xcBbki7iCKNHET9F3W5UeRUo60JUZ78AiBVpTQiETDYt4aRP7lvVVtYIM+0q6+FRoSZA9lQY/ux2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43656,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIt0YCRA9TVsSAnZWagAA4dwP/0Um5dQf3dYhihJGIFNI\nHf6rH7uPLSQA3BGT4iTYoLwTCxnXOwl37nL+3K7h8S2n23k5OUGYczgf+l8+\n54jbLUFZy77h3bLG35rOntz6Yzl6of1RjuBOhJ9r4wWl6tG3qT/CweGc50gc\ns+guCpzP/pBkkNQfMkd/WLu30j1c7gh7SA+HY88rNh/oZUnoIdabnJGGbbCC\nZaNSrTDlAJ4Rc062/knpr2uR32puZ5NvejQMpNgWyaGp61CbSMqXu6EGvcAZ\nyapoakEdglIkQnc0KoYLlKERWsgjuVmtC+dnLzenLAV/nrhtFdrq5fT/nnWR\nB1mcgFD3HY202rUIIsX6FWJstqFbyVauiZrSMfU8UBhKAx5mE7/KpwxAs/up\nktAgrF+UOse1xKwqyJaorio7DR72e4KZkuaIgdjeEPbq88ftB/R9qNQIk6hY\neRz4ZE1SV6zKqhyaGtF1ANO/LXP15A5aAmCaZNtgloogrJbHjShpLPyE7odt\n/wtSY6j47rDeiXBKmm9O6bqRUkpYupgZYDLgDUzbDqaOvUZ0hk1fVeeYuUWF\nKW4LGiPLK9IU/s6k6UyRJOHPMRwj1Y8zX4irwdGqleSex3qz1psYLOexj2MF\n7jmOL6mMGLplJ6A+6IdGVk30BwZ2h35BC21Wmj74PKfETrHnY2a8E6nacfa4\nn8Lg\r\n=ItNf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"b01c5c4f625d8da643a45ec860da4859571368af","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"7.20.3","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples","include":"./include","benchmark":"./benchmark"},"_nodeVersion":"16.7.0","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.7_1629674776429_0.1359552250443079","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@stdlib/ndarray-base-ind","version":"0.0.8","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.0.8","maintainers":[{"name":"stdlib-bot","email":"kgryte@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"50c9cb2b31cfd8108cf15cf1a680d321298591e5","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.0.8.tgz","fileCount":12,"integrity":"sha512-yPO3K3XvhfEFaJSWEeNmul+QPvyiVn+hwbg5Z+edD0+xI/xIE77itrN9AzsDAqAhdznRJTVHysfC938SX4Gang==","signatures":[{"sig":"MEYCIQDKLfPs9fSL3pCFgaLff/vW6OlPqOtvTFzoecQX2oxhtQIhAL8scPdN7PDlwVcTy0uHX7QGYC55AJAzEVM1PnpOI/so","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDULwCRA9TVsSAnZWagAAEvQP/2IAkkPCfSSq+cJw0fyD\nI6Mk36GLUvYr/Vnoja93Kex9m9nSdLJ2+BQri1IIXFwX9uYcDt5tC2sMdAdA\nEQ5WK1Hwj0rOo5PMCX4fUExoEmo1ZO9hZqYXMM8C1qOt1WE1n5owj85moiiS\ndYjxOn8ylj/brBFGtMlXIHL667/qibXENrBu29apPrDj7qwkCBtjCrtgUSnr\nkeKBmsusS+NDsnLCpz+Nemtm6dKYPOKvDsm00Ypz2uPuJaYN9fSQsRkdCKQI\nDjEwB+Qi3lNqtm/VtTHJzaYeHB5lkDWj08e6loCf5t6LkoL/Kfaw25cof++i\nw+XRt4U2PKiT+FIWHFbBJdIDzzqSWfiScuvhQCFRS+6QtmuROvCM0UGSbGUW\npLD5/GskAeiYjsTCkOzVh9Ot/3ljiunQ/v6/sVhqPbL5yadGk/PasxcTUnbj\nWVTkO8hR6Ndmqzb/INTq5ax9y8qcBLiZykBEo85PmB3GZYpvHA6hYffg5I2o\nwzQd3xh1aIOc958sNiHlYqNgOAfsXTEXALKVXfdUdpJuBG3XTYNstJoxhqrG\nJp4P22DFZX//V9h7q9H17mGDaa59+xaEOODSt4Baupwtss34wpzLqBzvqBFP\no23MiPIteuS6615xtjwzWLIgGSevSTx65iJsSnA6MSVCaLF8qs2qTJqc49YN\n2YId\r\n=GfQ6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://www.patreon.com/athan","type":"patreon"},"gitHead":"c5afe78289e822517115e05d6e86ff76eb7d53fd","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.1.2","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples","include":"./include","benchmark":"./benchmark"},"_nodeVersion":"16.13.2","dependencies":{"@stdlib/types":"^0.0.x","@stdlib/ndarray-index-modes":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x","@stdlib/ndarray-base-wrap-index":"^0.0.x","@stdlib/ndarray-base-clamp-index":"^0.0.x"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x","@stdlib/bench":"^0.0.x","@stdlib/random-base-randu":"^0.0.x","@stdlib/math-base-special-floor":"^0.0.x","@stdlib/random-base-discrete-uniform":"^0.0.x","@stdlib/assert-is-nonnegative-integer":"^0.0.x"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.0.8_1645036271917_0.7114306941385218","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@stdlib/ndarray-base-ind","version":"0.1.0","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.1.0","maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"b45351de7bb608d8062db57f566805368786074d","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.1.0.tgz","fileCount":14,"integrity":"sha512-OJ16UbtR9HBIhTSDqO1eHFpnHo+BZCBUbZXUOF0/sh3R2bX8yNtLOW03sgaDqGl5NSH0jKT0VgyioItVTdof7Q==","signatures":[{"sig":"MEYCIQCyhOE2ttQz4gG3RxlV8h/ffy1V+KFcY+dhYPWds8xytQIhAMqGfiGyP+H7Az7JS7QNfq4hDUJ9UwStzZL6PxtnC/ve","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33903},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://opencollective.com/stdlib","type":"opencollective"},"gitHead":"41f86d99cbb03d63f33b26b5a608ebc8703e045f","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.19.4","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples","include":"./include","benchmark":"./benchmark"},"_nodeVersion":"16.20.2","dependencies":{"@stdlib/types":"^0.1.0","@stdlib/string-format":"^0.1.0","@stdlib/ndarray-index-modes":"^0.1.0","@stdlib/error-tools-fmtprodmsg":"^0.1.0","@stdlib/utils-library-manifest":"^0.1.0","@stdlib/ndarray-base-wrap-index":"^0.1.0","@stdlib/ndarray-base-clamp-index":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","tap-min":"git+https://github.com/Planeshifter/tap-min.git","istanbul":"^0.4.1","@stdlib/bench":"^0.1.0","@stdlib/random-base-randu":"^0.0.8","@stdlib/math-base-special-floor":"^0.0.8","@stdlib/random-base-discrete-uniform":"^0.0.6","@stdlib/assert-is-nonnegative-integer":"^0.0.7"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.1.0_1695424164870_0.2490182419926581","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@stdlib/ndarray-base-ind","version":"0.1.1","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.1.1","maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"6d0cec37a5c49ea19a6bfa9e8cd606e9c67c9037","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.1.1.tgz","fileCount":14,"integrity":"sha512-MO7jBFQ32QmishgjXnilCz+fLmtYEd3QzL1Jm0zBXzZ0aIQc16ex5MNfvIG+LtdyyDrJBaSlYZ/Bg3mgrREiIQ==","signatures":[{"sig":"MEYCIQDCjXJr5Jwo6Oj1VNQha7+KRqLD6c95kwpfgZqeaaTBAwIhANj8tOClc/+3ML2k7hXBIxVYqlRkCg26rPz3pf9aQFxb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33903},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://opencollective.com/stdlib","type":"opencollective"},"gitHead":"836b37cf688bfa381fcb3cb3a2dd327f0a94ad19","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.19.4","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples","include":"./include","benchmark":"./benchmark"},"_nodeVersion":"16.20.2","dependencies":{"@stdlib/types":"^0.1.0","@stdlib/string-format":"^0.1.1","@stdlib/ndarray-index-modes":"^0.1.1","@stdlib/error-tools-fmtprodmsg":"^0.1.0","@stdlib/utils-library-manifest":"^0.1.1","@stdlib/ndarray-base-wrap-index":"^0.1.1","@stdlib/ndarray-base-clamp-index":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","tap-min":"git+https://github.com/Planeshifter/tap-min.git","istanbul":"^0.4.1","@stdlib/bench":"^0.1.0","@stdlib/random-base-randu":"^0.1.0","@stdlib/math-base-special-floor":"^0.1.0","@stdlib/random-base-discrete-uniform":"^0.1.0","@stdlib/assert-is-nonnegative-integer":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.1.1_1696378456177_0.9446810312583596","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@stdlib/ndarray-base-ind","version":"0.2.0","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.2.0","maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"dcfea6df2aaaa3c618a56810f2d01bb4a00677e8","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.2.0.tgz","fileCount":15,"integrity":"sha512-qsTxKmWg9ZBa7OllI+EYOIiU2EgjdPe7GBHo4qYt3FeGUiu5a5TjV1h8IzkRXIdKNbB5TkoM5SMmrN4o4PWTYQ==","signatures":[{"sig":"MEUCIGBeFKmNI72Vzgk066KBMqlDRyErr+OExO4AyMQt8jbaAiEA7GwIBE/E/0qnBJej0M6AfJokAR41p0Adp/Z3/GMG6ks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49214},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://opencollective.com/stdlib","type":"opencollective"},"gitHead":"7137673f0798ef13d7c9fd7becf78e557b1d583b","scripts":{"test":"make test","examples":"make examples","test-cov":"make test-cov","benchmark":"make benchmark"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.19.4","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","test":"./test","example":"./examples","include":"./include","benchmark":"./benchmark"},"_nodeVersion":"16.20.2","dependencies":{"@stdlib/types":"^0.3.1","@stdlib/string-format":"^0.2.0","@stdlib/ndarray-index-modes":"^0.2.0","@stdlib/error-tools-fmtprodmsg":"^0.2.0","@stdlib/utils-library-manifest":"^0.2.0","@stdlib/ndarray-base-wrap-index":"^0.2.0","@stdlib/ndarray-base-clamp-index":"^0.2.0","@stdlib/ndarray-base-normalize-index":"^0.2.0","@stdlib/ndarray-base-assert-is-index-mode":"^0.2.0","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","tap-min":"git+https://github.com/Planeshifter/tap-min.git","istanbul":"^0.4.1","@stdlib/bench":"^0.3.1","@stdlib/bench-harness":"^0.2.0","@stdlib/assert-is-function":"^0.2.0","@stdlib/assert-has-own-property":"^0.2.0","@stdlib/random-base-discrete-uniform":"^0.1.0","@stdlib/assert-is-nonnegative-integer":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.2.0_1707955721157_0.7041586546175931","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@stdlib/ndarray-base-ind","version":"0.2.1","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.2.1","maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"347b3fd2af45eb20f16ba2c7d26f6dcdad8cea8c","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.2.1.tgz","fileCount":15,"integrity":"sha512-p58OGtkFmmZenC9SVRUhEWVrG3YApg4qePI9uXli6/+dMMqW2AEqiIqVPEd3EUTxlykIS/qpALrOqsGc1JGNmg==","signatures":[{"sig":"MEYCIQCl8mTA2/2PhkBC7Xn0Z/PlINJUwaObG+RsY/yWzzp5uQIhAOUN/YFy22Hzcn3uXRBO3AmjX1c4dlT3YM2iyHOzV6+G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48515},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://opencollective.com/stdlib","type":"opencollective"},"gitHead":"96944aeaaa31205528b593a0370625e1a395ffa0","scripts":{},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.19.4","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","dist":"./dist","include":"./include"},"_nodeVersion":"16.20.2","dependencies":{"@stdlib/string-format":"^0.2.1","@stdlib/ndarray-index-modes":"^0.2.1","@stdlib/error-tools-fmtprodmsg":"^0.2.1","@stdlib/ndarray-base-wrap-index":"^0.2.1","@stdlib/ndarray-base-clamp-index":"^0.2.1","@stdlib/ndarray-base-normalize-index":"^0.2.1","@stdlib/ndarray-base-assert-is-index-mode":"^0.2.1","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.1"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.2.1_1708889268358_0.5079554964964501","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@stdlib/ndarray-base-ind","version":"0.2.2","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"author":{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"},"license":"Apache-2.0","_id":"@stdlib/ndarray-base-ind@0.2.2","maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"contributors":[{"url":"https://github.com/stdlib-js/stdlib/graphs/contributors","name":"The Stdlib Authors"}],"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"dist":{"shasum":"138109669caecdd18b4e76c543add5f19a9cf57e","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.2.2.tgz","fileCount":15,"integrity":"sha512-GACM7x6eO5ojt6cUGz4ZSsrxDTXVNVRj0QXIfzTwErWCFf1CU0OSQs/kYjqbOC74H97DTkwc26sjKylaIMvaxQ==","signatures":[{"sig":"MEUCIGBHfANqMUcw6prfODD/XJ/BJVVFlJAjWTAfG1mXc9aNAiEAzmTZ+KOePbF9Dx4WZXz9zAxRSrqkwWfWn8/DdXKCZ3s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48515},"main":"./lib","types":"./docs/types","engines":{"npm":">2.7.0","node":">=0.10.0"},"funding":{"url":"https://opencollective.com/stdlib","type":"opencollective"},"gitHead":"dc626ba79482fcccb929e07a897874472b58ae05","scripts":{},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"repository":{"url":"git://github.com/stdlib-js/ndarray-base-ind.git","type":"git"},"_npmVersion":"8.19.4","description":"Return an index given an index mode.","directories":{"doc":"./docs","lib":"./lib","src":"./src","dist":"./dist","include":"./include"},"_nodeVersion":"16.20.2","dependencies":{"@stdlib/string-format":"^0.2.2","@stdlib/ndarray-index-modes":"^0.2.2","@stdlib/error-tools-fmtprodmsg":"^0.2.2","@stdlib/ndarray-base-wrap-index":"^0.2.2","@stdlib/ndarray-base-clamp-index":"^0.2.2","@stdlib/ndarray-base-normalize-index":"^0.2.2","@stdlib/ndarray-base-assert-is-index-mode":"^0.2.1","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/ndarray-base-ind_0.2.2_1722222684573_0.7153546878840455","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@stdlib/ndarray-base-ind","version":"0.2.3","description":"Return an index given an index mode.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","include":"./include","lib":"./lib","src":"./src","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/ndarray-base-ind.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/ndarray-base-assert-is-index-mode":"^0.2.2","@stdlib/ndarray-base-clamp-index":"^0.2.3","@stdlib/ndarray-base-normalize-index":"^0.2.3","@stdlib/ndarray-base-wrap-index":"^0.2.3","@stdlib/ndarray-index-modes":"^0.2.3","@stdlib/string-format":"^0.2.3","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.3","@stdlib/error-tools-fmtprodmsg":"^0.2.3"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"_id":"@stdlib/ndarray-base-ind@0.2.3","gitHead":"65ac870bcc9363ee25cdde72514d9e0783b5395e","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-nPxFwo0rzc/lbGZyK4OpLEjcuedVn17hPjvJL3IfYccMT/DJaOpPcSEce9biJJWsdAaDQ/T3DB/0QMWV98YNuw==","shasum":"72cd5114441a43087242e3f2a916a24ad45d9c84","tarball":"https://registry.npmjs.org/@stdlib/ndarray-base-ind/-/ndarray-base-ind-0.2.3.tgz","fileCount":15,"unpackedSize":48412,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB+H751wTcEzoVTJzaaOJTIwIz1J0L6kn2A6rRuRMiiEAiBx2/EZWWF4tGnrOyhxvbvRgoXZTLo/KvDjdyP5Ch6Swg=="}]},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ndarray-base-ind_0.2.3_1770573418717_0.5938834920908163"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-14T17:32:31.704Z","modified":"2026-02-08T17:56:59.082Z","0.0.1":"2021-06-14T17:32:32.073Z","0.0.2":"2021-06-14T23:26:53.572Z","0.0.3":"2021-06-15T14:55:40.908Z","0.0.4":"2021-06-16T04:11:13.004Z","0.0.5":"2021-06-27T22:16:31.529Z","0.0.6":"2021-07-06T23:41:31.151Z","0.0.7":"2021-08-22T23:26:16.599Z","0.0.8":"2022-02-16T18:31:12.078Z","0.1.0":"2023-09-22T23:09:25.033Z","0.1.1":"2023-10-04T00:14:16.370Z","0.2.0":"2024-02-15T00:08:41.358Z","0.2.1":"2024-02-25T19:27:48.521Z","0.2.2":"2024-07-29T03:11:24.768Z","0.2.3":"2026-02-08T17:56:58.886Z"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"license":"Apache-2.0","homepage":"https://stdlib.io","keywords":["stdlib","stdtypes","types","base","ndarray","index","idx","ind","subscript","wrap","clamp","multidimensional","array","utilities","utility","utils","util"],"repository":{"type":"git","url":"git://github.com/stdlib-js/ndarray-base-ind.git"},"description":"Return an index given an index mode.","contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"maintainers":[{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"}],"readme":"<!--\n\n@license Apache-2.0\n\nCopyright (c) 2018 The Stdlib Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n-->\n\n\n<details>\n  <summary>\n    About stdlib...\n  </summary>\n  <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>\n  <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>\n  <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>\n  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href=\"https://github.com/stdlib-js/stdlib\">GitHub</a>, and please consider <a href=\"https://opencollective.com/stdlib\">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>\n</details>\n\n# ind\n\n[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->\n\n> Return an index given an index mode.\n\n<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->\n\n<section class=\"intro\">\n\n</section>\n\n<!-- /.intro -->\n\n<!-- Package usage documentation. -->\n\n<section class=\"installation\">\n\n## Installation\n\n```bash\nnpm install @stdlib/ndarray-base-ind\n```\n\n</section>\n\n<section class=\"usage\">\n\n## Usage\n\n```javascript\nvar ind = require( '@stdlib/ndarray-base-ind' );\n```\n\n#### ind( idx, max, mode )\n\nReturns an index given an index `mode`.\n\n<!-- run throws: true -->\n\n```javascript\nvar idx = ind( 2, 9, 'throw' );\n// returns 2\n\nidx = ind( -1, 9, 'throw' );\n// throws <RangeError>\n\nidx = ind( 10, 9, 'throw' );\n// throws <RangeError>\n\n// Wrapping indices around using modulo arithmetic:\nidx = ind( 2, 9, 'wrap' );\n// returns 2\n\nidx = ind( 10, 9, 'wrap' );\n// returns 0\n\nidx = ind( -1, 9, 'wrap' );\n// returns 9\n\n// Clamping indices to first and last indices:\nidx = ind( 2, 9, 'clamp' );\n// returns 2\n\nidx = ind( 10, 9, 'clamp' );\n// returns 9\n\nidx = ind( -1, 9, 'clamp' );\n// returns 0\n\n// Normalizing negative indices:\nidx = ind( 2, 9, 'normalize' );\n// returns 2\n\nidx = ind( -4, 9, 'normalize' );\n// returns 6\n```\n\n#### ind.factory( mode )\n\nReturns a function for returning an index according to a provided index `mode`.\n\n```javascript\nvar fcn = ind.factory( 'clamp' );\n\nvar idx = fcn( 2, 9 );\n// returns 2\n\nidx = fcn( 10, 9 );\n// returns 9\n\nidx = fcn( -1, 9 );\n// returns 0\n```\n\nThe function returns a function accepts the following arguments:\n\n-   **index**: input index.\n-   **max**: maximum index value.\n\n</section>\n\n<!-- /.usage -->\n\n<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"notes\">\n\n## Notes\n\n-   Both functions support the following modes:\n\n    -   **throw**: specifies that the function should throw an error when an index is outside the interval `[0, max]`.\n    -   **normalize**: specifies that the function should normalize negative indices and throw an error when an index is outside the interval `[-max-1, max]`.\n    -   **wrap**: specifies that the function should wrap around an index using modulo arithmetic.\n    -   **clamp**: specifies that the function should set an index less than `0` to `0` (minimum index) and set an index greater than `max` to `max`.\n\n</section>\n\n<!-- /.notes -->\n\n<!-- Package usage examples. -->\n\n<section class=\"examples\">\n\n## Examples\n\n<!-- eslint no-undef: \"error\" -->\n\n```javascript\nvar discreteUniform = require( '@stdlib/random-base-discrete-uniform' );\nvar ind = require( '@stdlib/ndarray-base-ind' );\n\nvar modes;\nvar mode;\nvar idx;\nvar out;\nvar i;\n\nmodes = [ 'clamp', 'wrap' ];\n\nfor ( i = 0; i < 100; i++ ) {\n    idx = discreteUniform( -20, 20 );\n    mode = modes[ discreteUniform( 0, modes.length-1 ) ];\n    out = ind( idx, 9, mode );\n    console.log( '%d => %s(%d,%d) => %d', idx, mode, 0, 9, out );\n}\n```\n\n</section>\n\n<!-- /.examples -->\n\n<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"references\">\n\n</section>\n\n<!-- /.references -->\n\n<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->\n\n<section class=\"related\">\n\n</section>\n\n<!-- /.related -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n\n<section class=\"main-repo\" >\n\n* * *\n\n## Notice\n\nThis package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.\n\nFor more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].\n\n#### Community\n\n[![Chat][chat-image]][chat-url]\n\n---\n\n## License\n\nSee [LICENSE][stdlib-license].\n\n\n## Copyright\n\nCopyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].\n\n</section>\n\n<!-- /.stdlib -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"links\">\n\n[npm-image]: http://img.shields.io/npm/v/@stdlib/ndarray-base-ind.svg\n[npm-url]: https://npmjs.org/package/@stdlib/ndarray-base-ind\n\n[test-image]: https://github.com/stdlib-js/ndarray-base-ind/actions/workflows/test.yml/badge.svg?branch=v0.2.3\n[test-url]: https://github.com/stdlib-js/ndarray-base-ind/actions/workflows/test.yml?query=branch:v0.2.3\n\n[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-ind/main.svg\n[coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-ind?branch=main\n\n<!--\n\n[dependencies-image]: https://img.shields.io/david/stdlib-js/ndarray-base-ind.svg\n[dependencies-url]: https://david-dm.org/stdlib-js/ndarray-base-ind/main\n\n-->\n\n[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg\n[chat-url]: https://stdlib.zulipchat.com\n\n[stdlib]: https://github.com/stdlib-js/stdlib\n\n[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors\n\n[umd]: https://github.com/umdjs/umd\n[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[deno-url]: https://github.com/stdlib-js/ndarray-base-ind/tree/deno\n[deno-readme]: https://github.com/stdlib-js/ndarray-base-ind/blob/deno/README.md\n[umd-url]: https://github.com/stdlib-js/ndarray-base-ind/tree/umd\n[umd-readme]: https://github.com/stdlib-js/ndarray-base-ind/blob/umd/README.md\n[esm-url]: https://github.com/stdlib-js/ndarray-base-ind/tree/esm\n[esm-readme]: https://github.com/stdlib-js/ndarray-base-ind/blob/esm/README.md\n[branches-url]: https://github.com/stdlib-js/ndarray-base-ind/blob/main/branches.md\n\n[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-base-ind/main/LICENSE\n\n</section>\n\n<!-- /.links -->\n","readmeFilename":"README.md"}