{"_id":"@bemoje/arr-sorted-insertion-index","_rev":"8-d49aedbe860d6b2e514dc9678ad84718","name":"@bemoje/arr-sorted-insertion-index","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"@bemoje/arr-sorted-insertion-index","version":"1.0.0","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@1.0.0","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"289dcd26c0c73c7be18344a593cfcc0c95c72fd7","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-1.0.0.tgz","fileCount":5,"integrity":"sha512-ocIVsF5F8WZxfzGM8pvkejnBjyVpc1tRuK6fg3JsPuyYKtO85hCO2Ku3i/xo8+VPdsGYlSyEZ209ml11GLY9ng==","signatures":[{"sig":"MEYCIQDX9+njyaZ4zLycXg3THdgWk8txS+9JIKhbURWcOEdxiwIhAPygWAE+lVQEmVbk319bQi8umVew9XHm3/RAVFbk8/My","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqItUCRA9TVsSAnZWagAAMG0QAJHo7kKUplrplTt9ngJQ\nDrveq8IAFwfWMhODFQK+8n7J8pOnRXZmsy8Q3OT0/GxmK7+Epwmp2Jt1u6yE\n/9wyVxXK9yeb95y1jFRS7qym51mUMMG46qyAhd/NVQpphgeeMT0yyHfZEVl+\nI284dYnC6i+ItpNtfd5NJDht9rtu6caDDewHA0azldHQ1LKQ8HKLWbAqaOzo\nzYJQUArhDgR6oG9AYjxSwPLRBWagjHPErL+MxubcprrDXZpDUbmqQnM6CCSE\nuMPI1W9auX4rtQDdyrM6dn0cDw3dTiKWqUsN2OcUY0VwEvwM6yUWpfCL2AEd\n8glG1pLkMsjl3/Lax/6dMQdvxlDOPFrN8rTFhhqETOEklF5/AuX59VD8Rk/2\nO5y39H19v0Ruf7bA0QM15Yzmnw7FNSjtjT1bgJitqEw6TC/bwCgchIhFKvoI\n4xA2BjtGhu7g7i8QEhA6H0fnC/nNn1TyzM3Mw8zRqWrk9sSkiQ4YC/1AF6Td\nez2ucHbJRcP0KT5UhTqb1I0VKh8eKjpBLUVhP/2d5j6lcooB2DSMLyqXzmL9\nANObz6u0Z6sgGqUJHmooUnca7ejNqK5bnSvFxnwbKvqcBp91hmnM1tz1zRLH\nLQpGZ/cKbIZc2klV+fJYGvBRVd71XXQ9W6N94+a3iEMapNyFGmLmWtqXNkm7\nTxCJ\r\n=WUe9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.4.0","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_1.0.0_1588104019192_0.5959140386244006","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."},"1.1.0":{"name":"@bemoje/arr-sorted-insertion-index","version":"1.1.0","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@1.1.0","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"130c7c7b24be9e57806d801e93470df207bfe05f","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-1.1.0.tgz","fileCount":5,"integrity":"sha512-nU8Qvjaq+HrQMM4o7FFux70VX852FjPHcF4lXSS8Ij/iat3MQXFBJmEAU0HsJISfo7NsSpkFHgjb0tIHU0Ruwg==","signatures":[{"sig":"MEYCIQDxidCf9y7ANIlKsDH+fryURLBPcdMFs9qnz/1UhY4TkgIhAJG6TvKPzQmS07AE0PjLS3RO0S/0xKez7qOsnbp7+WOo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqI+9CRA9TVsSAnZWagAATG8P/jeoUGw25M7vTf2HcUwL\nlrBZ0XeOKImi9ArakNYfOCa0JuN/s+mhcidN+W0LC+76NAwWZQqMVIeQpDZD\nYL1EFSeV6MWuguRM+kRxLbKKgC11jg2tzDprWuTBmElT5E5jaxQNmfA0uffA\n3oiv+TDD/yu98GgpvzldnDtIRyZaALDfOK5TiberNr3tC9qFSclrKPg2P7lR\nHRcx3PWj2/luGd8MrgeMT1WRzdG/d3UWtjwZ2HP1oIXQfH0BiJ/9Cmzf9Iq1\nbfeWEbAnHy2DWYC3NGlnghdUx5el/lFgSl26EunW3Qvn5oLlBoyMNLky3ZPU\n85awvi5czC4RSwpvyvyVSI55VgJGnQ6WtEW23IaUR/cak91amaCUpIzE+KSX\nu4fvaCSo8J3Kjf+yZ9wJGhSFWLD+bgK4Y2Pa4zdVHrsJv9BCY7pX7foBV+br\ny5gMTy/WZl7RhhvgXOMyZqh4/A7RxrGNkQVBzYFi+jGXLv7kkkcx8vJZq64r\nki7Wq/gG4xngc7Ypoxx2L0EY0wNwjVwML1tZUSJflNXIry788rjKlpjmFM//\nF/+IVG3/yHDUStNLTKPMOjfpQrcz9/OxLR5Tc7b6TWcBpPEFFfI99lUeKC9y\nQS2y5bznvhwXm9yxF1vH6lBpR32WdkwIBV+1Pb9l3eoWr50rX6OR9JddcCy8\nkMRY\r\n=tgl4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","gitHead":"c9ee4a7b207fe7531e2aed25d5e8cd48e36c1527","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.4.0","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_1.1.0_1588105149049_0.7447428106101821","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."},"2.0.0":{"name":"@bemoje/arr-sorted-insertion-index","version":"2.0.0","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@2.0.0","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"6174684c1ed27b5f26becb917cd85124c1a0fdec","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-2.0.0.tgz","fileCount":5,"integrity":"sha512-1S5A9ssR/UkbeVO5fbeRkmxI8arkKKAFUuXMxLY9Ay4AlHlBn5REOqhb7NRNn3pPT/v/jndsRq0T5bhbOCLT+Q==","signatures":[{"sig":"MEUCICrBgnNNVVWdhy4NHGZKXKjxbd/Ehi8PZtMuwJb4enJRAiEAxsnHeaPc3MSg5NxqY0cES2u9B5tq8NfdesAtio64hjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqJUpCRA9TVsSAnZWagAAVy8P/39diFSBcIJZDSiDGEGY\nVzCHF+sJC/qofw5BZ1MbqtlOJMiSevtJXPgWiJnMPSO0QF69DA1CDQLrpNHZ\nuZlq7AyPzZuRAoul0/RAovZ2cdTHmlDOWe4ab6f9LSQyN6J4Qkqx2xFnBySv\n6BLloEVQG4xBG2lB8krNkNI8ihbDVITXAxymKgb3tF/wMDwgYUbWNMXT7GYp\nxI8j0Qj2vFfBfukWDcXQQunJ4KYK9qWRE3YGjJA59LjFxwKTrQ3BteGP40Gt\n1GsLr5Md7OzSBRfVnCtGIIPoQ5EVOvvG9IL2FNdqhPiJzA8jdmDuIDPIlZIM\nGeOyoMe/Ao8CVOy2GL5v71Sdue2dtOlXmzKCTwUzjbKmLW9rGzeWicnnP5OK\nSd7SsWI5HpXdhrT96Nau7ELGHsS7E0qUAzEJrQqSjzQhDn/uidh8xg9THvdk\nmz5JSD1zFjuzzmctlG9ZlEa2sGgznCYbjPIyrQ9CnL2hgIaEekjzD4ltPLEL\nUWGlsRs+Yo9t+Jzm6UUCj347EtHosME6QoanwUXAnZeg1oPdhxsRPvnJ11Uw\ndA5RN/HQQF7Zsyh1mYlviucCUNuEO1mAO3hFrnyTSN0SWIdDzpiAN6PF1m/U\numVGZ3uhAS1FOjcAmKVS04RW4nrtS7BnwTVCvsx75AmkEL1EkkPfFwLifLHx\nI8DC\r\n=X2tD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","gitHead":"e897fe44b33132ad8c6d46cbd8eee8b6118de60b","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.4.0","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_2.0.0_1588106536990_0.04757390729895605","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."},"3.0.0":{"name":"@bemoje/arr-sorted-insertion-index","version":"3.0.0","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@3.0.0","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"c381a9ff3a16d36d658101dde6701e54e99e95d3","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-3.0.0.tgz","fileCount":5,"integrity":"sha512-r+aClYu6wDxPTp6+2EeW/5Q1BTIISRtWGFynwuhekXyyFrbGdZ4FRKJl8Dvg/k5sRNB6JMR4gBDIplPTEXM3TA==","signatures":[{"sig":"MEUCIEXmrml6psh7J/9h5T/GypjbVjx7oLEDbkjo5XqmflUXAiEAigxTqK1hZE4YFl1KONFVGKrveG794sJlKA9W+9Jtsxw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqJeuCRA9TVsSAnZWagAAJlAP/1OGh6fk6no/3wO0ua3L\n4+sac1c3lauwSLDuW/WO47x0xaHLzWRuXTFa4NctxZhHv2Xm5uu1epsok6VU\nJbJITCnk0sSpqkSUPLMIoTcypko1Wwa6/s1TkR1bR4Za9Ee6/e7s6Q9A5ZxW\nAT8Oh4loBGbyZKpdLr7jzASWBiApx3vH2Mb3SfOxftcGGJjhCZ7FA67Ha3vi\nvQnPBPbf/1nZ/AYndT7RvhZue96e0kfVYPGLAPA/sK4PjYKxe04ZPNgIawdH\nEB57ZzzRoSOab5p7gUKK2PY7SiDAAvL0yaJdbguFSSq/wTwY8H33OBjBIWd5\nZSQj8mOnjeSXjzganH3tSBVu2uzC9qXO2lJI//EHg9CvMaaX+Z3CPRkWO5NU\nWaMzUz7TxqcGE1nwKmt+Nj47L3UmxEUVzitjtrxu94cK20Zd9g31Z/a9waJB\nPh3a5DAuFL5W6iSxTvN1t15+tlDnB4S8sarfGGQDYbwwE3Dh4KMfnpRFPmIN\nJzfsCkuvAR+oF0WUSqjrFM09uqoTgEc8bnSNKty7MVlm7OO3sYlONGgIxYwi\n9dNrBrAxolUxD/Idv7aThaxJCH6R+fyI9paNDudjj+UK4aW5uEfecJYtJxX6\nw/J0bqZ7IyDdj1nMsfpG+K5BvH9Tk+ocYVOdFruKU/qzFqMUBuuuaDWbW5Fc\n4boe\r\n=r/Ug\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","gitHead":"223483a140622098a87e5ad5f52c8b51e5ccc6ea","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.4.0","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_3.0.0_1588107181758_0.7339444847167738","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."},"3.0.1":{"name":"@bemoje/arr-sorted-insertion-index","version":"3.0.1","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@3.0.1","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"1c86b90dcfbe5837238207d0776ddb995a1bfb58","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-3.0.1.tgz","fileCount":5,"integrity":"sha512-zd+82o/X5ZyAWK2sGbunMSjtD8NG9n0H5BJAnb5/duN9BERER/Y716/SVRAcavgNMIBzuPzENqp4FwWkml9qyw==","signatures":[{"sig":"MEUCIQDNkJF56frW97M1aGxNe4KuGDQqrAN0wYodtrr+dVEL9gIgVZSKr5YQxmZIdyCiF+Fk5NFggajBUmgP7pyL+DXcqA0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqJwMCRA9TVsSAnZWagAAVHcP/i8cGifuovLIlkozXQLR\n5S1167qRph3M3zXc/x7rsWhpo+O+qfJTkLQ0SDcvukqYdn7e43Frr29frDQC\ntQGaZfe/wQxYbOgXQF4MiJIDVvuNccaD7VwVgpb7XwjyH3vjQ1vYahb9ha8J\ngXQFtfmPD+8twNUXIBv6N3iqMA+hH7M/w7bl9bPGC6ClYTsrvK9aI5xWX9Am\n0t7PgeU+5Rpe3dZalkzJCvgiGeSvgVTy6M16I734eQBioW9WzJ6r5zAbr/gE\nqpaPJfcY8wT3TEkLfpjf4MS/Jur0M6+AEPXhcSRiJci9nT4yuCrb6TdHGZJ6\n5OAGCGuVoGPhm0ReeW8LPmef4CwSLFlPu5Bi9B2yxkeHhrVvFvIrs6CovH1x\nfQNNMASutepGUiq8KM49Zt5Xx4VntaUPiEI7/hHkz+/mlwbd7xDQmAm49Ee2\nl8l6HAeIa6vFJCIAaaNhAV8CvNno2Tb/HXPxZGCvPv8I+xlL16l9I09pwSV0\nSDHd72xQXk9k2NbdsPnMDnXsLKSCktDK5i4i2qKuZQv/EIRm8ceWMvFNSQWK\nxHtYi9OCZ34dSIG8SDxGRlM2AAG7ocl/cf8TJ7Ai1ZvnmwGzz2icUeR3kqSL\n6PJfaIa1s7nhr6V/1dlQQ58CDNY35d543vaB9iwLfHEjL5GLc609+Il7f6BK\nrw7d\r\n=kuyY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","gitHead":"5449e541634572be49f847ebb96d502c0bf26b65","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.4.0","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_3.0.1_1588108299764_0.9923542921655377","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."},"3.0.2":{"name":"@bemoje/arr-sorted-insertion-index","version":"3.0.2","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","_id":"@bemoje/arr-sorted-insertion-index@3.0.2","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"dist":{"shasum":"a1147a32f47ded360342b82dbb8cd392cdc470eb","tarball":"https://registry.npmjs.org/@bemoje/arr-sorted-insertion-index/-/arr-sorted-insertion-index-3.0.2.tgz","fileCount":5,"integrity":"sha512-fMu/a1j0RCGcikkOdrbmOFJHO77CNlG1ufLogFhVLZ3WHH4kKpOjVsvMwfNFkpaIr85pAAxHaxLo+6gKgrEftg==","signatures":[{"sig":"MEUCIQD0qm9uLB0OVC/hPZLoCpp/n+O4ELFAorXqmnVovsuxSgIgcqttJoucO4fsIeEaL8wV5Qs5Z9RXcQytwQ5SQ5LhKQ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqsHZCRA9TVsSAnZWagAAv1wP+gKjjgc59veYJXsW6cjk\nCNEXXapj/qxEZR+Rlmq8MZ9QG0Q3yz7V5rMN4hyJBtPVVxQfgFUAoNjGOAv5\n/6Q5uEKRaHVi5IiZfUxgNynOWnYqQK6JwhLiOPuxBQf19OAaPuBfX7RLof9+\nSmCVySK3YAQ4JdfyR1ecvt5z75KrWwL69b1VENHHbQTHZtAnArlcCqxHE9NI\nLTNnUfmhH5TbP3vemqgUkyiXJSRMDpUBf3YMg83WTOOESplKmxtQ2ncSyrsk\nbt1ncQWOXovyAM8JrkrISXBMQxOdA/9QalqyBGcGT8RLoorJOOzkg3ysYpqU\n8clCE2TegxUUq6Wx0dGthRTXEcELOUaTDgqmp/5d5z/T7lFQWoQpoVCdbvTu\nM/RBsq1t9dYkAa45LoCf9zWd1Ke06SxrTRRRh/iKh1JXLeVPms3AePx3TmYB\nhi1y2bDgl1A2cBCm37a9PNXUrH2Vo7TbjfEH9AP78ho5qZbU5TZzji9O3VCI\nfVDIw7Bw+EynG6/dpTZGBwYQPpotCNAv9cz+zLQBp/16SESZFnboHytTbiqj\noQDhNwqKp7dtvER99BnG5uTdpJo7oUnrREqhs5SdRB6kCVUExYLCsgxNoouH\n7IlNADif50B+ww9iOmKDhRPoNqld5zo4JfOBgUvF2PMBWoNjwMTD1WOpZ43w\nNv9x\r\n=+7Nf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/arr-sorted-insertion-index.umd.js","github":{"user":"bemoje"},"module":"dist/arr-sorted-insertion-index.esm.js","browser":"dist/arr-sorted-insertion-index.umd.js","gitHead":"1a18add5943a489d8ddba5461115a6dd6c04f7b7","scripts":{"docs":"documentation build src/** -f md -o docs/api.md && documentation build src/** -f html -o docs","repo":"node -r esm scripts/repo.js","test":"jest","bench":"node -r esm benchmark/arr-sorted-insertion-index.benchmark.js","build":"npm run test && npm run bench && npm run rollup && npm run docs && npm run description && npm run keywords && npm run readme","clean":"rimraf","major":"npm run repo bumpVersionMajor","minor":"npm run repo bumpVersionMinor","patch":"npm run repo bumpVersionPatch","commit":"npm run repo gitCommit","readme":"npm run repo writeReadme","rename":"npm run repo rename","rollup":"rollup -c","example":"node -r esm examples/arr-sorted-insertion-index.example.js","publish":"npm run repo npmPublish","version":"npm run repo version","keywords":"npm run repo keywords","git-create":"rimraf .git && npm run repo gitCreate","git-delete":"rimraf .git && bash scripts/github-delete.sh bemoje bemoje-arr-sorted-insertion-index","description":"npm run repo description"},"_npmUser":{"name":"bemoje","email":"bemoje@gmail.com"},"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"_npmVersion":"6.12.1","description":"Find the array index of where to add an element to keep it sorted.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"@bemoje/assert-args":"^1.0.0","@bemoje/assert-type":"^1.0.0","@bemoje/arr-sort-comparator":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"esm":"^3.2.25","jest":"^24.9.0","path":"^0.12.7","rimraf":"^3.0.2","rollup":"^1.32.1","fs-extra":"^9.0.0","hirestime":"^6.0.1","walk-sync":"^2.1.0","babel-core":"^6.26.3","babel-jest":"^25.5.1","documentation":"^12.3.0","babel-preset-env":"^1.7.0","keyword-extractor":"0.0.18","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-resolve":"^5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/arr-sorted-insertion-index_3.0.2_1588249048557_0.9453049210138442","host":"s3://npm-registry-packages"},"deprecated":"Package is not maintained."}},"time":{"created":"2020-04-28T20:00:19.090Z","modified":"2025-06-17T23:55:55.177Z","1.0.0":"2020-04-28T20:00:19.355Z","1.1.0":"2020-04-28T20:19:09.189Z","2.0.0":"2020-04-28T20:42:17.128Z","3.0.0":"2020-04-28T20:53:01.936Z","3.0.1":"2020-04-28T21:11:39.897Z","3.0.2":"2020-04-30T12:17:28.667Z"},"bugs":{"url":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/issues","email":"bemoje@gmail.com"},"author":{"url":"https://github.io/bemoje/","name":"Benjamin M. Jensen","email":"bemoje@gmail.com"},"license":"MIT","homepage":"https://github.com/bemoje/bemoje-arr-sorted-insertion-index#readme","keywords":["find","array","index","add","element","sorted","arr","insertion","[compare]","[comparenumeric=false]","sort","numerically","defaults","lexicographic/alphabetic","[comparedescending=false]","descending","order","ascending","[comparearray=false]","arrays","nested","compared","recursively","[compareby=undefined]","callbackelement","object","keys","dot-notation","support","callback","type","definition","getter","arrsortedinsertionindex"],"repository":{"url":"git+https://github.com/bemoje/bemoje-arr-sorted-insertion-index.git","type":"git"},"description":"Find the array index of where to add an element to keep it sorted.","maintainers":[{"name":"bemoje","email":"bemoje@gmail.com"}],"readme":"# @bemoje/arr-sorted-insertion-index\n\nFind the array index of where to add an element to keep it sorted.\n\n#### Version\n\n<span><a href=\"https://npmjs.org/@bemoje/arr-sorted-insertion-index\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/@bemoje/arr-sorted-insertion-index\" alt=\"NPM version\" /></a></span>\n\n#### Travis CI\n\n<span><a href=\"https://npmjs.org/@bemoje/arr-sorted-insertion-index\" title=\"View this project on NPM\"><img src=\"https://travis-ci.org/bemoje/bemoje-arr-sorted-insertion-index.svg?branch=master\" alt=\"dependencies\" /></a></span>\n\n#### Dependencies\n\n<span><a href=\"https://npmjs.org/@bemoje/arr-sorted-insertion-index\" title=\"View this project on NPM\"><img src=\"https://david-dm.org/bemoje/bemoje-arr-sorted-insertion-index.svg\" alt=\"dependencies\" /></a></span>\n\n#### Stats\n\n<span><a href=\"https://npmjs.org/@bemoje/arr-sorted-insertion-index\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dt/@bemoje/arr-sorted-insertion-index\" alt=\"NPM downloads\" /></a></span>\n<span><a href=\"https://github.com/bemoje/bemoje-arr-sorted-insertion-index/fork\" title=\"Fork this project\"><img src=\"https://img.shields.io/github/forks/bemoje/bemoje-arr-sorted-insertion-index\" alt=\"Forks\" /></a></span>\n\n#### Donate\n\n<span><a href=\"https://www.buymeacoffee.com/bemoje\" title=\"Donate to this project using Buy Me A Beer\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?label=Buy me a beer!\" alt=\"Buy Me A Beer donate button\" /></a></span>\n<span><a href=\"https://paypal.me/forstaaloen\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg?label=PayPal\" alt=\"PayPal donate button\" /></a></span>\n\n## Installation\n\n```sh\nnpm install @bemoje/arr-sorted-insertion-index\nnpm install --save @bemoje/arr-sorted-insertion-index\nnpm install --save-dev @bemoje/arr-sorted-insertion-index\n```\n\n## Usage\n\n```javascript\n\nimport arrSortedInsertionIndex from '@bemoje/arr-sorted-insertion-index'\n\n/**\n * FIND THE INDEX OF WHERE TO ADD AN ELEMENT TO KEEP IT SORTED\n */\n\nconst alpha = ['a', 'b', 'd', 'e']\n\narrSortedInsertionIndex(alpha, 'c')\n//=> 2\n\n/**\n * ACCEPTS A CUSTOM COMPARATOR FUNCTION\n * Compares numerically\n */\n\nconst numeric1 = [0, 1, 3, 4, 5]\n\narrSortedInsertionIndex(numeric1, 2, (a, b) => {\n  return a - b\n})\n//=> 3\n\n/**\n * ALSO TAKES ADVANCED COMPARATOR BUILDER OPTIONS\n */\n\nconst numeric2 = [0, 1, 3, 4, 5]\n\narrSortedInsertionIndex(numeric, 2, {\n  numeric: true,\n})\n//=> 3\n\n/**\n * DESCENDING EXAMPLE\n */\n\nconst descending = [5, 4, 3, 2, 0]\n\narrSortedInsertionIndex(descending, 1, {\n  numeric: true,\n  descending: true,\n})\n//=> 4\n\n/**\n * To see more examples of using the comparator builder, visit:\n *  https://github.com/bemoje/bemoje-arr-sort-comparator\n */\n\n```\n\n\n## Tests\nUses *Jest* to test module functionality. Run tests to get coverage details.\n\n```bash\nnpm run test\n```\n\n## API\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [arrSortedInsertionIndex][1]\n\n    -   [Parameters][2]\n\n-   [getter][3]\n\n    -   [Parameters][4]\n\n## arrSortedInsertionIndex\n\nFind the array index of where to add an element to keep it sorted.\n\n##### Parameters\n\n-   `arr` **[Array][5]** The array\n\n-   `element` **any** The element for which to find its insertion index\n\n-   `compare` **([function][6] \\| [object][7])?** \n\n    -   `compare.numeric` **[boolean][8]** Sort numerically. Defaults to lexicographic/alphabetic sort. (optional, default `false`)\n\n    -   `compare.descending` **[boolean][8]** Sort in descending order. Defaults to ascending order. (optional, default `false`)\n\n    -   `compare.array` **[boolean][8]** Sort arrays. Nested arrays are also compared recursively. (optional, default `false`)\n\n    -   `compare.by` **([number][9] \\| [string][10] \\| [getter][11])** Sort by either array index, a callback(element): any - or by object keys with dot-notation support. (optional, default `undefined`)\n\nReturns **[number][9]** The insertion index\n\n## getter\n\nCallback type definition.\n\nType: [Function][6]\n\n##### Parameters\n\n-   `a` **any** The value\n\nReturns **any** The value to be compared\n\n[1]: #arrsortedinsertionindex\n\n[2]: #parameters\n\n[3]: #getter\n\n[4]: #parameters-1\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array\n\n[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function\n\n[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n\n[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String\n\n[11]: #getter","readmeFilename":"readme.md"}