kind-of
Get the native type of a value.
Found 9803 results for array type
Get the native type of a value.
Isomorphic, functional type-checking for Javascript
Return a data type from a string representing the type
Type checking for JSON values
Blazing fast, tree-shakeable, type-safe, modern utility library to sort any type of array in less than 1 KB!
Return the data type of an array.
Bind data arrays to any type of JS objects
Perform data joins with any type of JS objects
The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.
Test if an input value is a supported ndarray data type.
Return the data type string associated with an ndarray data type enumeration constant.
Return the data type string associated with a supported ndarray data type value.
Determines the underlying data type of an input value.
Returns an array constructor corresponding to an array data type.
Returns an array constructor corresponding to an array data type.
Casts an array to an array of a different data type.
Returns an array data type corresponding to an array constructor name.
Determine if an ndarray data type can be safely cast to another ndarray data type.
Returns an array data type corresponding to an array constructor name.
Improved type check
Return the single letter character abbreviation for an underlying array data type.
Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.
Common types, type guards and type checkers.
Return the enumeration constant associated with an ndarray data type string.
Fix the type definition of `Array.isArray()` method to accept readonly arrays
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
Return the number of bytes per element provided an underlying array data type.
Check if a value is an array or a typed array
Reliable dynamic type checking
Test if an input value is a supported array boolean data type.
Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.
Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.
Type-safe array sorting method with support for deeply nested properties and Typescript autocompletion.
Filter an array or arguments by JavaScript native type (e.g. functions, strings, etc).
Test if an input value is a supported array complex-valued floating-point data type.
Return the data type of a provided ndarray.
Return the data type of a provided ndarray.
Test if an input value is a supported ndarray real-valued data type.
Test if an input value is a supported array real-valued data type.
Get the first path that exists on disk of multiple paths
Test if an input value is a supported ndarray integer data type.
Returns `true` if a value is any type of object, but not an array. Browserify-ready.
A type-safe collection of comparison methods for objects and arrays in TypeScript/JavaScript
Test if an input value is a supported ndarray numeric data type.
Test if an input value is a supported array signed integer data type.
Test if an input value is a supported ndarray floating-point data type.
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.
Test if an input value is a supported ndarray complex-valued floating-point data type.
Test if an input value is a supported ndarray unsigned integer data type.
Test if an input value is a supported ndarray signed integer data type.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Return the data type of an ndarray data buffer.
Type checking utils.
Get the first fulfilled promise that satisfies the provided testing function
Test if an input value is a supported array real-valued floating-point data type.
A type-safe groupBy function for TypeScript
Determines if an object can be used as an array
List of output ndarray data type policies.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Test if an input value is a supported ndarray real-valued floating-point data type.
Extended JavaScript Type Validator
[](https://npmjs.org/package/fastify-type-provider-zod) [](https://npmjs.org/package/fastify-type-provid
Array#isArray for older browsers
A simple, type-safe way to create multi-dimensional arrays
Type-safe utilities to return a random element from an array or random entry from an object
User-friendly glob matching
Determine the minimum array data type for storing a provided signed integer value.
Safely get/set deep nested properties with standard path, strong type support
retrieve the type of your value by using constructors when possible
> The repository for _high quality_ TypeScript type definitions.
Return the data type string associated with a strided array data type enumeration constant.
Resolve the output ndarray data type for a unary function.
> Type-safe CLI library with no runtime dependencies
Simply swizzle your arguments
Comprehensive utility library providing commonly used functions for JavaScript/TypeScript projects including array processing, object manipulation, Promise handling, and type checking
Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.
Validates if a value is an array.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
A list of SPDX license identifiers
Parse postgres array columns
extend like a boss
Return the enumeration constant associated with a supported ndarray data type value.
Visit a method over the items in an object, or map visit over the objects in an array.
A simple and composable way to validate data in JavaScript (and TypeScript).
Create an array with values that are present in the first input array but not additional ones
Return the data type string associated with a supported strided array data type value.
Remove duplicate values from an array. Fastest ES5 implementation.
Type checker for JS
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Returns true if a value is a plain object, array or function.
A comprehensive TypeScript/JavaScript type checking library providing functions to check data types, collections, primitives, and built-in objects
Takes any JavaScript data type or object as an input and returns a string describing the type of the input.
Map `visit` over an array of objects.
Type checking for json objects
ES2015 `Array#findIndex()` ponyfill
Array methods for ES6 Iterators
Creates a shallow clone of any JavaScript value.
Removes duplicates from a sorted array in place
Return the enumeration constant associated with a strided array data type string.
Concatenate a readable stream's data into a single array
flattens nested vertex data into a typed array
Array#filter for older browsers.
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
Determine if an array data type can be safely cast or, for floating-point data types, downcast to another array data type.
A tiny and type-safe TypeScript utility to create and work with fixed-length arrays (tuples).
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Determine if an array data type can be safely cast to another array data type.
Recursively flatten an array or arrays.
A simple and composable way to validate data in JavaScript (and TypeScript).
Get a compare function for array to sort
Utils for working with JavaScript classes and prototype methods.
make a shallow copy of an object or array
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.
Turn anything into an array
Iterator abstraction based on ES6 specification
Return the C data type associated with a provided data type value.
An optionally-asynchronous forEach with an interesting interface.
Run promise-returning & async functions in series, each passing its result to the next
finds an item in an array matching a predicate function, and returns its index
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
Array with sorted insertion and optimized search methods.
Safely push each item of an array to a stream
A ponyfill for the ES 2015 (ES6) `Array.from()`.
Microsoft sucks
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`
Tiny queue data structure
Computes the greatest common divisor (gcd).
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.
Computes the least common multiple (lcm).
Validates if a value is an integer array.
Minimal async jobs utility library, with streams support
Get the longest item in an array.
Like an array, but rounder.
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Run an array of functions in parallel
Create an array of unique values, in order, from the input arrays
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.
Typescript-compatible minimalistic shallow equality check for arrays/objects
the array type info object.
List of binary file extensions
Flatten nested arrays
A faster Node.js alternative to Array.prototype.slice.call(arguments)
Is this value a JS SharedArrayBuffer?
Robustly get the byte length of a Typed Array
Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.
Return true if a value is a valid glob pattern or patterns.
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Is this value a JS ArrayBuffer?
ES spec-compliant shim for ArrayBuffer.prototype.slice
Rearrange array elements by index array
An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
Iterate any iterable JS value. Works robustly in all environments, all versions.
Robustly get the byte offset of a Typed Array
Initialize an array of arrays to a constant
An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.
A simple list of possible Typed Array names.
A tiny, faster alternative to native Array.prototype.every
creates a new array with given range
Robustly get the length of a Typed Array
Move an array item to a different position
Convert a value to an array
Detect whether or not an object is a Typed Array
Multidimensional Arrays
Deep copy objects and arrays
An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.
Make array iteration easy when using async/await and Promises
TypedArray polyfill for old browsers
An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.
Array manipulation, ordering, searching, summarizing, etc.
Push an array of items into an array, while being robust against prototype modification
Test if an input value is a supported ndarray boolean data type.
An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.
An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.
Packs an array-of-arrays into a single ndarray
`Array#forEach()` but it’s possible to define where to move to next
Faster alternative to javascript's native filter method.
`array-filter-utils` is a library offering a bulk of functions to filter arrays with type management.
Reuse typed arrays
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Get the last or last n elements in an array.
Get all but the last element or last n elements of an array.
A static list of the Node.js builtin modules from the latest Node.js version
Lazily initialized properties for objects
Test if a value is an array.
Microsoft sucks
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.
a few common utility template tags for ES2015
Type casting component
Faster, node.js focused alternative to JavaScript's native array map.
Test if a value is a Float64Array.
Test if a value is a Uint32Array.
Test if a value is a Uint8Array.
Test if a value is a Float32Array.
Sort array elements in descending order.
Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
Test if a value is a Uint16Array.
Sort array elements in ascending order.
Sort the keys of an object
The swiss army knife for binary data in JavaScript.
Find [nd-]array min/max values
Tests a value’s type against a string like 'positive integer' or 'non-empty map'.
Sort the keys in an object.
Return the enumeration constant associated with a supported strided array data type value.
Create an array by repeating the given value n times.
Return the description for a provided data type.
Module for working with CIDR (v4, v6)
Make any value an array. No dependencies.
Create an array without duplicates
List of getter/setter properties for JavaScript types
List of properties for JavaScript objects
List of JavaScript types
Check if a string matches the name of a Node.js builtin module
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Check whether a value is "empty".
Generates an array of consecutive integers starting at 0
Guarantees an array back
Execute a method out from an object.
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
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.
Computes the dot product between two numeric arrays.
`[].reduce()` for old browsers
List of common default router IP addresses
Convert base64/datauri/plain string to ArrayBuffer
A utility function to index arrays by any criteria
high-performance, zero-dependency circular reference check for objects (or arrays)
List of text file extensions
Reduce an array to unique values, optionally into a separate array.
Computes the L2 norm (Euclidean norm) of an array of values.
An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.
Join paths and globs.
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.
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.
Sparse array implementation in JS with no dependencies
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
Returns `true` if a value exists in the given string, array or object.
Find the intersection of two arrays
Circular fixed size array
Returns an array filled with the specified input
Return the data type string associated with a provided single letter abbreviation.
Asynchronous iterator function for parallel processing.
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Convert any binary data to ArrayBuffer
Rotate all items in an array
Extensible deep value equivalence checking for any data types
Array / Arraylike utilities
Convert Gitignore to Glob patterns