JSPM

Found 9898 results for array type

kind-of

Get the native type of a value.

  • v6.0.3
  • 333.29
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 286.17
  • Published

dtype

Return a data type from a string representing the type

  • v2.0.0
  • 262.31
  • Published

types-json

Type checking for JSON values

  • v4.0.1
  • 201.29
  • Published

data-bind-mapper

Bind data arrays to any type of JS objects

  • v1.0.3
  • 180.15
  • Published

data-joint

Perform data joins with any type of JS objects

  • v1.3.3
  • 162.99
  • 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.18
  • 156.39
  • Published

2

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

  • v3.0.0
  • 151.71
  • Published

compute-dtype

Determines the underlying data type of an input value.

  • v1.0.0
  • 138.45
  • Published

dstructs-cast-arrays

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

  • v1.0.3
  • 133.56
  • Published

compute-array-dtype

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

  • v1.0.1
  • 131.38
  • Published

dstructs-array-dtype

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

  • v1.0.2
  • 131.25
  • Published

itype

Improved type check

  • v3.0.1
  • 129.77
  • Published

type-of-data

Reliable dynamic type checking

  • v1.1.0
  • 112.66
  • Published

is-array-type

Check if a value is an array or a typed array

  • v1.0.0
  • 112.19
  • Published

sort-by-property

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

  • v1.3.0
  • 111.94
  • Published

filter-type

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

  • v0.2.0
  • 110.51
  • Published

schema-object

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

  • v4.0.11
  • 110.40
  • Published

object-deep-compare

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

  • v2.0.0
  • 101.76
  • Published

@charpeni/one-of

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

  • v1.1.1
  • 101.50
  • Published

better-groupby

A type-safe groupBy function for TypeScript

  • v1.0.14
  • 100.24
  • Published

precise-typeof

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

  • v2.0.1
  • 99.81
  • Published

locate-path

Get the first path that exists on disk of multiple paths

  • v8.0.0
  • 98.14
  • 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
  • 94.74
  • 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
  • 94.12
  • Published

p-locate

Get the first fulfilled promise that satisfies the provided testing function

  • v6.0.0
  • 92.05
  • Published

is-real-object

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

  • v1.0.2
  • 90.70
  • Published

has-value

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

  • v2.0.2
  • 90.34
  • Published

isarray

Array#isArray for older browsers

  • v2.0.5
  • 86.66
  • 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
  • 85.93
  • Published

fixed-len-array

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

  • v1.12.0
  • 85.34
  • Published

globby

User-friendly glob matching

  • v16.0.0
  • 85.18
  • Published

make-matrix

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

  • v4.0.3
  • 84.05
  • Published

@maastrich/zod-resolve

Type-safe Zod schema resolver with path notation support for nested objects, arrays, tuples, and unions

  • v0.2.1
  • 83.88
  • Published

typeof--

retrieve the type of your value by using constructors when possible

  • v1.3.3
  • 82.83
  • Published

@doubco/wtf

Type checker for JS

  • v1.0.1
  • 79.81
  • Published

is-arrayish

Determines if an object can be used as an array

  • v0.3.4
  • 79.28
  • Published

spdx-license-ids

A list of SPDX license identifiers

  • v3.0.22
  • 78.20
  • Published

postgres-array

Parse postgres array columns

  • v3.0.4
  • 78.19
  • Published

xtend

extend like a boss

  • v4.0.2
  • 78.09
  • Published

@protolabo/zenjs

A comprehensive, type-safe utility library for common programming tasks

  • v0.2.1
  • 77.93
  • Published

clone-deep

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

  • v4.0.1
  • 77.85
  • Published

superstruct

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

  • v2.0.2
  • 76.05
  • Published

collection-visit

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

  • v1.0.0
  • 76.04
  • Published

array-differ

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

  • v4.0.0
  • 74.98
  • 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
  • 73.55
  • Published

array-unique

Remove duplicate values from an array. Fastest ES5 implementation.

  • v0.3.2
  • 73.52
  • Published

is-array-of-type

Validate that all elements in an array are of a specific type

    • v1.0.0
    • 73.38
    • Published

    is-extendable

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

    • v1.0.1
    • 72.91
    • 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
    • 72.84
    • Published

    map-visit

    Map `visit` over an array of objects.

    • v1.0.0
    • 72.24
    • Published

    into-stream

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

    • v9.0.0
    • 71.18
    • Published

    iterare

    Array methods for ES6 Iterators

    • v1.2.1
    • 69.52
    • Published

    array-filter

    Array#filter for older browsers.

    • v1.0.0
    • 69.17
    • Published

    uniq

    Removes duplicates from a sorted array in place

    • v1.0.1
    • 69.08
    • Published

    stream-to-array

    Concatenate a readable stream's data into a single array

    • v2.3.0
    • 68.86
    • Published

    shallow-clone

    Creates a shallow clone of any JavaScript value.

    • v3.0.1
    • 68.84
    • Published

    array-slice

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

    • v1.1.0
    • 68.41
    • 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
    • 68.10
    • Published

    @metamask/superstruct

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

    • v3.2.1
    • 67.39
    • 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.98
    • Published

    arr-flatten

    Recursively flatten an array or arrays.

    • v1.1.0
    • 66.45
    • Published

    class-utils

    Utils for working with JavaScript classes and prototype methods.

    • v0.3.6
    • 66.37
    • Published

    sorted-array-type

    Array with sorted insertion and optimized search methods.

    • v1.3.0
    • 66.18
    • Published

    compare-func

    Get a compare function for array to sort

    • v2.0.0
    • 66.13
    • Published

    array-ify

    Turn anything into an array

    • v1.0.0
    • 65.70
    • Published

    async-foreach

    An optionally-asynchronous forEach with an interesting interface.

    • v0.1.3
    • 65.61
    • Published

    es6-iterator

    Iterator abstraction based on ES6 specification

    • v2.0.3
    • 65.57
    • Published

    p-waterfall

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

    • v3.0.0
    • 65.34
    • Published

    shallow-copy

    make a shallow copy of an object or array

    • v0.0.1
    • 65.27
    • Published

    find-index

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

    • v1.1.1
    • 65.15
    • 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.8.1
    • 64.73
    • Published

    object-standard-path

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

    • v0.3.1
    • 64.53
    • Published

    indexof

    Microsoft sucks

      • v0.0.1
      • 63.79
      • Published

      array-from

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

      • v2.1.1
      • 63.65
      • 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
      • 63.54
      • Published

      yocto-queue

      Tiny queue data structure

      • v1.2.2
      • 63.37
      • Published

      array-find

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

      • v1.0.0
      • 63.37
      • Published

      split-array-stream

      Safely push each item of an array to a stream

      • v2.0.0
      • 63.27
      • Published

      compute-lcm

      Computes the least common multiple (lcm).

      • v1.1.2
      • 62.97
      • 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
      • 62.90
      • Published

      asynckit

      Minimal async jobs utility library, with streams support

      • v0.4.0
      • 62.89
      • Published

      natural-orderby

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

      • v5.0.0
      • 62.78
      • Published

      compute-gcd

      Computes the greatest common divisor (gcd).

      • v1.2.1
      • 62.74
      • Published

      longest

      Get the longest item in an array.

      • v2.0.1
      • 62.60
      • 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
      • 62.27
      • Published

      run-parallel

      Run an array of functions in parallel

      • v1.2.0
      • 62.21
      • Published

      array-union

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

      • v3.0.1
      • 61.91
      • Published

      shallow-equal

      Typescript-compatible minimalistic shallow equality check for arrays/objects

      • v3.1.0
      • 61.84
      • Published

      @arr/every

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

      • v1.0.1
      • 61.76
      • Published

      hoopy

      Like an array, but rounder.

      • v0.1.4
      • 61.73
      • 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.45
      • Published

      sliced

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

      • v1.0.1
      • 61.33
      • Published

      array-includes

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

      • v3.1.9
      • 61.04
      • 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
      • 60.82
      • Published

      array.prototype.flatmap

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

      • v1.3.3
      • 60.81
      • Published

      array-rearrange

      Rearrange array elements by index array

      • v2.2.2
      • 60.68
      • Published

      is-valid-glob

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

      • v1.0.0
      • 60.63
      • Published

      ts-array-joins

      Strongly-typed TypeScript utilities for array grouping, SQL-like joins, and data aggregation. Zero dependencies, full type inference, O(n+m) performance.

      • v1.1.0
      • 60.61
      • Published

      array-range

      creates a new array with given range

      • v1.0.1
      • 60.54
      • Published

      dup

      Initialize an array of arrays to a constant

      • v1.0.0
      • 60.33
      • 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.29
      • Published

      arrify

      Convert a value to an array

      • v3.0.0
      • 60.20
      • Published

      falsey

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

      • v1.0.0
      • 60.17
      • Published

      iterate-value

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

      • v1.0.2
      • 59.88
      • Published

      ndarray

      Multidimensional Arrays

      • v1.0.19
      • 59.75
      • Published

      object.groupby

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

      • v1.0.3
      • 59.60
      • Published

      safe-push-apply

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

      • v1.0.0
      • 59.52
      • Published

      typedarray

      TypedArray polyfill for old browsers

      • v0.0.7
      • 59.37
      • Published

      deep-copy

      Deep copy objects and arrays

      • v1.4.2
      • 59.31
      • Published

      is-typedarray

      Detect whether or not an object is a Typed Array

      • v1.0.0
      • 59.25
      • Published

      array-move

      Move an array item to a different position

      • v4.0.0
      • 59.23
      • Published

      array.prototype.tosorted

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

      • v1.1.4
      • 59.18
      • Published

      lazy-property

      Lazily initialized properties for objects

      • v1.0.0
      • 59.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
      • 59.07
      • Published

      p-iteration

      Make array iteration easy when using async/await and Promises

      • v1.1.8
      • 59.06
      • Published

      @lexriver/data-types

      Check type of a variable, compare two values or objects.

      • v3.6.5
      • 59.05
      • 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.97
      • Published

      d3-array

      Array manipulation, ordering, searching, summarizing, etc.

      • v3.2.4
      • 58.91
      • Published

      array-iterate

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

      • v2.0.1
      • 58.85
      • 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
      • 58.57
      • Published

      simple-swizzle

      Simply swizzle your arguments

      • v0.2.4
      • 58.38
      • Published

      arr-filter

      Faster alternative to javascript's native filter method.

      • v1.1.2
      • 58.27
      • Published

      common-tags

      a few common utility template tags for ES2015

      • v1.8.2
      • 57.85
      • Published

      builtin-modules

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

      • v5.0.0
      • 57.84
      • Published

      ndarray-pack

      Packs an array-of-arrays into a single ndarray

      • v1.2.1
      • 57.78
      • Published

      array-initial

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

      • v1.1.0
      • 57.73
      • Published

      sort-desc

      Sort array elements in descending order.

      • v0.2.0
      • 57.60
      • 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.58
      • Published

      arr-map

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

      • v2.0.2
      • 57.49
      • Published

      sort-asc

      Sort array elements in ascending order.

      • v0.2.0
      • 57.48
      • Published

      array-last

      Get the last or last n elements in an array.

      • v1.3.0
      • 57.39
      • Published

      sort-object

      Sort the keys in an object.

      • v3.0.3
      • 57.20
      • Published

      arr-union

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

      • v3.1.0
      • 57.14
      • Published

      sort-keys

      Sort the keys of an object

      • v6.0.0
      • 57.14
      • Published

      array-bounds

      Find [nd-]array min/max values

      • v1.0.1
      • 57.10
      • 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
      • 56.87
      • Published

      repeat-element

      Create an array by repeating the given value n times.

      • v1.1.4
      • 56.63
      • Published

      get-set-props

      List of getter/setter properties for JavaScript types

      • v0.2.0
      • 56.47
      • Published

      bytebuffer

      The swiss army knife for binary data in JavaScript.

      • v5.0.1
      • 56.39
      • Published

      as-array

      Make any value an array. No dependencies.

      • v2.0.0
      • 56.14
      • Published

      obj-props

      List of properties for JavaScript objects

      • v2.0.0
      • 55.95
      • Published

      js-types

      List of JavaScript types

      • v4.0.0
      • 55.94
      • Published

      array-uniq

      Create an array without duplicates

      • v3.0.0
      • 55.76
      • Published

      array-back

      Guarantees an array back

      • v6.2.2
      • 55.73
      • Published

      is-builtin-module

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

      • v5.0.0
      • 55.71
      • Published

      array-reduce

      `[].reduce()` for old browsers

      • v0.0.0
      • 55.52
      • Published

      is-empty

      Check whether a value is "empty".

      • v1.2.0
      • 55.42
      • Published

      typechecker

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

      • v9.3.0
      • 55.30
      • Published

      async-each

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

      • v1.0.6
      • 55.21
      • Published

      iota-array

      Generates an array of consecutive integers starting at 0

      • v1.0.0
      • 55.20
      • Published

      index-array-by

      A utility function to index arrays by any criteria

      • v1.4.2
      • 55.10
      • Published

      compute-l2norm

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

      • v1.1.0
      • 55.08
      • Published

      compute-dot

      Computes the dot product between two numeric arrays.

      • v1.1.0
      • 54.92
      • Published

      @mobily/ts-belt

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

      • v3.13.1
      • 54.78
      • Published

      filled-array

      Returns an array filled with the specified input

      • v2.2.0
      • 54.78
      • 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.72
      • 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.60
      • Published

      globjoin

      Join paths and globs.

      • v0.1.4
      • 54.60
      • Published

      methmeth

      Execute a method out from an object.

      • v1.1.0
      • 54.46
      • Published

      ip-cidr

      Module for working with CIDR (v4, v6)

      • v4.0.2
      • 54.38
      • Published

      router-ips

      List of common default router IP addresses

      • v2.0.0
      • 54.18
      • 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
      • 54.02
      • Published

      sparse-array

      Sparse array implementation in JS with no dependencies

      • v1.3.2
      • 53.96
      • Published

      reduce-unique

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

      • v2.0.1
      • 53.94
      • Published

      intersect

      Find the intersection of two arrays

      • v1.0.1
      • 53.93
      • Published

      first-match

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

      • v0.0.1
      • 53.91
      • Published

      isnot

      All imaginable type checking utils with their negation

      • v1.0.4
      • 53.88
      • Published

      isit

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

      • v1.1.0
      • 53.79
      • Published

      any

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

      • v1.0.0
      • 53.64
      • Published

      is-circular

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

      • v1.0.2
      • 53.38
      • Published

      jsod

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

      • v0.3.0
      • 53.18
      • Published

      array-each

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

      • v1.0.1
      • 53.13
      • Published

      @thi.ng/equiv

      Extensible deep value equivalence checking for any data types

      • v2.1.99
      • 53.11
      • Published

      javascript-natural-sort

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

      • v0.7.1
      • 52.99
      • 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
      • 52.93
      • Published