JSPM

Found 9802 results for array type

kind-of

Get the native type of a value.

  • v6.0.3
  • 338.01
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 290.31
  • Published

dtype

Return a data type from a string representing the type

  • v2.0.0
  • 261.16
  • Published

types-json

Type checking for JSON values

  • v4.0.1
  • 205.34
  • Published

sort-es

Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!

  • v1.7.16
  • 196.70
  • Published

data-bind-mapper

Bind data arrays to any type of JS objects

  • v1.0.3
  • 180.96
  • Published

data-joint

Perform data joins with any type of JS objects

  • v1.3.3
  • 166.06
  • Published

2

The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.

  • v3.0.0
  • 165.14
  • Published

compute-dtype

Determines the underlying data type of an input value.

  • v1.0.0
  • 139.60
  • Published

dstructs-cast-arrays

Casts an array to an array of a different data type.

  • v1.0.3
  • 135.84
  • Published

dstructs-array-dtype

Returns an array data type corresponding to an array constructor name.

  • v1.0.2
  • 133.38
  • Published

compute-array-dtype

Returns an array data type corresponding to an array constructor name.

  • v1.0.1
  • 130.88
  • Published

itype

Improved type check

  • v3.0.1
  • 126.86
  • Published

is-array-type

Check if a value is an array or a typed array

  • v1.0.0
  • 114.78
  • Published

type-of-data

Reliable dynamic type checking

  • v1.1.0
  • 113.07
  • Published

schema-object

Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.

  • v4.0.11
  • 112.46
  • Published

filter-type

Filter an array or arguments by JavaScript native type (e.g. functions, strings, etc).

  • v0.2.0
  • 109.03
  • Published

sort-by-property

Type-safe array sorting method with support for deeply nested properties and Typescript autocompletion.

  • v1.3.0
  • 107.18
  • Published

locate-path

Get the first path that exists on disk of multiple paths

  • v7.2.0
  • 99.00
  • Published

is-real-object

Returns `true` if a value is any type of object, but not an array. Browserify-ready.

  • v1.0.2
  • 98.76
  • Published

object-deep-compare

A type-safe collection of comparison methods for objects and arrays in TypeScript/JavaScript

  • v2.0.0
  • 98.03
  • Published

precise-typeof

Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.

  • v2.0.1
  • 97.00
  • Published

has-values

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

  • v2.0.1
  • 93.18
  • Published

p-locate

Get the first fulfilled promise that satisfies the provided testing function

  • v6.0.0
  • 92.80
  • Published

better-groupby

A type-safe groupBy function for TypeScript

  • v1.0.14
  • 91.13
  • Published

is-arrayish

Determines if an object can be used as an array

  • v0.3.2
  • 90.61
  • Published

has-value

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

  • v2.0.2
  • 89.24
  • Published

@saoviettest/placeat-voluptates-neque-fugit

[![NPM Version](https://img.shields.io/npm/v/fastify-type-provider-zod.svg)](https://npmjs.org/package/fastify-type-provider-zod) [![NPM Downloads](https://img.shields.io/npm/dm/fastify-type-provider-zod.svg)](https://npmjs.org/package/fastify-type-provid

  • v1.0.0
  • 86.63
  • Published

isarray

Array#isArray for older browsers

  • v2.0.5
  • 86.19
  • Published

make-matrix

A simple, type-safe way to create multi-dimensional arrays

  • v4.0.2
  • 85.39
  • Published

@charpeni/one-of

Type-safe utilities to return a random element from an array or random entry from an object

  • v1.1.1
  • 85.05
  • Published

globby

User-friendly glob matching

  • v14.1.0
  • 84.50
  • Published

typeof--

retrieve the type of your value by using constructors when possible

  • v1.3.3
  • 83.72
  • Published

@winglet/common-utils

Comprehensive utility library providing commonly used functions for JavaScript/TypeScript projects including array processing, object manipulation, Promise handling, and type checking

  • v0.4.3
  • 79.59
  • Published

simple-swizzle

Simply swizzle your arguments

  • v0.2.2
  • 79.59
  • Published

object-standard-path

Safely get/set deep nested properties with standard path, strong type support

  • v0.3.1
  • 78.57
  • Published

@stdlib/array-min-dtype

Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.

  • v0.3.0
  • 78.18
  • Published

clone-deep

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

  • v4.0.1
  • 77.78
  • Published

xtend

extend like a boss

  • v4.0.2
  • 77.36
  • Published

postgres-array

Parse postgres array columns

  • v3.0.4
  • 76.99
  • Published

superstruct

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

  • v2.0.2
  • 75.33
  • Published

collection-visit

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

  • v1.0.0
  • 75.21
  • Published

array-differ

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

  • v4.0.0
  • 74.07
  • Published

array-unique

Remove duplicate values from an array. Fastest ES5 implementation.

  • v0.3.2
  • 73.69
  • 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
  • 72.85
  • Published

@doubco/wtf

Type checker for JS

  • v1.0.1
  • 72.52
  • 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
  • 71.94
  • Published

into-stream

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

  • v8.0.1
  • 71.74
  • Published

is-extendable

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

  • v1.0.1
  • 71.52
  • Published

payload-is

A comprehensive TypeScript/JavaScript type checking library providing functions to check data types, collections, primitives, and built-in objects

  • v0.4.0
  • 71.52
  • Published

ts-type-detector

Takes any JavaScript data type or object as an input and returns a string describing the type of the input.

  • v2.7.0
  • 71.35
  • Published

map-visit

Map `visit` over an array of objects.

  • v1.0.0
  • 71.25
  • Published

uniq

Removes duplicates from a sorted array in place

  • v1.0.1
  • 68.44
  • Published

iterare

Array methods for ES6 Iterators

  • v1.2.1
  • 68.38
  • Published

shallow-clone

Creates a shallow clone of any JavaScript value.

  • v3.0.1
  • 68.10
  • Published

stream-to-array

Concatenate a readable stream's data into a single array

  • v2.3.0
  • 67.67
  • Published

array-filter

Array#filter for older browsers.

  • v1.0.0
  • 67.41
  • Published

array-slice

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

  • v1.1.0
  • 67.40
  • 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
  • 66.23
  • Published

fixed-len-array

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

  • v1.12.0
  • 65.93
  • Published

arr-flatten

Recursively flatten an array or arrays.

  • v1.1.0
  • 65.72
  • Published

@metamask/superstruct

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

  • v3.2.1
  • 65.57
  • Published

compare-func

Get a compare function for array to sort

  • v2.0.0
  • 65.19
  • Published

class-utils

Utils for working with JavaScript classes and prototype methods.

  • v0.3.6
  • 65.11
  • 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.6.0
  • 65.07
  • Published

shallow-copy

make a shallow copy of an object or array

  • v0.0.1
  • 64.98
  • Published

array-ify

Turn anything into an array

  • v1.0.0
  • 64.86
  • Published

sorted-array-type

Array with sorted insertion and optimized search methods.

  • v1.3.0
  • 64.86
  • Published

es6-iterator

Iterator abstraction based on ES6 specification

  • v2.0.3
  • 64.81
  • Published

async-foreach

An optionally-asynchronous forEach with an interesting interface.

  • v0.1.3
  • 64.75
  • Published

p-waterfall

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

  • v3.0.0
  • 64.21
  • Published

find-index

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

  • v1.1.1
  • 64.04
  • Published

array-find

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

  • v1.0.0
  • 63.85
  • Published

array-from

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

  • v2.1.1
  • 63.06
  • Published

split-array-stream

Safely push each item of an array to a stream

  • v2.0.0
  • 62.81
  • 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.79
  • Published

indexof

Microsoft sucks

    • v0.0.1
    • 62.55
    • Published

    yocto-queue

    Tiny queue data structure

    • v1.2.1
    • 62.11
    • 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.87
    • Published

    compute-lcm

    Computes the least common multiple (lcm).

    • v1.1.2
    • 61.79
    • Published

    compute-gcd

    Computes the greatest common divisor (gcd).

    • v1.2.1
    • 61.76
    • Published

    natural-orderby

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

    • v5.0.0
    • 61.58
    • Published

    hoopy

    Like an array, but rounder.

    • v0.1.4
    • 61.53
    • Published

    asynckit

    Minimal async jobs utility library, with streams support

    • v0.4.0
    • 61.51
    • Published

    longest

    Get the longest item in an array.

    • v2.0.1
    • 61.41
    • 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.40
    • 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.26
    • Published

    run-parallel

    Run an array of functions in parallel

    • v1.2.0
    • 61.18
    • Published

    shallow-equal

    Typescript-compatible minimalistic shallow equality check for arrays/objects

    • v3.1.0
    • 60.76
    • Published

    array-union

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

    • v3.0.1
    • 60.65
    • Published

    array-type

    the array type info object.

    • v0.1.0
    • 60.59
    • Published

    iterate-value

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

    • v1.0.2
    • 60.30
    • Published

    sliced

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

    • v1.0.1
    • 60.25
    • 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.20
    • Published

    falsey

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

    • v1.0.0
    • 60.12
    • Published

    is-valid-glob

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

    • v1.0.0
    • 60.07
    • 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.01
    • Published

    is-array-buffer

    Is this value a JS ArrayBuffer?

    • v3.0.5
    • 59.95
    • Published

    dup

    Initialize an array of arrays to a constant

    • v1.0.0
    • 59.85
    • 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.79
    • Published

    array-rearrange

    Rearrange array elements by index array

    • v2.2.2
    • 59.65
    • Published

    array-range

    creates a new array with given range

    • v1.0.1
    • 59.51
    • Published

    @arr/every

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

    • v1.0.1
    • 59.37
    • Published

    array-move

    Move an array item to a different position

    • v4.0.0
    • 59.12
    • Published

    arrify

    Convert a value to an array

    • v3.0.0
    • 59.11
    • Published

    ndarray

    Multidimensional Arrays

    • v1.0.19
    • 58.89
    • Published

    p-iteration

    Make array iteration easy when using async/await and Promises

    • v1.1.8
    • 58.88
    • Published

    is-typedarray

    Detect whether or not an object is a Typed Array

    • v1.0.0
    • 58.75
    • Published

    deep-copy

    Deep copy objects and arrays

    • v1.4.2
    • 58.69
    • Published

    object.groupby

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

    • v1.0.3
    • 58.64
    • Published

    safe-push-apply

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

    • v1.0.0
    • 58.53
    • 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.33
    • 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.05
    • Published

    d3-array

    Array manipulation, ordering, searching, summarizing, etc.

    • v3.2.4
    • 58.04
    • Published

    typedarray

    TypedArray polyfill for old browsers

    • v0.0.7
    • 58.02
    • Published

    array-last

    Get the last or last n elements in an array.

    • v1.3.0
    • 57.86
    • Published

    array-iterate

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

    • v2.0.1
    • 57.66
    • Published

    ndarray-pack

    Packs an array-of-arrays into a single ndarray

    • v1.2.1
    • 57.65
    • 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.63
    • 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.57
    • Published

    arr-filter

    Faster alternative to javascript's native filter method.

    • v1.1.2
    • 57.44
    • 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.31
    • 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.28
    • Published

    arr-map

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

    • v2.0.2
    • 57.14
    • Published

    array-initial

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

    • v1.1.0
    • 57.14
    • Published

    arr-union

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

    • v3.1.0
    • 57.11
    • Published

    builtin-modules

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

    • v5.0.0
    • 56.98
    • Published

    lazy-property

    Lazily initialized properties for objects

    • v1.0.0
    • 56.94
    • Published

    common-tags

    a few common utility template tags for ES2015

    • v1.8.2
    • 56.86
    • Published

    sort-desc

    Sort array elements in descending order.

    • v0.2.0
    • 56.53
    • Published

    sort-asc

    Sort array elements in ascending order.

    • v0.2.0
    • 56.27
    • Published

    sort-keys

    Sort the keys of an object

    • v6.0.0
    • 56.20
    • Published

    isit

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

    • v1.1.0
    • 56.01
    • Published

    bytebuffer

    The swiss army knife for binary data in JavaScript.

    • v5.0.1
    • 55.99
    • Published

    array-bounds

    Find [nd-]array min/max values

    • v1.0.1
    • 55.96
    • Published

    sort-object

    Sort the keys in an object.

    • v3.0.3
    • 55.87
    • Published

    array-uniq

    Create an array without duplicates

    • v3.0.0
    • 55.76
    • Published

    ip-cidr

    Module for working with CIDR (v4, v6)

    • v4.0.2
    • 55.68
    • Published

    repeat-element

    Create an array by repeating the given value n times.

    • v1.1.4
    • 55.67
    • Published

    as-array

    Make any value an array. No dependencies.

    • v2.0.0
    • 55.19
    • Published

    get-set-props

    List of getter/setter properties for JavaScript types

    • v0.2.0
    • 55.07
    • Published

    obj-props

    List of properties for JavaScript objects

    • v2.0.0
    • 54.86
    • Published

    js-types

    List of JavaScript types

    • v4.0.0
    • 54.80
    • Published

    iota-array

    Generates an array of consecutive integers starting at 0

    • v1.0.0
    • 54.78
    • Published

    typechecker

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

    • v9.3.0
    • 54.69
    • Published

    is-builtin-module

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

    • v5.0.0
    • 54.69
    • 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.59
    • Published

    compute-dot

    Computes the dot product between two numeric arrays.

    • v1.1.0
    • 54.57
    • Published

    array-back

    Guarantees an array back

    • v6.2.2
    • 54.32
    • 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.29
    • Published

    methmeth

    Execute a method out from an object.

    • v1.1.0
    • 54.25
    • Published

    is-empty

    Check whether a value is "empty".

    • v1.2.0
    • 54.24
    • Published

    async-each

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

    • v1.0.6
    • 54.19
    • Published

    router-ips

    List of common default router IP addresses

    • v2.0.0
    • 54.10
    • Published

    compute-l2norm

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

    • v1.1.0
    • 54.10
    • Published

    array-reduce

    `[].reduce()` for old browsers

    • v0.0.0
    • 54.03
    • Published

    index-array-by

    A utility function to index arrays by any criteria

    • v1.4.2
    • 53.83
    • Published

    is-circular

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

    • v1.0.2
    • 53.78
    • Published

    globjoin

    Join paths and globs.

    • v0.1.4
    • 53.76
    • 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.72
    • Published

    reduce-unique

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

    • v2.0.1
    • 53.70
    • 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.55
    • Published

    sparse-array

    Sparse array implementation in JS with no dependencies

    • v1.3.2
    • 53.42
    • Published

    first-match

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

    • v0.0.1
    • 53.35
    • Published

    any

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

    • v1.0.0
    • 53.11
    • Published

    intersect

    Find the intersection of two arrays

    • v1.0.1
    • 53.00
    • Published

    filled-array

    Returns an array filled with the specified input

    • v2.2.0
    • 52.87
    • Published

    circularr

    Circular fixed size array

    • v0.3.0
    • 52.78
    • 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.50
    • Published

    arr-rotate

    Rotate all items in an array

    • v1.0.0
    • 52.46
    • Published

    tiny-each-async

    Asynchronous iterator function for parallel processing.

    • v2.0.3
    • 52.45
    • Published

    @thi.ng/arrays

    Array / Arraylike utilities

    • v2.13.11
    • 52.33
    • Published

    @mobily/ts-belt

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

    • v3.13.1
    • 52.27
    • Published

    to-array-buffer

    Convert any binary data to ArrayBuffer

    • v3.2.0
    • 52.17
    • Published

    array-to-error

    Create an error from an array of error messages

    • v1.1.1
    • 52.06
    • Published

    @thi.ng/equiv

    Extensible deep value equivalence checking for any data types

    • v2.1.92
    • 51.94
    • Published