JSPM

Found 9801 results for array utility

itypefilter

A high-performance TypeScript utility package for filtering and manipulating arrays with an optimized React component for interactive filtering UI

  • v1.0.4
  • 68.61
  • Published

flat-util

Flatten a nested array.

  • v1.1.11
  • 68.42
  • Published

topkat-utils

A comprehensive collection of TypeScript/JavaScript utility functions for common programming tasks. Includes validation, object manipulation, date handling, string formatting, and more. Zero dependencies, fully typed, and optimized for performance.

  • v1.3.24
  • 68.14
  • Published

is-empty-data

Tiny utility to check if a value is empty

    • v1.0.1
    • 66.28
    • Published

    p-locate

    Get the first fulfilled promise that satisfies the provided testing function

    • v6.0.0
    • 65.65
    • Published

    fixed-array

    A small utility for storing and working with a fixed-length history of (ususally numeric) values.

    • v1.0.0
    • 64.61
    • Published

    locate-path

    Get the first path that exists on disk of multiple paths

    • v7.2.0
    • 64.44
    • Published

    kind-of

    Get the native type of a value.

    • v6.0.3
    • 64.24
    • Published

    isarray

    Array#isArray for older browsers

    • v2.0.5
    • 63.65
    • Published

    @bnidev/js-utils

    JavaScript utility functions for various tasks

    • v0.3.0
    • 62.92
    • Published

    is-arrayish

    Determines if an object can be used as an array

    • v0.3.2
    • 62.60
    • Published

    yocto-queue

    Tiny queue data structure

    • v1.2.1
    • 62.51
    • Published

    fill-range

    Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

    • v7.1.1
    • 62.49
    • Published

    array-last

    Get the last or last n elements in an array.

    • v1.3.0
    • 62.13
    • Published

    is-typed-array

    Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.

    • v1.1.15
    • 61.52
    • Published

    run-parallel

    Run an array of functions in parallel

    • v1.2.0
    • 61.41
    • Published

    array-union

    Create an array of unique values, in order, from the input arrays

    • v3.0.1
    • 61.29
    • Published

    array-initial

    Get all but the last element or last n elements of an array.

    • v1.1.0
    • 61.14
    • Published

    is-extendable

    Returns true if a value is a plain object, array or function.

    • v1.0.1
    • 61.03
    • Published

    @gullerya/object-observer

    object-observer utility provides simple means to (deeply) observe specified object/array changes; implemented via native Proxy; changes delivered in a synchronous way

    • v6.1.4
    • 61.01
    • Published

    which-typed-array

    Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.

    • v1.1.19
    • 60.93
    • Published

    fixed-len-array

    A tiny and type-safe TypeScript utility to create and work with fixed-length arrays (tuples).

    • v1.10.0
    • 60.49
    • Published

    array.prototype.flat

    An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.

    • v1.3.3
    • 60.39
    • Published

    is-array-buffer

    Is this value a JS ArrayBuffer?

    • v3.0.5
    • 60.39
    • Published

    advarr

    Advanced Array utility functions. Extra arguments for map and forEach including first, last, brk, odd, even, penultimate, and more!

    • v0.4.0
    • 60.09
    • Published

    array-includes

    An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.

    • v3.1.9
    • 59.86
    • Published

    arrify

    Convert a value to an array

    • v3.0.0
    • 59.60
    • Published

    array.prototype.flatmap

    An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.

    • v1.3.3
    • 59.54
    • Published

    @ffras4vnpm/vitae-facere-tempora

    A utility that provides a fluent, convenient interface for working with arrays of data in JavaScript. Influenced by Laravel Collections.

    • v1.0.0
    • 59.31
    • Published

    is-typedarray

    Detect whether or not an object is a Typed Array

    • v1.0.0
    • 58.71
    • Published

    simple-swizzle

    Simply swizzle your arguments

    • v0.2.2
    • 58.69
    • Published

    typedarray

    TypedArray polyfill for old browsers

    • v0.0.7
    • 58.60
    • Published

    has-value

    Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

    • v2.0.2
    • 58.58
    • Published

    d3-array

    Array manipulation, ordering, searching, summarizing, etc.

    • v3.2.4
    • 58.56
    • Published

    collo

    A simple npm utility package for managing collection functions

    • v1.5.5
    • 58.56
    • Published

    array.prototype.tosorted

    An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

    • v1.1.4
    • 58.49
    • Published

    object.groupby

    An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.

    • v1.0.3
    • 58.39
    • Published

    safe-push-apply

    Push an array of items into an array, while being robust against prototype modification

    • v1.0.0
    • 58.23
    • Published

    shallow-clone

    Creates a shallow clone of any JavaScript value.

    • v3.0.1
    • 58.14
    • Published

    array.prototype.findlastindex

    An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.

    • v1.2.6
    • 58.09
    • Published

    array.prototype.findlast

    An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.

    • v1.2.5
    • 58.09
    • Published

    @codecaine/utils-library

    A comprehensive TypeScript utility library with 250+ functions across 7 categories

    • v1.0.0
    • 58.04
    • Published

    ts-deep-utils

    A TypeScript utility library focused on deep operations for objects and arrays with full type safety. Similar to Lodash, but narrower in scope and fully written in TypeScript to maximize typing support.

    • v1.5.0
    • 58.00
    • Published

    array-unique

    Remove duplicate values from an array. Fastest ES5 implementation.

    • v0.3.2
    • 57.71
    • Published

    postgres-array

    Parse postgres array columns

    • v3.0.4
    • 57.67
    • Published

    clone-deep

    Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.

    • v4.0.1
    • 57.33
    • Published

    builtin-modules

    A static list of the Node.js builtin modules from the latest Node.js version

    • v5.0.0
    • 57.29
    • Published

    arr-diff

    Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.

    • v4.0.0
    • 56.92
    • Published

    @iamnapo/average

    Small utility function to calculate the average value of an array

    • v1.3.0
    • 56.89
    • Published

    sort-keys

    Sort the keys of an object

    • v6.0.0
    • 56.62
    • Published

    array-events

    Events and more for arrays

    • v2.0.1
    • 56.36
    • Published

    collection-visit

    Visit a method over the items in an object, or map visit over the objects in an array.

    • v1.0.0
    • 56.35
    • Published

    map-visit

    Map `visit` over an array of objects.

    • v1.0.0
    • 56.12
    • Published

    repeat-element

    Create an array by repeating the given value n times.

    • v1.1.4
    • 56.08
    • Published

    arr-flatten

    Recursively flatten an array or arrays.

    • v1.1.0
    • 56.07
    • Published

    union-value

    Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.

    • v2.0.1
    • 56.05
    • Published

    class-utils

    Utils for working with JavaScript classes and prototype methods.

    • v0.3.6
    • 56.02
    • Published

    array-uniq

    Create an array without duplicates

    • v3.0.0
    • 55.99
    • Published

    es6-iterator

    Iterator abstraction based on ES6 specification

    • v2.0.3
    • 55.59
    • Published

    @jay-es/pagination

    A simple pagination utility, with humble operation ability.

    • v0.1.0
    • 55.59
    • Published

    is-builtin-module

    Check if a string matches the name of a Node.js builtin module

    • v5.0.0
    • 55.07
    • Published

    typechecker

    Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

    • v9.3.0
    • 54.96
    • Published

    diff-arrays

    Utility method for finding the difference between arrays, showing which array has which differences

    • v1.0.0
    • 54.80
    • Published

    array-ify

    Turn anything into an array

    • v1.0.0
    • 54.80
    • Published

    compare-func

    Get a compare function for array to sort

    • v2.0.0
    • 54.79
    • Published

    array-back

    Guarantees an array back

    • v6.2.2
    • 54.78
    • Published

    typical

    Isomorphic, functional type-checking for Javascript

    • v7.3.0
    • 54.72
    • Published

    async-each

    No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.

    • v1.0.6
    • 54.61
    • Published

    @budibase/handlebars-helpers

    More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.

    • v0.14.2
    • 54.52
    • Published

    array-differ

    Create an array with values that are present in the first input array but not additional ones

    • v4.0.0
    • 54.50
    • Published

    combine-lists

    Merge two lists, trying to preserve the order of both

    • v1.0.1
    • 53.99
    • Published

    array.prototype.reduce

    An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.

    • v1.0.8
    • 53.95
    • Published

    globjoin

    Join paths and globs.

    • v0.1.4
    • 53.54
    • Published

    iterare

    Array methods for ES6 Iterators

    • v1.2.1
    • 53.32
    • Published

    array-slice

    Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.

    • v1.1.0
    • 53.25
    • Published

    sort-by

    Sort objects by property names using native Array.sort()

    • v1.2.0
    • 53.16
    • Published

    async-utils-ts

    A collection of utility functions for asynchronous operations in TypeScript.

    • v1.0.2
    • 53.10
    • Published

    uniq

    Removes duplicates from a sorted array in place

    • v1.0.1
    • 53.04
    • Published

    array-hyper-unique

    Get unique values of an array. Really, like deeply unique.

    • v2.1.6
    • 53.03
    • Published

    hoopy

    Like an array, but rounder.

    • v0.1.4
    • 52.99
    • Published

    into-stream

    Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

    • v8.0.1
    • 52.75
    • Published

    longest

    Get the longest item in an array.

    • v2.0.1
    • 52.61
    • Published

    promise-any-first

    Utility for working with an array of promises

    • v1.0.0
    • 52.51
    • Published

    lodash-updated

    A modern, comprehensive utility library with complete Lodash parity plus advanced features

    • v1.0.0
    • 52.49
    • Published

    array-each

    Loop over each item in an array and call the given function on every element.

    • v1.0.1
    • 52.22
    • Published

    make-iterator

    Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.

    • v2.0.0
    • 52.01
    • Published

    javascript-natural-sort

    Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license

    • v0.7.1
    • 52.01
    • Published

    handlebars-helpers

    More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.

    • v0.10.0
    • 51.95
    • Published

    @emiplegiaqmnpm/quam-perspiciatis-perferendis

    Objix is a delightfully convienient, high performance, zero dependency and super lightweight utility which extends the javascript standard library to sugar many common use cases for working with any objects.

    • v1.0.0
    • 51.91
    • Published

    find-replace

    Replace or remove multiple items in an array.

    • v5.0.2
    • 51.89
    • Published

    array-equal

    Check if two arrays are equal

    • v2.0.0
    • 51.68
    • Published

    shallow-equal

    Typescript-compatible minimalistic shallow equality check for arrays/objects

    • v3.1.0
    • 51.57
    • Published

    indexof

    Microsoft sucks

      • v0.0.1
      • 51.37
      • Published

      superstruct

      A simple and composable way to validate data in JavaScript (and TypeScript).

      • v2.0.2
      • 51.34
      • Published

      natural-orderby

      Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.

      • v5.0.0
      • 51.31
      • Published

      is-valid-glob

      Return true if a value is a valid glob pattern or patterns.

      • v1.0.0
      • 51.15
      • Published

      iterate-value

      Iterate any iterable JS value. Works robustly in all environments, all versions.

      • v1.0.2
      • 51.08
      • Published

      overlaps

      Simple utility that checks whether or not two arrays overlap. It is equivalent to intersection(arr1, arr2).length > 0, but is more performant.

      • v1.0.0
      • 50.85
      • Published

      @utilify/core

      Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B

      • v2.0.3
      • 50.83
      • Published

      stream-to-array

      Concatenate a readable stream's data into a single array

      • v2.3.0
      • 50.58
      • Published

      @arr/unique

      A tiny (111B) & fast utility to retrieve all unique values from an Array

      • v1.0.1
      • 50.37
      • Published

      array.prototype.map

      An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.

      • v1.0.8
      • 50.21
      • Published

      array.prototype.filter

      An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.

      • v1.0.4
      • 50.01
      • Published

      run-series

      Run an array of functions in series

      • v1.1.9
      • 49.34
      • Published

      array-filter

      Array#filter for older browsers.

      • v1.0.0
      • 49.34
      • Published

      p-waterfall

      Run promise-returning & async functions in series, each passing its result to the next

      • v3.0.0
      • 49.25
      • Published

      reduce-flatten

      Isomorphic map-reduce function to flatten an array into the supplied array

      • v3.0.1
      • 49.25
      • Published

      array.prototype.toreversed

      An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.

      • v1.1.2
      • 49.13
      • Published

      intersect-arrays-to-stream

      A utility that takes 1 or more sorted arrays and emits a node stream event whenever an intersection is found

        • v0.0.3
        • 49.00
        • Published

        response-iterator

        Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch

        • v1.0.1
        • 48.94
        • Published

        walk-collection

        Useful utility for recursively traversing Arrays and Objects.

        • v2.1.0
        • 48.90
        • Published

        array-from

        A ponyfill for the ES 2015 (ES6) `Array.from()`.

        • v2.1.1
        • 48.86
        • Published

        arr-filter

        Faster alternative to javascript's native filter method.

        • v1.1.2
        • 48.83
        • Published

        compute-gcd

        Computes the greatest common divisor (gcd).

        • v1.2.1
        • 48.75
        • Published

        ends-with

        Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.

        • v1.0.1
        • 48.66
        • Published

        run-parallel-limit

        Run an array of functions in parallel, but limit the number of tasks executing at the same time

        • v1.1.0
        • 48.63
        • Published

        compute-lcm

        Computes the least common multiple (lcm).

        • v1.1.2
        • 48.55
        • Published

        async-foreach

        An optionally-asynchronous forEach with an interesting interface.

        • v0.1.3
        • 48.53
        • Published

        starts-with

        Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.

        • v1.0.2
        • 48.52
        • Published

        array-sort

        Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.

        • v1.0.0
        • 48.40
        • Published

        shallow-copy

        make a shallow copy of an object or array

        • v0.0.1
        • 48.32
        • Published

        arr-map

        Faster, node.js focused alternative to JavaScript's native array map.

        • v2.0.2
        • 48.27
        • Published

        array-iterate

        `Array#forEach()` but it’s possible to define where to move to next

        • v2.0.1
        • 48.06
        • Published

        @util.js/arrays

        JavaScript utility methods for arrays

        • v0.41.3
        • 48.03
        • Published

        sort-object

        Sort the keys in an object.

        • v3.0.3
        • 47.74
        • Published

        sort-asc

        Sort array elements in ascending order.

        • v0.2.0
        • 47.73
        • Published

        find-index

        finds an item in an array matching a predicate function, and returns its index

        • v1.1.1
        • 47.67
        • Published

        @hapi/vise

        Treat multiple buffers as one

        • v5.0.1
        • 47.66
        • Published

        array-map

        `[].map(f)` for older browsers

        • v0.0.1
        • 47.57
        • Published

        @ffras4vnpm/inventore-aliquam-quisquam

        @ffras4vnpm/inventore-aliquam-quisquam is a Node.js module to mask various kinds of data. With the help of @ffras4vnpm/inventore-aliquam-quisquam, you can mask email, phone number, card number, JSON fields, password, etc... <br/>Also, it provides utility

        • v1.0.0
        • 47.47
        • Published

        sort-desc

        Sort array elements in descending order.

        • v0.2.0
        • 47.47
        • Published

        structkit

        JS/TS utility tool that offers your wide varity of function to simplify your problem with the data

        • v1.4.873
        • 47.46
        • Published

        levenary

        [![npm-version](https://img.shields.io/npm/v/levenary.svg)](https://www.npmjs.com/package/levenary) [![github-actions](https://github.com/tanhauhau/levenary/workflows/CI/badge.svg)](https://github.com/tanhauhau/levenary/actions)

        • v1.1.1
        • 47.43
        • Published

        sort-any

        Sorts any JavaScript array in a predictable way (deep equal arrays are always sorted in the same order)

        • v4.0.6
        • 47.26
        • Published

        finmath

        The FinTech utility collections of simple, cumulative, and exponential moving averages.

        • v2.0.1
        • 47.25
        • Published

        array-find

        ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.

        • v1.0.0
        • 47.17
        • Published

        sliced

        A faster Node.js alternative to Array.prototype.slice.call(arguments)

        • v1.0.1
        • 46.97
        • Published

        as-array

        Make any value an array. No dependencies.

        • v2.0.0
        • 46.94
        • Published

        any

        Returns `true` if a value exists in the given string, array or object.

        • v1.0.0
        • 46.75
        • Published

        utils-indexof

        Returns the first index at which a given element can be found.

        • v1.0.0
        • 46.70
        • Published

        @jood/common

        javascript array, string, number, point, color, cache, date utility/helper

        • v0.4.3
        • 46.66
        • Published

        all-of-just

        A single collection of all of Just utility functions in one single library

        • v3.0.0
        • 46.55
        • Published

        ndarray

        Multidimensional Arrays

        • v1.0.19
        • 46.51
        • Published

        array-reduce

        `[].reduce()` for old browsers

        • v0.0.0
        • 46.50
        • Published

        p-iteration

        Make array iteration easy when using async/await and Promises

        • v1.1.8
        • 46.27
        • Published

        on-change

        Watch an object or array for changes

        • v5.0.1
        • 46.24
        • Published

        iota-array

        Generates an array of consecutive integers starting at 0

        • v1.0.0
        • 46.23
        • Published

        is-empty

        Check whether a value is "empty".

        • v1.2.0
        • 46.07
        • Published

        order-diff

        Javascript utility for calculating deep difference with order, capturing changes, and applying changes across objects; for nodejs and the browser.

        • v1.0.6
        • 45.88
        • Published

        thiru-utils-gokul

        A comprehensive TypeScript utility library providing helper functions for arrays, objects, strings, and more

        • v1.0.0
        • 45.83
        • Published

        async-arrays

        Async control for arrays

        • v2.0.0
        • 45.74
        • Published

        @stdlib/utils-index-of

        Return the first index at which a given element can be found.

        • v0.2.2
        • 45.60
        • Published

        @metamask/superstruct

        A simple and composable way to validate data in JavaScript (and TypeScript).

        • v3.2.1
        • 45.17
        • Published

        @arr/every

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

        • v1.0.1
        • 45.16
        • Published

        first-match

        Find the first element in an array that passes a callback test. Equivalent to underscore.find()

        • v0.0.1
        • 45.12
        • Published

        is-odd

        Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.

        • v3.0.1
        • 45.08
        • Published

        split-array-stream

        Safely push each item of an array to a stream

        • v2.0.0
        • 45.00
        • Published

        sort-on

        Sort an array on an object property

        • v6.1.0
        • 44.87
        • Published

        @arr/flatten

        A tiny (139B) & fast utility to recursively flatten an array of arrays!

        • v1.0.1
        • 44.86
        • Published

        dtype

        Return a data type from a string representing the type

        • v2.0.0
        • 44.68
        • Published

        rr

        Component to iterate an array round robin.

        • v0.1.0
        • 44.66
        • Published

        ndarray-pack

        Packs an array-of-arrays into a single ndarray

        • v1.2.1
        • 44.66
        • Published

        @75lb/deep-merge

        Deep-merge the values of one object structure into another

        • v1.1.2
        • 44.59
        • Published

        php-array-reader

        Reads PHP arrays from a string into a JavaScript object

        • v2.1.2
        • 44.55
        • Published

        dup

        Initialize an array of arrays to a constant

        • v1.0.0
        • 44.52
        • Published

        array-intersection

        Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.

        • v0.1.2
        • 44.46
        • Published

        nested-equal

        A tiny (~200B) and fast nested/deep equality utility

        • v1.0.1
        • 44.37
        • Published

        arr-rotate

        Rotate all items in an array

        • v1.0.0
        • 44.28
        • Published

        array-rearrange

        Rearrange array elements by index array

        • v2.2.2
        • 44.25
        • Published

        array-range

        creates a new array with given range

        • v1.0.1
        • 44.25
        • Published

        get-set-props

        List of getter/setter properties for JavaScript types

        • v0.2.0
        • 44.18
        • Published

        array-normalize

        Normalize array (possibly n-dimensional) to zero mean and unit variance

        • v2.0.0
        • 44.08
        • Published

        array-bounds

        Find [nd-]array min/max values

        • v1.0.1
        • 43.94
        • Published

        dot-path-value

        Safely get deep nested properties using dot notation

        • v0.0.11
        • 43.92
        • Published

        section-iterator

        Simple iterator for flat and multi section lists

        • v2.0.0
        • 43.81
        • Published

        deep-copy

        Deep copy objects and arrays

        • v1.4.2
        • 43.80
        • Published

        array-move

        Move an array item to a different position

        • v4.0.0
        • 43.78
        • Published

        @osaedasia/std

        A collection of standard utility classes and functions designed to enhance your TypeScript development experience.

        • v0.3.0
        • 43.62
        • Published

        intersperse

        Add an object to an array between each element

        • v1.0.0
        • 43.61
        • Published

        common-sequence

        Returns an array containing the initial elements which both input arrays have in common

        • v3.0.0
        • 43.57
        • Published

        obj-props

        List of properties for JavaScript objects

        • v2.0.0
        • 43.57
        • Published

        js-types

        List of JavaScript types

        • v4.0.0
        • 43.57
        • Published

        jsonexport

        Makes easy to convert JSON to CSV

        • v3.2.0
        • 43.36
        • Published

        bytebuffer

        The swiss army knife for binary data in JavaScript.

        • v5.0.1
        • 43.25
        • Published

        humanize-list

        Comma delimit an array for human readability, the Oxford comma is optional.

        • v1.0.1
        • 43.21
        • Published

        @thi.ng/arrays

        Array / Arraylike utilities

        • v2.13.10
        • 43.07
        • Published

        to-rotated

        Rotate an array by a given number of steps

        • v1.0.0
        • 43.07
        • Published

        get-closest

        Compare your item to items in an array and get the closest one.

        • v0.0.4
        • 43.05
        • Published

        make-array

        Creates a real Array from almost anything.

        • v1.0.5
        • 42.95
        • Published

        sort-array

        Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order

        • v5.1.1
        • 42.92
        • Published

        compute-dot

        Computes the dot product between two numeric arrays.

        • v1.1.0
        • 42.74
        • Published

        @thi.ng/equiv

        Extensible deep value equivalence checking for any data types

        • v2.1.91
        • 42.68
        • Published

        is-even

        Return true if the given number is even.

        • v1.0.0
        • 42.67
        • Published

        expand-braces

        Wrapper for [braces] to enable brace expansion for arrays of patterns.

        • v0.1.2
        • 42.60
        • Published

        fast-shuffle

        A fast implementation of a fisher-yates shuffle that does not mutate the source array.

        • v6.1.1
        • 42.53
        • Published

        @thi.ng/zipper

        Functional tree editing, manipulation & navigation

        • v2.1.148
        • 42.46
        • Published

        array.prototype.every

        An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.

        • v1.1.7
        • 42.37
        • Published