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.
Found 199 results for arr
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Recursively flatten an array or arrays.
Turn anything into an array
Get a compare function for array to sort
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Faster alternative to javascript's native filter method.
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.
Sort the keys in an object.
Sort array elements in ascending order.
Faster, node.js focused alternative to JavaScript's native array map.
A module that checks the diff when values are added, removed, or changed in an array.
A tiny, faster alternative to native Array.prototype.every
A module that checks diff when child elements are added, removed, or changed
Get unique values of an array. Really, like deeply unique.
Create an error from an array of error messages
Returns the first index at which a given element can be found.
Return the first index at which a given element can be found.
Array#filter() with also detecting indexes of filtered values
Swap two items in an array. Does not modify the Array prototype.
Return an array with the unique values present in _all_ given arrays using strict equality for comparisons.
Return a JSON representation of a typed array.
Use powerful dot notation (dot path + wildcard) to manipulate properties of JSON
Sort an object's keys, including an optional key list
Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.
Exclude elements from arrays.
A Vue directive that checks diff when child elements are added, removed, or changed
Get unique values of an array. Really, like deeply unique.
Check if an array includes all the elements of another array
Return positive value if (any of the) passed value(s) exists in array, or optionally an index
Gets all but the first element, or n elements in the given array.
A React module that checks diff when child elements are added, removed, or changed
Sort an array of objects by one or more properties in any order. Multiple properties and custom comparison functions can be used.
Sort the keys in an object.
Get all available ESLint rules
Create an iterator from an array-like object.
Flatten an array.
Sort an object array by one or more properties even nested properties. Besides, you can determine the direction even supply a comparison function in each property sorting.
A tiny, faster alternative to native Array.prototype.find
A tiny, faster alternative to native Array.prototype.reduce
A tiny, faster alternative to native Array.prototype.map
Calculate the simple moving average of an array.
A tiny, faster alternative to native Array.prototype.forEach
A tiny, faster alternative to native Array.prototype.reverse
JavaScript array.filter() compatible unique filter
A tiny, faster alternative to native Array.prototype.filter
A tiny, faster alternative to native Array.prototype.some
Seedable random number generator supporting many common distributions.
Arr, Hash, Is, Obj, Random, Str, Wrandom.
Fastest Array.filter alternative --- mutates original array!
Removed duplicate elements from the array
Move an array item to a different position within array bounds
Delete array elements in one time by array consists of their indexes
A tiny (111B) & fast utility to retrieve all unique values from an Array
We are lazy, also [lazy-cache][]d and [browserify][]-ready - just arrayify, falsey values returns empty array. In bonus with `.isArray` method.
common utils
Reverse an array.
A tiny (139B) & fast utility to recursively flatten an array of arrays!
A tiny, faster alternative to native Array.prototype.findIndex
An Angular directive that checks diff when child elements are added, removed, or changed
A package that... well... shuffles the values of an array. Yup. That's all.
js-yaml concatenate / merge sequences / arrays
Use powerful dot notation (dot path + wildcard) to access properties of JSON
Convert VFile#messages into an array of VS Code diagnostics
Get value from object or array using dot path and wildcard
check actual number is expected number ± delta
Randomize the order of the elements in array or array-like object.
A tiny, faster alternative to native Array.prototype.includes
Create a single-element array containing a provided scalar value.
A wrapper around rc to allow arrays in environment configs.
Array#includes with support for regex
Sort an array on two object properties
Merge arrays in to the first array
Test if a value is a valid array length.
Prototype utility of Array!
Test if an object-like value contains a circular reference.
A tiny, faster alternative to native Array.prototype.reduceRight
Most used utils, almost everywhere - [lazy-cache][]d. Including simple arrayify, [isobject][], [isarray][], [is-buffer][], [is-extendable][] and [extend-shallow][].
Get a random way to show your gratitude in different languages
A tiny, faster alternative to native Array.prototype.forEach
Returns an array by removing the duplicates
Extract object values into an array.
Fill an array-like object view from right to left with values returned from an iterator.
Create an iterator which repeatedly iterates over the elements of an array-like object.
daily-util-functions-for-FE-code-farmer
Filter an array and produce a human-readable result as a string
Randomise arrays and generate a new array with any given length
wrap xorshift128+ to random number generator
Calculate the simple moving average for an array.
Extract CHANGELOG-like paths from multiple file paths
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
A tiny, faster alternative to native Array.prototype.indexOf
A tiny, faster alternative to native Array.prototype.map
Simple package to remove duplicates elements in arrays
Create an iterator from a sparse array-like object.
Returns a new array with the given maximum length
Fastest, simplest and smallest. Pass `arguments` object or list of arguments and get flattened array.
Filters array by removing matching elements contained in one or more additional arrays.
Returns an array sorted by elements priority
An array of 256 programming languages
Convert arrays into objects by using unique fields.
Wait for an array/obj of async functions and return values when done.
Test if a value is an array containing a circular reference.
Create an array of unique values, in order, from the input arrays
Cloning labels from source repository to destination repository. Period.
Fast filter array to have only function values. But also allow you to give iterator function which will be called on each element of the array that is function - much like array.map functionallity. Useful when you want to filter, but also want to map in s
Map object keys and values into an array
convert a value to array
Fill an array-like object view with values returned from an iterator.
Create an iterator from an array-like object, iterating from right to left.
Find the paths of multiple executables in the PATH
``` const deleteArrDuplicates = require('delete-arr-duplicates') ```
kris npm test
Returns an array containing those elements which are present in first array and not in others
Replace array values with String.prototype.replace
Create (or fill) an array from an iterator.
[English Document](https://github.com/JsonLee12138/frontend-factory/blob/main/packages/utils/README.en.md)
Sort an Object or package.json based on the well-known package.json keys
Get the number of occurrences of an item in an array
Filter and flattenify array to have only function values. Much like `arr-filter-function` package, but with flatten.
Test if a value is a valid typed array length.
Split an integer into an array of digits.
The fastest sorting algorithm ever with the speed of O(1)
Create an iterator from an array-like object view.
Get the smallest value in an array of numbers
Simple circular Array and String iterator.
A tiny, faster alternative to native Array.prototype.map
Create an iterator from a sparse array-like object, iterating from right to left.
An Angular directive that checks diff when child elements are added, removed, or changed
dot-finder is using powerful dot notation to get values in JSON object
Get the union of arrays of objects.
A tiny, faster alternative to native Array.prototype.lastIndexOf
获取两个数组中相同的元素
remove arr dup
Check if an object is empty
Check if a value is an array `Polyfill`
search in array
A tiny, fast and simplified array sort
use for one-sport company
JS arr 中国省市区县
'this is a dog'
use for one-sport company
Randomize the order of array items
Responds to the shuffled array.
delete repeat content for arr
Create an array or array-like without duplicates
Randomize an Object or Array
A module that checks diff when elements are added, removed, or changed in children
Validation system using schemes in Swagger design
车主之家
kris npm test
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
提供了并发请求、扁平化指定元素的数组
using dot path to access nested properties
A Vue directive that checks diff when child elements are added, removed, or changed
New type JavaScript array.
A npm pacakge of markdown
iol项目组各个平台跳转地址
数组
A simple lib for cloning arr and obj
Map object keys and values into an array
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
Create an iterator from an array-like object view, iterating from right to left.
Create an iterator from a strided array-like object.
A module that checks the diff when values are added, removed, or changed in an array.
Swap a SubArray
use for one-sport company
Convert a value to an array
A React module that checks diff when child elements are added, removed, or changed