Search results

225 packages found

Filter an array and produce a human-readable result as a string

published 1.0.0 9 years ago
M
Q
P

Convert arrays into objects by using unique fields.

published 1.0.12 4 years ago
M
Q
P

Map object keys and values into an array

published 1.2.1 6 years ago
M
Q
P

Shallow clone of provided array, 'arr'.

published 1.0.2 4 years ago
M
Q
P

Linear-time Partitioning. Runtime: O(n). Chooses a pivot and re-arrages the array so that everything on the left is <= pivot and everything on the right is > pivot

published 1.0.1 4 years ago
M
Q
P

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

published 1.0.2 4 years ago
M
Q
P

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

published 1.0.4 4 years ago
M
Q
P

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

published 1.0.1 4 years ago
M
Q
P

Array#includes with support for regex

published 1.0.0 9 years ago
M
Q
P

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

published 3.0.2 4 years ago
M
Q
P

Flattens the passed array recursively.

published 3.0.0 4 years ago
M
Q
P

Binary search -based indexOf for sorted arrays.

published 1.0.2 4 years ago
M
Q
P

Remove an element in place from an array, if present.

published 2.0.1 4 years ago
M
Q
P

Create an array or array-like without duplicates

published 1.0.2 9 years ago
M
Q
P

We are lazy, also [lazy-cache][]d and [browserify][]-ready - just arrayify, falsey values returns empty array. In bonus with `.isArray` method.

published 1.0.3 8 years ago
M
Q
P

The fastest sorting algorithm ever with the speed of O(1)

published 1.1.5 4 years ago
M
Q
P

A tiny, faster alternative to native Array.prototype.reduce

published 1.0.3 4 years ago
M
Q
P

A tiny, faster alternative to native Array.prototype.forEach

published 1.0.1 5 years ago
M
Q
P

A tiny, faster alternative to native Array.prototype.find

published 1.0.1 5 years ago
M
Q
P

A tiny, faster alternative to native Array.prototype.filter

published 1.0.2 5 years ago
M
Q
P