JSPM

Found 9803 results for array type

sorted-array-type

Array with sorted insertion and optimized search methods.

  • v1.3.0
  • 64.14
  • Published

find-index

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

  • v1.1.1
  • 64.11
  • Published

array-find

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

  • v1.0.0
  • 64.02
  • Published

split-array-stream

Safely push each item of an array to a stream

  • v2.0.0
  • 62.86
  • Published

array-from

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

  • v2.1.1
  • 62.66
  • Published

indexof

Microsoft sucks

    • v0.0.1
    • 62.60
    • Published

    yocto-queue

    Tiny queue data structure

    • v1.2.1
    • 62.17
    • 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.14
    • Published

    compute-gcd

    Computes the greatest common divisor (gcd).

    • v1.2.1
    • 62.00
    • Published

    prelude-ls

    prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.

    • v1.2.1
    • 61.93
    • Published

    compute-lcm

    Computes the least common multiple (lcm).

    • v1.1.2
    • 61.86
    • Published

    asynckit

    Minimal async jobs utility library, with streams support

    • v0.4.0
    • 61.76
    • Published

    longest

    Get the longest item in an array.

    • v2.0.1
    • 61.65
    • Published

    natural-orderby

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

    • v5.0.0
    • 61.64
    • Published

    hoopy

    Like an array, but rounder.

    • v0.1.4
    • 61.63
    • 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
    • 61.32
    • Published

    run-parallel

    Run an array of functions in parallel

    • v1.2.0
    • 61.29
    • Published

    array-union

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

    • v3.0.1
    • 60.89
    • Published

    array-type

    the array type info object.

    • v0.1.0
    • 60.82
    • 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
    • 60.81
    • Published

    shallow-equal

    Typescript-compatible minimalistic shallow equality check for arrays/objects

    • v3.1.0
    • 60.81
    • Published

    sliced

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

    • v1.0.1
    • 60.32
    • Published

    falsey

    Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.

    • v1.0.0
    • 60.20
    • Published

    is-valid-glob

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

    • v1.0.0
    • 60.16
    • Published

    array-includes

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

    • v3.1.9
    • 60.07
    • Published

    is-array-buffer

    Is this value a JS ArrayBuffer?

    • v3.0.5
    • 60.04
    • Published

    array-rearrange

    Rearrange array elements by index array

    • v2.2.2
    • 59.90
    • 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.85
    • Published

    iterate-value

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

    • v1.0.2
    • 59.84
    • Published

    array.prototype.flat

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

    • v1.3.3
    • 59.62
    • Published

    @arr/every

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

    • v1.0.1
    • 59.61
    • Published

    array-range

    creates a new array with given range

    • v1.0.1
    • 59.58
    • Published

    dup

    Initialize an array of arrays to a constant

    • v1.0.0
    • 59.53
    • Published

    array-move

    Move an array item to a different position

    • v4.0.0
    • 59.27
    • Published

    arrify

    Convert a value to an array

    • v3.0.0
    • 59.16
    • Published

    is-typedarray

    Detect whether or not an object is a Typed Array

    • v1.0.0
    • 58.94
    • Published

    ndarray

    Multidimensional Arrays

    • v1.0.19
    • 58.94
    • Published

    deep-copy

    Deep copy objects and arrays

    • v1.4.2
    • 58.94
    • Published

    object.groupby

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

    • v1.0.3
    • 58.69
    • Published

    p-iteration

    Make array iteration easy when using async/await and Promises

    • v1.1.8
    • 58.50
    • Published

    typedarray

    TypedArray polyfill for old browsers

    • v0.0.7
    • 58.25
    • 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.10
    • Published

    d3-array

    Array manipulation, ordering, searching, summarizing, etc.

    • v3.2.4
    • 58.09
    • Published

    safe-push-apply

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

    • v1.0.0
    • 57.91
    • Published

    ndarray-pack

    Packs an array-of-arrays into a single ndarray

    • v1.2.1
    • 57.80
    • Published

    array.prototype.findlast

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

    • v1.2.5
    • 57.80
    • Published

    array.prototype.findlastindex

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

    • v1.2.6
    • 57.72
    • Published

    array-iterate

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

    • v2.0.1
    • 57.71
    • Published

    arr-filter

    Faster alternative to javascript's native filter method.

    • v1.1.2
    • 57.67
    • Published

    array-filter-utils

    `array-filter-utils` is a library offering a bulk of functions to filter arrays with type management.

    • v0.1.11
    • 57.61
    • 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
    • 57.46
    • Published

    array-last

    Get the last or last n elements in an array.

    • v1.3.0
    • 57.42
    • Published

    array-initial

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

    • v1.1.0
    • 57.19
    • Published

    builtin-modules

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

    • v5.0.0
    • 57.08
    • Published

    lazy-property

    Lazily initialized properties for objects

    • v1.0.0
    • 56.99
    • Published

    @leyyo/cast

    Type casting component

    • v1.1.2
    • 56.93
    • Published

    common-tags

    a few common utility template tags for ES2015

    • v1.8.2
    • 56.92
    • 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
    • 56.80
    • Published

    arr-map

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

    • v2.0.2
    • 56.66
    • Published

    sort-desc

    Sort array elements in descending order.

    • v0.2.0
    • 56.59
    • Published

    arr-union

    Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.

    • v3.1.0
    • 56.56
    • Published

    sort-asc

    Sort array elements in ascending order.

    • v0.2.0
    • 56.32
    • Published

    sort-keys

    Sort the keys of an object

    • v6.0.0
    • 56.25
    • Published

    bytebuffer

    The swiss army knife for binary data in JavaScript.

    • v5.0.1
    • 56.14
    • Published

    array-bounds

    Find [nd-]array min/max values

    • v1.0.1
    • 56.01
    • Published

    isit

    Tests a value’s type against a string like 'positive integer' or 'non-empty map'.

    • v1.1.0
    • 55.99
    • Published

    sort-object

    Sort the keys in an object.

    • v3.0.3
    • 55.92
    • Published

    repeat-element

    Create an array by repeating the given value n times.

    • v1.1.4
    • 55.77
    • Published

    ip-cidr

    Module for working with CIDR (v4, v6)

    • v4.0.2
    • 55.35
    • Published

    as-array

    Make any value an array. No dependencies.

    • v2.0.0
    • 55.28
    • Published

    array-uniq

    Create an array without duplicates

    • v3.0.0
    • 55.22
    • Published

    get-set-props

    List of getter/setter properties for JavaScript types

    • v0.2.0
    • 55.11
    • Published

    obj-props

    List of properties for JavaScript objects

    • v2.0.0
    • 55.00
    • Published

    js-types

    List of JavaScript types

    • v4.0.0
    • 54.94
    • Published

    is-builtin-module

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

    • v5.0.0
    • 54.78
    • Published

    typechecker

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

    • v9.3.0
    • 54.77
    • Published

    is-empty

    Check whether a value is "empty".

    • v1.2.0
    • 54.45
    • Published

    array-back

    Guarantees an array back

    • v6.2.2
    • 54.41
    • Published

    methmeth

    Execute a method out from an object.

    • v1.1.0
    • 54.33
    • Published

    iota-array

    Generates an array of consecutive integers starting at 0

    • v1.0.0
    • 54.32
    • Published

    async-each

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

    • v1.0.6
    • 54.28
    • Published

    p-fifo

    Promised First-In-First-Out buffer. Await on push to be told when a value is consumed and await on shift for a value to consume when the buffer is empty.

    • v1.0.0
    • 54.27
    • Published

    compute-dot

    Computes the dot product between two numeric arrays.

    • v1.1.0
    • 54.21
    • Published

    array-reduce

    `[].reduce()` for old browsers

    • v0.0.0
    • 54.18
    • Published

    router-ips

    List of common default router IP addresses

    • v2.0.0
    • 54.18
    • Published

    index-array-by

    A utility function to index arrays by any criteria

    • v1.4.2
    • 54.05
    • Published

    is-circular

    high-performance, zero-dependency circular reference check for objects (or arrays)

    • v1.0.2
    • 53.92
    • Published

    reduce-unique

    Reduce an array to unique values, optionally into a separate array.

    • v2.0.1
    • 53.84
    • Published

    globjoin

    Join paths and globs.

    • v0.1.4
    • 53.81
    • Published

    @crabas0npm/perferendis-nihil-facere

    0-dependency, high-performance, reactive event handling library optimized for both browser and Node.js environments. This library introduces a robust and type-safe abstraction for handling events, reducing boilerplate and increasing code maintainability.

    • v1.0.0
    • 53.75
    • Published

    compute-l2norm

    Computes the L2 norm (Euclidean norm) of an array of values.

    • v1.1.0
    • 53.74
    • 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.72
    • Published

    @hoangcung1804npm/minus-amet-atque

    0-dependency, high-performance, reactive event handling library optimized for both browser and Node.js environments. This library introduces a robust and type-safe abstraction for handling events, reducing boilerplate and increasing code maintainability.

    • v1.0.0
    • 53.57
    • Published

    sparse-array

    Sparse array implementation in JS with no dependencies

    • v1.3.2
    • 53.49
    • Published

    first-match

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

    • v0.0.1
    • 53.40
    • Published

    any

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

    • v1.0.0
    • 53.28
    • Published

    intersect

    Find the intersection of two arrays

    • v1.0.1
    • 53.21
    • Published

    circularr

    Circular fixed size array

    • v0.3.0
    • 52.92
    • Published

    filled-array

    Returns an array filled with the specified input

    • v2.2.0
    • 52.91
    • Published

    tiny-each-async

    Asynchronous iterator function for parallel processing.

    • v2.0.3
    • 52.59
    • Published

    @mobily/ts-belt

    🔧 Fast, modern, and practical utility library for FP in TypeScript.

    • v3.13.1
    • 52.43
    • Published

    to-array-buffer

    Convert any binary data to ArrayBuffer

    • v3.2.0
    • 52.22
    • Published

    nested-property

    Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'

    • v4.0.0
    • 52.16
    • Published

    arr-rotate

    Rotate all items in an array

    • v1.0.0
    • 52.06
    • Published

    @thi.ng/equiv

    Extensible deep value equivalence checking for any data types

    • v2.1.92
    • 52.01
    • Published

    array-each

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

    • v1.0.1
    • 51.92
    • Published

    array-to-error

    Create an error from an array of error messages

    • v1.1.1
    • 51.74
    • Published

    find-replace

    Replace or remove multiple items in an array.

    • v5.0.2
    • 51.73
    • Published

    javascript-natural-sort

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

    • v0.7.1
    • 51.69
    • Published

    jsod

    Diff, diff3 and patch objects of any fundamental or derived type, natively in javascript

    • v0.3.0
    • 51.54
    • Published

    hasharray

    A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.

    • v1.1.2
    • 51.52
    • Published

    @hutechtechnical/voluptates-ipsa-in-numquam

    ![logo](https://qcobjects.dev/qcobjects_01.png) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects-SDK.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FQuickCorp%2FQCObjects-SDK?ref=badge_shield

    • v1.0.0
    • 51.42
    • Published

    humanize-list

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

    • v1.0.1
    • 51.11
    • Published

    array-equal

    Check if two arrays are equal

    • v2.0.0
    • 51.09
    • Published

    new-array

    create a new array filled with a value, or zero

    • v1.0.0
    • 51.07
    • Published

    is-array-like

    Checks if the given value is an array or array-like object.

    • v1.1.2
    • 50.58
    • Published

    combine-lists

    Merge two lists, trying to preserve the order of both

    • v1.0.1
    • 50.47
    • Published

    gl-vao

    Vertex array object wrapper/shim for WebGL

    • v1.3.0
    • 50.46
    • Published

    get-closest

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

    • v0.0.4
    • 50.42
    • Published

    make-array

    Creates a real Array from almost anything.

    • v1.0.5
    • 50.40
    • Published

    ndarray-sort

    Sorts ndarrays in place

    • v1.0.1
    • 50.40
    • Published

    async-some

    short-circuited, asynchronous version of Array.protototype.some

    • v1.0.2
    • 50.02
    • Published

    deep-for-each

    Recursively iterates over arrays and objects

    • v3.0.0
    • 49.99
    • Published

    gl-buffer

    WebGL buffer wrapper

    • v2.1.2
    • 49.92
    • Published

    is-even

    Return true if the given number is even.

    • v1.0.0
    • 49.92
    • Published

    expand-braces

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

    • v0.1.2
    • 49.90
    • Published

    group-array

    Group array of objects into lists.

    • v1.0.0
    • 49.89
    • Published

    array.prototype.map

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

    • v1.0.8
    • 49.71
    • Published

    array.prototype.filter

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

    • v1.0.4
    • 49.64
    • Published

    utf8-length

    return the number of bytes in a unicode string

    • v0.0.1
    • 49.58
    • Published

    run-series

    Run an array of functions in series

    • v1.1.9
    • 49.57
    • Published

    or

    Returns an element from an array when it matches a condition

    • v0.2.0
    • 49.55
    • Published

    array-shuffle

    Randomize the order of items in an array

    • v3.0.0
    • 49.47
    • Published

    matched

    Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.

    • v5.0.1
    • 49.23
    • Published

    array-index

    Invoke getter/setter functions on array-like objects

    • v1.0.0
    • 49.19
    • 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
    • 49.15
    • Published

    isnot

    All imaginable type checking utils with their negation

    • v1.0.4
    • 49.11
    • Published

    @osjwnpm/iure-qui-fugit

    0-dependency, high-performance, reactive event handling library optimized for both browser and Node.js environments. This library introduces a robust and type-safe abstraction for handling events, reducing boilerplate and increasing code maintainability.

    • v1.0.0
    • 49.10
    • Published

    indexed-filter

    Array#filter() with also detecting indexes of filtered values

    • v1.0.3
    • 48.93
    • Published

    reduce-flatten

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

    • v3.0.1
    • 48.91
    • 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.88
    • Published

    array.prototype.toreversed

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

    • v1.1.2
    • 48.76
    • Published

    listify

    Turn an array into a list of comma-separated values, appropriate for use in an English sentence.

    • v1.0.3
    • 48.73
    • Published

    zip-object

    Create an object from from arrays of keys and values

    • v0.1.0
    • 48.71
    • Published

    stream-array

    Pipe an Array through Node.js streams

    • v1.1.2
    • 48.42
    • Published

    each-parallel-async

    Asynchronously calls a function on each element in an array in parallel.

    • v1.0.0
    • 48.24
    • Published

    arr-swap

    Swap two items in an array. Does not modify the Array prototype.

    • v1.0.1
    • 48.09
    • Published

    path-array

    Treat your $PATH like a JavaScript Array

    • v1.0.1
    • 47.97
    • Published

    shuffle-array

    Randomize the order of the elements in a given array.

    • v1.0.1
    • 47.96
    • Published

    @hapi/vise

    Treat multiple buffers as one

    • v5.0.1
    • 47.93
    • Published

    @nixat/vector

    Lightweight, type-safe array manipulation library for modern JavaScript

      • v0.1.0
      • 47.74
      • Published

      toggle-array

      In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.

      • v1.0.1
      • 47.74
      • Published

      cartesian-product

      Compute the cartesian product of an array.

      • v2.1.2
      • 47.68
      • Published

      async-array-reduce

      Async array reduce. Asynchronously applies a function against an accumulator and each element in an array (from left to right, in series) to reduce it to a single value.

      • v1.0.0
      • 47.65
      • Published

      typescript-collections

      A complete, fully tested data structure library written in TypeScript.

      • v1.3.3
      • 47.29
      • Published

      sort-any

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

      • v4.0.6
      • 46.91
      • 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
      • 46.88
      • Published

      arr-pluck

      Retrieves the value of a specified property from all elements in the collection.

      • v0.1.0
      • 46.77
      • Published

      hifo

      Remembers the highest/lowest values in a data set of any size.

      • v1.0.0
      • 46.72
      • Published

      array-indexofobject

      Like Array#indexOf but for objects used like hashes

      • v0.0.1
      • 46.65
      • Published

      intersperse

      Add an object to an array between each element

      • v1.0.0
      • 46.65
      • Published

      on-change

      Watch an object or array for changes

      • v5.0.1
      • 46.62
      • Published

      utils-indexof

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

      • v1.0.0
      • 46.60
      • Published

      make-unique

      Creates and makes an array without duplicates. Even with array of objects with a specified matcher.

      • v1.0.4
      • 46.59
      • Published

      array-map

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

      • v0.0.1
      • 46.58
      • Published

      shuffle-seed

      Shuffle Array based on a Seed

      • v1.1.6
      • 46.53
      • Published

      to-choices

      Easily create a normalized inquirer choices question. Supports all of the `choices` question types: checkbox, list, rawlist, expand

      • v0.2.0
      • 46.34
      • Published

      utils-copy

      Copy or deep clone a value to an arbitrary depth.

      • v1.1.1
      • 46.21
      • Published

      cwise

      Component-wise operations on ndarrays

      • v1.0.10
      • 46.05
      • Published

      images-downloader

      A Node.js module for downloading a single image or multiple images to disk from a given Url (checking if url exist and detecting image type)

      • v1.0.3
      • 46.05
      • Published

      dank-each

      A function for iterating over objects, arrays, strings and ranges

      • v1.0.0
      • 46.02
      • Published

      pokemon

      Get Pokémon names

      • v3.3.0
      • 46.01
      • Published

      string-array

      Parse string into array of string elements

      • v1.0.1
      • 45.93
      • Published

      to-length

      Converts value to an integer suitable for use as the length of an array-like object.

      • v1.0.1
      • 45.89
      • Published

      deep-map-keys

      Transforms nested keys of complex objects

      • v2.0.1
      • 45.86
      • Published

      compute-dims

      Computes array dimensions.

      • v1.1.0
      • 45.86
      • Published

      array-next

      Advance to the next item in the array looping when hitting the end.

      • v0.0.1
      • 45.80
      • 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
      • 45.58
      • Published

      clz-buffer

      Count leading zeros in a Buffer (clz)

      • v1.0.0
      • 45.47
      • Published

      render-fragment

      A convenient way to return a JSX fragment without the wrapping `div` element and not worry about the version of React.

      • v0.1.1
      • 45.45
      • Published

      to-semver

      Get an array of valid, sorted, and cleaned semver versions from an array of strings

      • v4.0.0
      • 45.39
      • Published

      p-series

      Run promise-returning & async functions in series

      • v3.0.0
      • 45.18
      • Published

      sort-on

      Sort an array on an object property

      • v6.1.1
      • 45.18
      • Published

      ends-with

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

      • v1.0.1
      • 45.06
      • Published

      utils-flatten

      flatten() utility function

      • v1.0.0
      • 44.98
      • Published

      states-us

      List of US states and territories.

      • v1.1.1
      • 44.87
      • Published

      array-every

      Returns true if the callback returns truthy for all elements in the given array.

      • v0.1.2
      • 44.64
      • Published

      @stdlib/utils-copy

      Copy or deep clone a value to an arbitrary depth.

      • v0.2.2
      • 44.44
      • Published

      @75lb/deep-merge

      Deep-merge the values of one object structure into another

      • v1.1.2
      • 44.32
      • Published

      defaulty

      Copies missing properties to the target object.

      • v2.1.0
      • 44.09
      • Published

      type-detection

      Detect type of variable - string, integer, array, geolocation, float, repeatable_string etc

      • v0.1.3
      • 44.06
      • Published

      feature-detect-es6

      Detect which ES6 (ES2015 and above) features are available

      • v1.5.0
      • 44.01
      • Published