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