deep-filter
Recursively filters collection values (arrays and objects)
Found 10840 results for array filters
Recursively filters collection values (arrays and objects)
Middleware for [express][] that filters IPs against glob patterns, RegExp, string or array of globs. Support custom `403 Forbidden` message, blacklists, whitelists and custom ID.
simple array filters for es6
Composable filters for arrays in TypeScript
multiple array utils, filters, shuffle, sort, etc
Filters an array of objects with filters defined in an object.
Function that filters undefined items from an array.
Reduce an array to a flat array based on custom filters.
Get the first fulfilled promise that satisfies the provided testing function
Get the first path that exists on disk of multiple paths
Array#isArray for older browsers
Tiny queue data structure
Middleware for [koa][] that filters IPs against glob patterns, RegExp, string or array of globs. Support custom `403 Forbidden` message and custom ID.
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.
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`
Run an array of functions in parallel
Get the native type of a value.
Minimal async jobs utility library, with streams support
Determines if an object can be used as an array
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
List of binary file extensions
Array manipulation, ordering, searching, summarizing, etc.
User-friendly glob matching
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.
Is this value a JS ArrayBuffer?
Robustly get the byte offset of a Typed Array
Robustly get the byte length of a Typed Array
ES spec-compliant shim for ArrayBuffer.prototype.slice
A simple list of possible Typed Array names.
Returns true if a value is a plain object, array or function.
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
Create an array of unique values, in order, from the input arrays
Is this value a JS SharedArrayBuffer?
Robustly get the length of a Typed Array
extend like a boss
Flatten nested arrays
An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.
Parse postgres array columns
An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.
A list of SPDX license identifiers
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
An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.
Convert a value to an array
TypedArray polyfill for old browsers
An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.
Detect whether or not an object is a Typed Array
Creates a shallow clone of any JavaScript value.
a few common utility template tags for ES2015
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Simply swizzle your arguments
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
A static list of the Node.js builtin modules from the latest Node.js version
Sort the keys of an object
Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.
Guarantees an array back
Remove duplicate values from an array. Fastest ES5 implementation.
Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.
Get a compare function for array to sort
Iterator abstraction based on ES6 specification
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Turn anything into an array
Array methods for ES6 Iterators
Isomorphic, functional type-checking for Javascript
Utils for working with JavaScript classes and prototype methods.
Visit a method over the items in an object, or map visit over the objects in an array.
Create an array by repeating the given value n times.
Map `visit` over an array of objects.
Recursively flatten an array or arrays.
Check if a string matches the name of a Node.js builtin module
Create an array with values that are present in the first input array but not additional ones
Join paths and globs.
Create an array without duplicates
List of text file extensions
ES2015 `Array#findIndex()` ponyfill
Replace or remove multiple items in an array.
No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.
An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
List of Markdown file extensions
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Natural Sort algorithm for Javascript - Version 0.7 - Released under MIT license
Concatenate a readable stream's data into a single array
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Loop over each item in an array and call the given function on every element.
Removes duplicates from a sorted array in place
A simple and composable way to validate data in JavaScript (and TypeScript).
Iterates over the elements in an array, returning an array with only the elements for which the callback returns truthy.
Typescript-compatible minimalistic shallow equality check for arrays/objects
Get the longest item in an array.
`Array#forEach()` but it’s possible to define where to move to next
Like an array, but rounder.
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
A utility library which filters objects from an array of objects based on a set of filter conditions
Microsoft sucks
Return true if a value is a valid glob pattern or patterns.
Check if two arrays are equal
Validates if a value is an array.
ES spec-compliant shim for TypedArray.prototype.slice
Filters an array of objects by matching a field's value in each object to a search term. Returns filtered array
Sort the keys in an object.
Run an array of functions in series
Sort array elements in descending order.
Filters array by removing matching elements contained in one or more additional arrays.
Isomorphic map-reduce function to flatten an array into the supplied array
Sort array elements in ascending order.
Computes the greatest common divisor (gcd).
Computes the least common multiple (lcm).
Iterate any iterable JS value. Works robustly in all environments, all versions.
Watch an object or array for changes
Validates if a value is an integer array.
Run promise-returning & async functions in series, each passing its result to the next
An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.
> A powerful React hook for managing client-side paginated data with filters, automatic refetching, and built-in loading states
An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.
Find the greatest satisfied semver range from an array of ranges.
Make any value an array. No dependencies.
Treat multiple buffers as one
Multidimensional Arrays
make a shallow copy of an object or array
Sorts any JavaScript array in a predictable way (deep equal arrays are always sorted in the same order)
Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
Faster alternative to javascript's native filter method.
A ponyfill for the ES 2015 (ES6) `Array.from()`.
Generates an array of consecutive integers starting at 0
Get all but the last element or last n elements of an array.
Run an array of functions in parallel, but limit the number of tasks executing at the same time
Get the last or last n elements in an array.
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.
Array#filter for older browsers.
filter in array tree
Faster, node.js focused alternative to JavaScript's native array map.
Do dataset joins, mergings, filters, mappings, orderings, groupings, mergings, reducings (aggregations), and similar operations on datast style objects. A 'Dataset' is an array of objects with named properties. Inspired by c# linq method syntax.
finds an item in an array matching a predicate function, and returns its index
A tiny, faster alternative to native Array.prototype.every
Check whether a value is "empty".
A simple and composable way to validate data in JavaScript (and TypeScript).
Float64Array.
Return a function which tests if every element in an array passes a test condition.
Return a data type from a string representing the type
An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.
Test if a value is a Uint8Array.
Uint8Array.
A utility function to index arrays by any criteria
Float32Array.
Test if a value is an array.
Test if a value is a Uint16Array.
Test if a value is a Float64Array.
An optionally-asynchronous forEach with an interesting interface.
Test if a value is a Uint32Array.
Safely push each item of an array to a stream
Reuse typed arrays
Maximum unsigned 32-bit integer.
Microsoft sucks
Normalize array (possibly n-dimensional) to zero mean and unit variance
Sort an array on an object property
Uint32Array.
Uint16Array.
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
creates a new array with given range
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
Find [nd-]array min/max values
Test if a value is a Float32Array.
Comma delimit an array for human readability, the Oxford comma is optional.
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
Initialize an array of arrays to a constant
A lightweight and simple TypeScript package to help filter arrays. Provides intelityping for filtering to help with code completions and prevent errors. Increases the readability of code when using multiple filters.
flattens nested vertex data into a typed array
`[].map(f)` for older browsers
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
Deep-merge the values of one object structure into another
Deep copy objects and arrays
Computes the cosine similarity between two arrays.
Computes the dot product between two numeric arrays.
`[].reduce()` for old browsers
Packs an array-of-arrays into a single ndarray
Computes the L2 norm (Euclidean norm) of an array of values.
Return true if the given number is even.
Filters object in a way the MongoDB does. Filters are defined as an array of dot separated paths. Filtering in arrays included.
Simple iterator for flat and multi section lists
Make array iteration easy when using async/await and Promises
Randomize the order of the elements in a given array.
Move an array item to a different position
Bind data arrays to any type of JS objects
Rearrange array elements by index array
Convert Buffer to ArrayBuffer
Typedarray integer & float pixel buffers w/ customizable formats, blitting, drawing, convolution
Flatten a nested array.
The swiss army knife for binary data in JavaScript.
🔧 Fast, modern, and practical utility library for FP in TypeScript.
Extensible deep value equivalence checking for any data types
An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3
Makes easy to convert JSON to CSV
Recursively iterates over arrays and objects
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Returns an array containing the initial elements which both input arrays have in common
Asynchronous iterator function for parallel processing.
Compare your item to items in an array and get the closest one.
List of getter/setter properties for JavaScript types
Rotate an array by a given number of steps
Merge two lists, trying to preserve the order of both
Array / Arraylike utilities
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Functional tree editing, manipulation & navigation
List of properties for JavaScript objects
Sort string index ranges
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.
Rotate all items in an array
List of JavaScript types
Isomorphic, load-anywhere function to sort an array by scalar, deep or computed values in any standard or custom order
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it
Like lodash's _.defaultsDeep, but with array preservation
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Creates a real Array from almost anything.
Pipe an Array through Node.js streams
Create a filled generic array.
Run an array of functions in series, each passing its results to the next function (waterfall)
Create a zero-filled generic array.
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.
high-performance, zero-dependency circular reference check for objects (or arrays)
Filters an array by testing uniqueness with a callback, an index, or a key.
Module for working with CIDR (v4, v6)
取得陣列唯一值,支援深度比較巢狀物件和陣列 / Get unique values from array with deep comparison for nested objects and arrays
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.
Turn an array into a list of comma-separated values, appropriate for use in an English sentence.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
split an array ( or object) into multiple using filters
Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.
Check if the given value is an Array
Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS
Reduce an array to unique values, optionally into a separate array.
List of video file extensions
List of common default router IP addresses
Collection of image extensions
Sparse array implementation in JS with no dependencies
Lazily initialized properties for objects
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Join all elements of an array and create a human-readable string
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
compare two collections
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.
A complete, fully tested data structure library written in TypeScript.
Simple javascript lib for converting a [comma || space] delimited string to an array