Search results
121 packages found
Generate and compare MD5 files
Create array comparator function.
- create
- array
- comparator
- function
- [options]
- [optionsnumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [optionsdescending=false]
- descending
- order
- ascending
- View more
Class that handles comparators and makes it easy for programmer to compare objects or primitive types inside more complicated classes.
A library for composing complex compare-functions
Utility methods for creating comparators, ie. function(left,right) : number.
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
A repository that contains data structures, algorithms and more.
This is a number or string comparator
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
- sorted
- array
- add
- element
- whichever
- comparator
- function
- sort
- passed
- supports
- comparator-builder
- options
- reference
- https://github.com/bemoje/bemoje-arr-sort-comparator
- View more
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
- sort
- array
- considerably
- faster
- native
- arrayprototypesort
- drop-in
- replacement
- fork
- famous
- timsort
- module
- passing
- comparator-builder
- View more
Compose comparator functions (in order of importance) for Array.sort()
Find all indexes at which an array element exists, by binary search.
- find
- indexes
- array
- element
- exists
- binary
- search
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [comparedescending=false]
- View more
Remove all duplicate elements in a sorted array, leaving only uniques.
- remove
- duplicate
- elements
- sorted
- array
- leaving
- uniques
- arr
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
Configurable comparator for use in the array.sort() call
Provides chainable comparator-function generators a la Java 8 Comparators
Comparators and Comparator Combinators for JavaScript
Sort a DOM node's children