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 227 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.
Faster, node.js focused alternative to JavaScript's native array map.
Sort the keys in an object.
Sort array elements in ascending order.
A tiny, faster alternative to native Array.prototype.every
A module that checks the diff when values are added, removed, or changed in an array.
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.
Array#filter() with also detecting indexes of filtered values
Return the first index at which a given element can be found.
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
Exclude elements from arrays.
Sort an object's keys, including an optional key list
A Vue directive that checks diff when child elements are added, removed, or changed
Get unique values of an array. Really, like deeply unique.
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.
A React module that checks diff when child elements are added, removed, or changed
Create an iterator from an array-like object.
Gets all but the first element, or n elements in the given array.
Flatten an array.
Get all available ESLint rules
Check if an array includes all the elements of another array
Sort an array of objects by one or more properties in any order. Multiple properties and custom comparison functions can be used.
Calculate the simple moving average of an array.
Return positive value if (any of the) passed value(s) exists in array, or optionally an index
A tiny, faster alternative to native Array.prototype.find
Seedable random number generator supporting many common distributions.
Arr, Hash, Is, Obj, Random, Str, Wrandom.
A tiny, faster alternative to native Array.prototype.filter
Test if an object-like value contains a circular reference.
A tiny (139B) & fast utility to recursively flatten an array of arrays!
Create a single-element array containing a provided scalar value.
JavaScript array.filter() compatible unique filter
A tiny, faster alternative to native Array.prototype.forEach
A tiny, faster alternative to native Array.prototype.reduce
A tiny, faster alternative to native Array.prototype.map
js-yaml concatenate / merge sequences / arrays
A tiny, faster alternative to native Array.prototype.some
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.
use for one-sport company
Fastest Array.filter alternative --- mutates original array!
A tiny, faster alternative to native Array.prototype.findIndex
Test if a value is a valid array length.
Validation system using schemes in Swagger design
Create an iterator from a sparse array-like object, iterating from right to left.
Fill an array-like object view from right to left with values returned from an iterator.
Create an iterator from a sparse array-like object.
common utils
A tiny, faster alternative to native Array.prototype.includes
Create an iterator from an array-like object, iterating from right to left.
Create (or fill) an array from an iterator.
Create an iterator which repeatedly iterates over the elements of an array-like object.
Fill an array-like object view with values returned from an iterator.
Test if a value is an array containing a circular reference.
Removed duplicate elements from the array
Create an iterator from an array-like object view, iterating from right to left.
Test if a value is a valid typed array length.
Create an iterator from an array-like object view.
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
Sort the keys in an object.
Create an iterator from a strided array-like object.
We are lazy, also [lazy-cache][]d and [browserify][]-ready - just arrayify, falsey values returns empty array. In bonus with `.isArray` method.
An Angular directive that checks diff when child elements are added, removed, or changed
The fastest sorting algorithm ever with the speed of O(1)
A tiny (111B) & fast utility to retrieve all unique values from an Array
Move an array item to a different position within array bounds
Merge arrays in to the first array
A wrapper around rc to allow arrays in environment configs.
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
Reverse an array.
Convert arrays into objects by using unique fields.
Binary search -based indexOf for sorted arrays.
Check if a value is an array `Polyfill`
A package that... well... shuffles the values of an array. Yup. That's all.
daily-util-functions-for-FE-code-farmer
convert a value to array
Convert VFile#messages into an array of VS Code diagnostics
Get value from object or array using dot path and wildcard
wrap xorshift128+ to random number generator
Calculate the simple moving average for an array.
Cloning labels from source repository to destination repository. Period.
Binary search -based indexOf for sorted arrays.
Extract object values into an array.
Remove all duplicate elements in a sorted array, leaving only uniques.
For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator
A tiny, faster alternative to native Array.prototype.reduceRight
[English Document](https://github.com/JsonLee12138/frontend-factory/blob/main/packages/utils/README.en.md)
Flattens the passed array recursively.
Use powerful dot notation (dot path + wildcard) to access properties of JSON
Map object keys and values into an array
Wait for an array/obj of async functions and return values when done.
Linear-time Partitioning. Runtime: O(n). Chooses a pivot and re-arrages the array so that everything on the left is <= pivot and everything on the right is > pivot
A tiny, faster alternative to native Array.prototype.forEach
Sort an Object or package.json based on the well-known package.json keys
Find the array index of where to add an element to keep it sorted.
Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa
Array#includes with support for regex
Prototype utility of Array!
Randomise arrays and generate a new array with any given length
Sort array by bubbling up bigger values to the right side. Runtime: O(n^2)
check actual number is expected number ± delta
Delete array elements in one time by array consists of their indexes
Return the index of the first element of an array where the callback returns true. Returns -1 if none do.
Simple package to remove duplicates elements in arrays
A tiny, faster alternative to native Array.prototype.reverse
Randomize the order of the elements in array or array-like object.
Swap array elements in place. Runtime: O(1)
Extract CHANGELOG-like paths from multiple file paths
Returns true if the predicate is satisfied for every element of the passed array; otherwise false.
Returns an array by removing the duplicates
``` const deleteArrDuplicates = require('delete-arr-duplicates') ```
Selection sort array
Sorting by insertion - Look for bigger numbers on the left side. Runtime: O(n^2). It starts from the 2nd element, and it tries to find any element (to the left) that could be bigger than the current index. It will move all the elements that are bigger and
use for one-sport company
Efficient in-place recursive sorting algorithm of numeric values. Avg. Runtime: O(n log n) | Worst: O(n^2)
Filter an array and produce a human-readable result as a string
A npm pacakge of markdown
Responds to the shuffled array.
Filters array by removing matching elements contained in one or more additional arrays.
Returns an array containing those elements which are present in first array and not in others
A tiny, fast and simplified array sort
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
A npm pacakge of es6, it's a function of determinating a variable is an array or not.
A module that checks the diff when values are added, removed, or changed in an array.
Shallow clone of provided array, 'arr'.
Get the smallest value in an array of numbers
Simple circular Array and String iterator.
Find the paths of multiple executables in the PATH
delete repeat content for arr
Return the first element of an array where the callback returns true.
Retrieve all elements in provided indexes array.
Returns a new array with the given maximum length
Fastest, simplest and smallest. Pass `arguments` object or list of arguments and get flattened array.
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
车主之家
Iterate an array in reverse.
Sort an array on two object properties
use for one-sport company
A tiny, faster alternative to native Array.prototype.indexOf
New type JavaScript array.
kris npm test
An array of 256 programming languages
Check if an object is empty
Return the last element of an array where the callback returns true.
A tiny, faster alternative to native Array.prototype.lastIndexOf
Remove an element in place from an array, if present.
Create an array of unique values, in order, from the input arrays
Convert a value to an array
search in array
dot-finder is using powerful dot notation to get values in JSON object
Split an integer into an array of digits.
Swap a SubArray
获取两个数组中相同的元素
Returns all indexes at which an element is found.
Create an array or array-like without duplicates
A tiny, faster alternative to native Array.prototype.map
Returns true if the element exists in the array
Randomize the order of array items
Replace array values with String.prototype.replace
A simple lib for cloning arr and obj
Filter and flattenify array to have only function values. Much like `arr-filter-function` package, but with flatten.
A tiny, faster alternative to native Array.prototype.map
A React module that checks diff when child elements are added, removed, or changed
iol项目组各个平台跳转地址
数组
kris npm test
JS arr 中国省市区县
Map object keys and values into an array
remove arr dup
Returns an array sorted by elements priority
Determine whether an array is empty
Deep and shallow clone.
Randomize an Object or Array
A module that checks diff when elements are added, removed, or changed in children
Check whether a condition is true for any element of an array. The condition check is in the form of a callback.
Get the number of occurrences of an item in an array
Shuffle items in an array in-place. Runtime: O(n)
An Angular directive that checks diff when child elements are added, removed, or changed
Get the union of arrays of objects.
Immnutably remove an element from an array if it is present.
A Vue directive that checks diff when child elements are added, removed, or changed
'this is a dog'
using dot path to access nested properties
提供了并发请求、扁平化指定元素的数组