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