JSPM

Found 9803 results for array type

array-move

Move an array item to a different position

  • v4.0.0
  • 59.32
  • Published

arrify

Convert a value to an array

  • v3.0.0
  • 59.20
  • Published

iterate-value

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

  • v1.0.2
  • 59.09
  • Published

is-typedarray

Detect whether or not an object is a Typed Array

  • v1.0.0
  • 59.01
  • Published

deep-copy

Deep copy objects and arrays

  • v1.4.2
  • 58.98
  • Published

ndarray

Multidimensional Arrays

  • v1.0.19
  • 58.98
  • Published

array.prototype.flat

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

  • v1.3.3
  • 58.95
  • Published

object.groupby

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

  • v1.0.3
  • 58.73
  • Published

typedarray

TypedArray polyfill for old browsers

  • v0.0.7
  • 58.30
  • Published

safe-push-apply

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

  • v1.0.0
  • 58.29
  • 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.14
  • Published

d3-array

Array manipulation, ordering, searching, summarizing, etc.

  • v3.2.4
  • 58.13
  • 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.10
  • Published

ndarray-pack

Packs an array-of-arrays into a single ndarray

  • v1.2.1
  • 57.85
  • 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.85
  • Published

array-iterate

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

  • v2.0.1
  • 57.74
  • Published

arr-filter

Faster alternative to javascript's native filter method.

  • v1.1.2
  • 57.71
  • Published

p-iteration

Make array iteration easy when using async/await and Promises

  • v1.1.8
  • 57.69
  • 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.60
  • 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.52
  • Published

array-initial

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

  • v1.1.0
  • 57.23
  • 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
  • 57.18
  • Published

builtin-modules

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

  • v5.0.0
  • 57.13
  • Published

arr-map

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

  • v2.0.2
  • 57.03
  • Published

lazy-property

Lazily initialized properties for objects

  • v1.0.0
  • 57.02
  • Published

common-tags

a few common utility template tags for ES2015

  • v1.8.2
  • 56.95
  • Published

@leyyo/cast

Type casting component

  • v1.1.2
  • 56.89
  • Published

array-last

Get the last or last n elements in an array.

  • v1.3.0
  • 56.71
  • Published

sort-desc

Sort array elements in descending order.

  • v0.2.0
  • 56.62
  • Published

sort-asc

Sort array elements in ascending order.

  • v0.2.0
  • 56.36
  • Published

sort-keys

Sort the keys of an object

  • v6.0.0
  • 56.29
  • Published

bytebuffer

The swiss army knife for binary data in JavaScript.

  • v5.0.1
  • 56.19
  • Published

array-bounds

Find [nd-]array min/max values

  • v1.0.1
  • 56.04
  • Published

isit

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

  • v1.1.0
  • 56.00
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 55.95
  • Published

arr-union

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

  • v3.1.0
  • 55.93
  • Published

repeat-element

Create an array by repeating the given value n times.

  • v1.1.4
  • 55.82
  • Published

as-array

Make any value an array. No dependencies.

  • v2.0.0
  • 55.33
  • Published

get-set-props

List of getter/setter properties for JavaScript types

  • v0.2.0
  • 55.13
  • Published

obj-props

List of properties for JavaScript objects

  • v2.0.0
  • 55.05
  • Published

js-types

List of JavaScript types

  • v4.0.0
  • 54.99
  • Published

is-builtin-module

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

  • v5.0.0
  • 54.83
  • Published

typechecker

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

  • v9.3.0
  • 54.81
  • Published

iota-array

Generates an array of consecutive integers starting at 0

  • v1.0.0
  • 54.68
  • Published

array-uniq

Create an array without duplicates

  • v3.0.0
  • 54.60
  • Published

ip-cidr

Module for working with CIDR (v4, v6)

  • v4.0.2
  • 54.53
  • Published

is-empty

Check whether a value is "empty".

  • v1.2.0
  • 54.50
  • Published

array-back

Guarantees an array back

  • v6.2.2
  • 54.43
  • Published

methmeth

Execute a method out from an object.

  • v1.1.0
  • 54.36
  • Published

async-each

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

  • v1.0.6
  • 54.33
  • Published

array-reduce

`[].reduce()` for old browsers

  • v0.0.0
  • 54.24
  • Published

router-ips

List of common default router IP addresses

  • v2.0.0
  • 54.21
  • Published

compute-l2norm

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

  • v1.1.0
  • 54.10
  • Published

index-array-by

A utility function to index arrays by any criteria

  • v1.4.2
  • 54.09
  • Published

array.prototype.reduce

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

  • v1.0.8
  • 54.07
  • Published

is-circular

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

  • v1.0.2
  • 53.97
  • Published

reduce-unique

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

  • v2.0.1
  • 53.89
  • Published

globjoin

Join paths and globs.

  • v0.1.4
  • 53.85
  • 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.73
  • 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.56
  • Published

sparse-array

Sparse array implementation in JS with no dependencies

  • v1.3.2
  • 53.52
  • 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
  • 53.46
  • Published

compute-dot

Computes the dot product between two numeric arrays.

  • v1.1.0
  • 53.46
  • Published

first-match

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

  • v0.0.1
  • 53.43
  • Published

any

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

  • v1.0.0
  • 53.32
  • Published

intersect

Find the intersection of two arrays

  • v1.0.1
  • 53.25
  • Published

circularr

Circular fixed size array

  • v0.3.0
  • 52.97
  • Published

filled-array

Returns an array filled with the specified input

  • v2.2.0
  • 52.94
  • Published

tiny-each-async

Asynchronous iterator function for parallel processing.

  • v2.0.3
  • 52.64
  • 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.52
  • Published

@mobily/ts-belt

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

  • v3.13.1
  • 52.47
  • Published

to-array-buffer

Convert any binary data to ArrayBuffer

  • v3.2.0
  • 52.24
  • Published

array-to-error

Create an error from an array of error messages

  • v1.1.1
  • 52.09
  • Published

@thi.ng/equiv

Extensible deep value equivalence checking for any data types

  • v2.1.92
  • 52.03
  • Published

array-each

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

  • v1.0.1
  • 51.95
  • Published

find-replace

Replace or remove multiple items in an array.

  • v5.0.2
  • 51.78
  • Published

javascript-natural-sort

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

  • v0.7.1
  • 51.72
  • 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.55
  • Published

jsod

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

  • v0.3.0
  • 51.54
  • Published

arr-rotate

Rotate all items in an array

  • v1.0.0
  • 51.41
  • Published

humanize-list

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

  • v1.0.1
  • 51.15
  • Published

array-equal

Check if two arrays are equal

  • v2.0.0
  • 51.13
  • Published

new-array

create a new array filled with a value, or zero

  • v1.0.0
  • 51.11
  • Published

is-array-like

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

  • v1.1.2
  • 50.61
  • 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
  • 50.50
  • Published

gl-vao

Vertex array object wrapper/shim for WebGL

  • v1.3.0
  • 50.49
  • Published

get-closest

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

  • v0.0.4
  • 50.45
  • Published

group-array

Group array of objects into lists.

  • v1.0.0
  • 50.23
  • Published

expand-braces

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

  • v0.1.2
  • 50.23
  • Published

async-some

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

  • v1.0.2
  • 50.06
  • Published

deep-for-each

Recursively iterates over arrays and objects

  • v3.0.0
  • 50.04
  • 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.03
  • Published

is-even

Return true if the given number is even.

  • v1.0.0
  • 49.96
  • Published

gl-buffer

WebGL buffer wrapper

  • v2.1.2
  • 49.94
  • Published

combine-lists

Merge two lists, trying to preserve the order of both

  • v1.0.1
  • 49.83
  • Published

make-array

Creates a real Array from almost anything.

  • v1.0.5
  • 49.78
  • 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.67
  • Published

utf8-length

return the number of bytes in a unicode string

  • v0.0.1
  • 49.62
  • Published

run-series

Run an array of functions in series

  • v1.1.9
  • 49.61
  • Published

or

Returns an element from an array when it matches a condition

  • v0.2.0
  • 49.57
  • 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.56
  • Published

ndarray-sort

Sorts ndarrays in place

  • v1.0.1
  • 49.56
  • Published

array-shuffle

Randomize the order of items in an array

  • v3.0.0
  • 49.51
  • Published

reduce-flatten

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

  • v3.0.1
  • 49.22
  • Published

array-index

Invoke getter/setter functions on array-like objects

  • v1.0.0
  • 49.21
  • 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.21
  • 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.08
  • 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.08
  • 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.91
  • Published

listify

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

  • v1.0.3
  • 48.76
  • Published

zip-object

Create an object from from arrays of keys and values

  • v0.1.0
  • 48.75
  • Published

stream-array

Pipe an Array through Node.js streams

  • v1.1.2
  • 48.45
  • Published

each-parallel-async

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

  • v1.0.0
  • 48.28
  • Published

indexed-filter

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

  • v1.0.3
  • 48.18
  • Published

arr-swap

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

  • v1.0.1
  • 48.13
  • 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
  • 48.06
  • Published

path-array

Treat your $PATH like a JavaScript Array

  • v1.0.1
  • 48.00
  • Published

shuffle-array

Randomize the order of the elements in a given array.

  • v1.0.1
  • 47.99
  • Published

@hapi/vise

Treat multiple buffers as one

  • v5.0.1
  • 47.96
  • Published

@nixat/vector

Lightweight, type-safe array manipulation library for modern JavaScript

    • v0.1.0
    • 47.75
    • Published

    cartesian-product

    Compute the cartesian product of an array.

    • v2.1.2
    • 47.71
    • 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.68
    • Published

    typescript-collections

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

    • v1.3.3
    • 47.31
    • 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.94
    • 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.93
    • Published

    arr-pluck

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

    • v0.1.0
    • 46.80
    • Published

    hifo

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

    • v1.0.0
    • 46.75
    • Published

    array-indexofobject

    Like Array#indexOf but for objects used like hashes

    • v0.0.1
    • 46.69
    • Published

    intersperse

    Add an object to an array between each element

    • v1.0.0
    • 46.67
    • Published

    on-change

    Watch an object or array for changes

    • v5.0.1
    • 46.65
    • 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.65
    • Published

    make-unique

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

    • v1.0.4
    • 46.62
    • Published

    shuffle-seed

    Shuffle Array based on a Seed

    • v1.1.6
    • 46.56
    • Published

    utils-copy

    Copy or deep clone a value to an arbitrary depth.

    • v1.1.1
    • 46.52
    • Published

    to-length

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

    • v1.0.1
    • 46.14
    • Published

    cwise

    Component-wise operations on ndarrays

    • v1.0.10
    • 46.09
    • 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.06
    • Published

    array-map

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

    • v0.0.1
    • 46.05
    • Published

    dank-each

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

    • v1.0.0
    • 46.05
    • Published

    utils-indexof

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

    • v1.0.0
    • 45.96
    • Published

    string-array

    Parse string into array of string elements

    • v1.0.1
    • 45.94
    • Published

    compute-dims

    Computes array dimensions.

    • v1.1.0
    • 45.89
    • Published

    deep-map-keys

    Transforms nested keys of complex objects

    • v2.0.1
    • 45.88
    • Published

    array-next

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

    • v0.0.1
    • 45.85
    • 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.63
    • Published

    clz-buffer

    Count leading zeros in a Buffer (clz)

    • v1.0.0
    • 45.50
    • Published

    p-series

    Run promise-returning & async functions in series

    • v3.0.0
    • 45.49
    • 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.47
    • Published

    to-semver

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

    • v4.0.0
    • 45.42
    • Published

    ends-with

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

    • v1.0.1
    • 45.36
    • Published

    pokemon

    Get Pokémon names

    • v3.3.0
    • 45.36
    • Published

    sort-on

    Sort an array on an object property

    • v6.1.1
    • 45.21
    • Published

    type-detection

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

    • v0.1.3
    • 45.07
    • Published

    utils-flatten

    flatten() utility function

    • v1.0.0
    • 45.01
    • Published

    states-us

    List of US states and territories.

    • v1.1.1
    • 44.92
    • Published

    @stdlib/utils-copy

    Copy or deep clone a value to an arbitrary depth.

    • v0.2.2
    • 44.67
    • Published

    array-every

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

    • v0.1.2
    • 44.66
    • Published

    @75lb/deep-merge

    Deep-merge the values of one object structure into another

    • v1.1.2
    • 44.61
    • Published

    array-to-tree

    Convert a plain array of nodes (with pointers to parent nodes) to a tree

    • v3.3.2
    • 44.15
    • Published

    defaulty

    Copies missing properties to the target object.

    • v2.1.0
    • 44.11
    • Published

    feature-detect-es6

    Detect which ES6 (ES2015 and above) features are available

    • v1.5.0
    • 44.03
    • Published

    section-iterator

    Simple iterator for flat and multi section lists

    • v2.0.0
    • 44.00
    • Published

    chunk

    Chunk converts arrays like `[1,2,3,4,5]` into arrays of arrays like `[[1,2], [3,4], [5]]`.

    • v0.0.3
    • 43.92
    • Published

    arrayify-compact

    Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).

    • v0.2.0
    • 43.84
    • Published

    unwind-array

    Unwinds arrays in the similar way like MongoDB $unwind. Supports shallow and deep nested paths, defined as a string with dot notation.

    • v1.1.4
    • 43.83
    • Published

    array-normalize

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

    • v2.0.0
    • 43.81
    • Published

    deep-map

    Transforms nested values of complex objects

    • v2.0.0
    • 43.68
    • Published

    object-assign-deep

    Allows deep cloning of plain objects that contain primitives, nested plain objects, or nested plain arrays.

    • v0.4.0
    • 43.27
    • Published

    common-sequence

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

    • v3.0.0
    • 43.23
    • 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
    • 43.20
    • Published

    isnumber-js

    A native module for effectively validating if a value is type Number.

    • v1.0.8
    • 43.04
    • Published

    to-rotated

    Rotate an array by a given number of steps

    • v1.0.0
    • 43.03
    • Published

    utils

    Fast, generic JavaScript/node.js utility functions.

    • v0.3.1
    • 42.96
    • Published

    get-comments

    Extract javascript comments on per character basis. Comment object compatible with `acorn-extract-comments` and Esprima format.

    • v1.0.1
    • 42.92
    • Published

    each-series-async

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

    • v1.0.1
    • 42.89
    • Published

    sort-deep-object-arrays

    Sort objects and arrays of objects nested deeply within other objects or arrays

    • v1.1.2
    • 42.89
    • Published

    @stdlib/array-safe-casts

    Return a list of array data types to which a provided array data type can be safely cast.

    • v0.3.0
    • 42.85
    • 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.64
    • Published

    fast-shuffle

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

    • v6.1.1
    • 42.63
    • Published

    hashmap

    HashMap Class for JavaScript

    • v2.4.0
    • 42.53
    • Published

    stats-filelist

    Get a list of files and directories with `Stats` of each item. And filter the list with evaluating path, path pattern, type, size, modified time, and more.

    • v1.0.2
    • 42.53
    • Published

    is-index

    Checks if the given value is a valid array-like index.

    • v1.0.2
    • 42.48
    • Published

    jsonexport

    Makes easy to convert JSON to CSV

    • v3.2.0
    • 42.43
    • Published

    array-hyper-unique

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

    • v2.1.6
    • 42.40
    • Published

    @thi.ng/zipper

    Functional tree editing, manipulation & navigation

    • v2.1.149
    • 42.39
    • Published

    index-of

    Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.

    • v0.2.0
    • 42.27
    • Published

    async-reduce

    `reduce` function for async reductions on arrays.

    • v0.0.1
    • 42.26
    • Published

    decode-gif

    Decode the frames of a gif.

    • v1.0.1
    • 42.26
    • Published

    nested-object-diff

    A lightweight javascript diff library for comparing two javascript object nested with supporting matching by value of the object's choosen key name in array.

    • v1.1.0
    • 42.25
    • Published

    keypather

    Get or set a deep value using a keypath string. Supports bracket and dot notation

    • v3.1.0
    • 42.24
    • Published