7 packages found

M
Q
P

Description

Binary search -based indexOf for sorted arrays.

Keywords

Publisher

published 1.0.25 months ago
M
Q
P

Description

Find the array index of where to add an element to keep it sorted.

Keywords

Publisher

published 3.0.25 months ago
M
Q
P

Description

For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator

Keywords

Publisher

published 1.0.45 months ago
M
Q
P

Description

Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa

Keywords

Publisher

published 1.0.25 months ago
M
Q
P

Description

Binary search -based indexOf for sorted arrays.

Keywords

Publisher

published 1.0.25 months ago
M
Q
P

Description

Find all indexes at which an array element exists, by binary search.

Keywords

Publisher

published 1.0.15 months ago
M
Q
P

Description

Remove all duplicate elements in a sorted array, leaving only uniques.

Keywords

Publisher

published 1.0.15 months ago