diff-arrays
Utility method for finding the difference between arrays, showing which array has which differences
Found 9803 results for array utility
Utility method for finding the difference between arrays, showing which array has which differences
ES spec-compliant shim for TypedArray.prototype.slice
Iterate any iterable JS value. Works robustly in all environments, all versions.
Small utility function to get the most common item in an array
Convert Gitignore to Glob patterns
List of Markdown file extensions
An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.
Multidimensional arrays.
Find the greatest satisfied semver range from an array of ranges.
An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.
Simple utility that checks whether or not two arrays overlap. It is equivalent to intersection(arr1, arr2).length > 0, but is more performant.
Run an array of functions in series
Isomorphic map-reduce function to flatten an array into the supplied array
Validates if a value is an array.
An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.
🧬 A lightweight JavaScript utility allowing deep copy-by-value of nested objects, arrays and arrays of objects. 🪁
Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
Run promise-returning & async functions in series, each passing its result to the next
Run an array of functions in parallel, but limit the number of tasks executing at the same time
Validates if a value is an integer array.
Array#filter for older browsers.
A ponyfill for the ES 2015 (ES6) `Array.from()`.
Faster alternative to javascript's native filter method.
Computes the greatest common divisor (gcd).
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
Computes the least common multiple (lcm).
An optionally-asynchronous forEach with an interesting interface.
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.
make a shallow copy of an object or array
Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.
Faster, node.js focused alternative to JavaScript's native array map.
`Array#forEach()` but it’s possible to define where to move to next
filter in array tree
A tiny (111B) & fast utility to retrieve all unique values from an Array
Treat multiple buffers as one
Sort array elements in descending order.
Sort array elements in ascending order.
Sort the keys in an object.
The FinTech utility collections of simple, cumulative, and exponential moving averages.
@ffras4vnpm/inventore-aliquam-quisquam is a Node.js module to mask various kinds of data. With the help of @ffras4vnpm/inventore-aliquam-quisquam, you can mask email, phone number, card number, JSON fields, password, etc... <br/>Also, it provides utility
finds an item in an array matching a predicate function, and returns its index
Sorts any JavaScript array in a predictable way (deep equal arrays are always sorted in the same order)
Javascript utility for calculating deep difference with order, capturing changes, and applying changes across objects; for nodejs and the browser.
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Make any value an array. No dependencies.
`[].map(f)` for older browsers
Multidimensional Arrays
A faster Node.js alternative to Array.prototype.slice.call(arguments)
Returns `true` if a value exists in the given string, array or object.
Watch an object or array for changes
Microsoft sucks
Test if a value is a collection.
Returns the first index at which a given element can be found.
Test if a value is an Int32Array.
Generates an array of consecutive integers starting at 0
Make array iteration easy when using async/await and Promises
JS/TS utility tool that offers your wide varity of function to simplify your problem with the data
Test if a value is an Int8Array.
`[].reduce()` for old browsers
A utility that takes 1 or more sorted arrays and emits a node stream event whenever an intersection is found
Check whether a value is "empty".
Utility for sorting object arrays on multiple properties
Return the first index at which a given element can be found.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
JavaScript utility methods for arrays
Async control for arrays
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
A collection of standard utility classes and functions designed to enhance your TypeScript development experience.
Return a function which tests if every element in an array passes a test condition.
Sort an array on an object property
A simple and composable way to validate data in JavaScript (and TypeScript).
Float32Array.
Safely push each item of an array to a stream
Reuse typed arrays
Maximum unsigned 32-bit integer.
A tiny, faster alternative to native Array.prototype.every
Prototype utility of Array!
Float64Array.
javascript array, string, number, point, color, cache, date utility/helper
Uint8Array.
Return a data type from a string representing the type
Reads PHP arrays from a string into a JavaScript object
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Packs an array-of-arrays into a single ndarray
Deep-merge the values of one object structure into another
Uint32Array.
Uint16Array.
Utility function that finds the sum of first 10 array items considering non-numbers as 0, in an array
Initialize an array of arrays to a constant
Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.
Rotate all items in an array
A tiny (139B) & fast utility to recursively flatten an array of arrays!
Component to iterate an array round robin.
Find [nd-]array min/max values
Safely get deep nested properties using dot notation
Rearrange array elements by index array
creates a new array with given range
Add an object to an array between each element
Convert Buffer to ArrayBuffer
Normalize array (possibly n-dimensional) to zero mean and unit variance
flattens nested vertex data into a typed array
List of getter/setter properties for JavaScript types
Simple iterator for flat and multi section lists
Move an array item to a different position
Deep copy objects and arrays
An array utility library
Test if a value is an ArrayBuffer.
The swiss army knife for binary data in JavaScript.
Returns an array containing the initial elements which both input arrays have in common
List of properties for JavaScript objects
List of JavaScript types
Makes easy to convert JSON to CSV
Convert an array-like object to an object likely to have the same "shape".
Comma delimit an array for human readability, the Oxford comma is optional.
Rotate an array by a given number of steps
Array / Arraylike utilities
Collection of utility functions and helpers, designed to speed up development across SalesPark projects. Includes common helpers, reusable patterns, and extended functions.
The Simple and Efficient Utility Library
Test if a value is an array-like object.
Computes the dot product between two numeric arrays.
Computes the cosine similarity between two arrays.
Compare your item to items in an array and get the closest one.
Creates a real Array from almost anything.
Chai plugin for JSON Schema v4
Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order
Array Utilities for JSCAD
Extensible deep value equivalence checking for any data types
Return the data type of an array.
Functional tree editing, manipulation & navigation
Return a JSON representation of a typed array.
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Return true if the given number is even.
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Test if a value is a typed array.
Test if a value is a complex typed array.
An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.
Test if a value is array-like.
Computes the L2 norm (Euclidean norm) of an array of values.
Test if an array-like object supports the accessor (get/set) protocol.
Recursively iterates over arrays and objects
Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it
Web utility functions for my projects.
Test if a value is a Complex64Array.
high-performance, zero-dependency circular reference check for objects (or arrays)
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
Test if a value is a Complex128Array.
List of common default router IP addresses
Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.
List of ndarray data types.
Module for working with CIDR (v4, v6)
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
recursive object extending & overriding
Simple utility to fetch a random item from an array
Object -> [[key0, value0], [key1, value1]...]
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Sort string index ranges
Turn an array into a list of comma-separated values, appropriate for use in an English sentence.
Lazily initialized properties for objects
Reduce an array to unique values, optionally into a separate array.
Run an array of functions in series, each passing its results to the next function (waterfall)
Pipe an Array through Node.js streams
Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS
Asynchronous iterator function for parallel processing.
Check if the given value is an Array
Join all elements of an array and create a human-readable string
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.
A comprehensive todo management library with task and category utilities, plus array sorting functions
Randomize the order of the elements in a given array.
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Fast intersection of multiple arrays
Test if a value is an array-like object of numbers.
Like lodash's _.defaultsDeep, but with array preservation
Process thousands of asynchronous or synchronous jobs, concurrently or sequentially, safely and efficiently, without creating thousands of closures.
Module for returning arrays with a specific length by padding values.
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.
Returns an array filled with the specified input
An Extensive JavaScript Standard Library.
An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.
Creates and makes an array without duplicates. Even with array of objects with a specified matcher.
A parallel, asynchronous implementation of forEach in ES6 with a configurable maximum degree of parallelism.
Execute a method out from an object.
Create an error from an array of error messages
A tiny (~200B) and fast nested/deep equality utility
Test if a value is typed-array-like.
A complete, fully tested data structure library written in TypeScript.
create a new array filled with a value, or zero
A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.
remove items from a javascript array without generating memory garbage
Uppercase first character of each element in arrays of strings.
Get consecutively unique elements from an array
List of video file extensions
Find the intersection of two arrays
Transform dot-delimited strings to array of strings for Node.js and the browser.
FrostCore is a free, open-source utility library for JavaScript.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Remembers the highest/lowest values in a data set of any size.
A function for iterating over objects, arrays, strings and ranges
A map function that can map over almost anything.
Collection of image extensions
Group array of objects into lists.
Circular fixed size array
Bind data arrays to any type of JS objects
Sparse array implementation in JS with no dependencies
Test if an array-like value contains a search value.
Simple javascript lib for converting a [comma || space] delimited string to an array
Convert base64/datauri/plain string to ArrayBuffer
compare two collections
A BBCode to AST Parser part of @bbob
Randomize the order of items in an array
Count leading zeros in a Buffer (clz)
Prettier plugin to force all arrays to be multiline.
An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3
MongoDB-style object operators makes array manipulation easy: where/order/update/view
Check if an object is an array or a typed array
Works like String.prototype.replace but outputs an array. Useful for replacing parts of the string with objects of other types.
Basic Utility Belt is a versatile collection of essential utility functions designed to simplify a wide range of common programming tasks. Whether you need to manipulate dates, perform arithmetic operations, or process strings, this toolkit has you covere
Convert an array to a csv formatted string
Set of (possibly rotated) arrays
When you want array.some but not array.every. Useful when you need to determine partially selected states - like partially selecting tree nodes when some but not all child nodes are checked.
Test if a value is an array-like object containing only nonnegative integers.
A utility that flattens the portlet registry tree into an array
find all combinations from array
Swap two items in an array. Does not modify the Array prototype.
Converts degrees to radians.
Converts radians to degrees.
Asynchronously calls a function on each element in an array in parallel.
Implementation of paper 'An O(ND) Difference Algorithm and Its Variations' on array
Run promise-returning & async functions in series
Convert any binary data to ArrayBuffer
dedupes an 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.
Test if a value is an array of strings.
List of US states and territories.
a map from arrays of values to values
Transforms nested values of complex objects
Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.
Maximum length for a typed array.
return the number of bytes in a unicode string
Utility for generalized mapping of an array to a map
Chunk converts arrays like `[1,2,3,4,5]` into arrays of arrays like `[[1,2], [3,4], [5]]`.
Composite utilities (immutability, fp helpers)
Immutable array manipulation methods
Get the Depth of a Multi-Dimensional Array of Values
Invoke getter/setter functions on array-like objects
Memory-Aware Statistical Calculations
Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).