Search results
87 packages found
Simple function `binaryInsert(array, value, comparator)` that provides binary insert functionality for a **sorted** array in javascript. This is mostly intended for larger arrays, and the performance gain may be viewed in the [benchmark](#benchmarks).
Conditionally add elements to object/array
Easily insert items in an array without mutating the original array.
Insert an element in an array after the given index.
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
array,nest,visitor
An module to facilitate interval insertion into an array
Inserts a value to an ordered array.
Inserts a value to an ordered array.
Inserts a value to an ordered array.
Data structures, data types, and algorithms with superpowers! 💪
- javascript
- types
- data-structures
- data-types
- algorithms
- sorting-algorithms
- super
- superpowers
- array
- avltree
- binarytree
- bubblesort
- heap
- insertionsort
- View more
Linq for javascript
- linq
- array
- addRange
- aggregate
- average
- clear
- distinct
- firstOrDefault
- insertAt
- insertRangeAt
- getRange
- groupBy
- innerJoin
- lastOrDefault
- View more
Inserts a value to an ordered array.
Arranges values in an order.
Arranges values in an order.
Arranges values in an order.
Arranges values in an order.
A class to demonstrate various sorting methods
Dtbase gets an array of objects, do something with them and return result.
Add elements conditionally into arrays or object literals.