p-locate
Get the first fulfilled promise that satisfies the provided testing function
Found 841 results for iterable
Get the first fulfilled promise that satisfies the provided testing function
Get the first path that exists on disk of multiple paths
Map over promises concurrently
Create an error from multiple errors
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Iterate over promises serially
Isomorphic, functional type-checking for Javascript
Reduce a list of values using promises into a promise for a value
Filter promises concurrently
Minimal zero-dependency utilities for using JavaScript Iterables in all environments.
Map over promises serially
Iterate any JS iterator. Works robustly in all environments, all versions.
A tiny but capable push & pull stream library for TypeScript and Flow
Run promise-returning & async functions in series, each passing its result to the next
Run promise-returning & async functions concurrently with optional limited concurrency
Wait for any promise to be fulfilled
Wait for a specified number of promises to be fulfilled
Create an error from multiple errors
Small library to simplify working with Generators and Iterators in Javascript / Typescript
A finite state machine iterator for JavaScript
Test whether all promises passes a testing function
Composable functional (async) iterable helpers
An iterable that you can push values into
Get the default iterator or async iterator for an iterable or async iterable
Iterable wrapper that add methods to read ahead or behind current item.
Checks if a given object is iterable
Convert Node.js streams to streaming iterables
`Promise.all` and `Promise.allSettled` with concurrency option and async iterable result
Utility to "pipe" async iterables together
Generate random numbers that are consecutively unique
Streaming length prefixed buffers with async iterables
Run promise-returning & async functions in series
Read an exact number of bytes from a binary (async) iterable
Converts iterable objects into readable streams.
A consumable stream demultiplexer.
An alternantive to EventEmitter using consumable streams.
Typescript wrapper for pg-query-stream
Simple async iterables for websocket client connections
The iterable toolbox
A standard for JS callbacks
Cycle through the items of an array
Concat all buffers/strings yielded from an async iterable into a single BufferList/string
The iterable toolbox
merges async iterators
Set of classes used for async prefetching with backpressure (IterableMapper) and async flushing with backpressure (IterableQueueMapper, IterableQueueMapperSimple)
Fast cartesian product
Create handshakes for binary protocols with iterable streams
A blazing fast recursive directory crawler with lazy sync and async iterator support.
Memory-Aware Statistical Calculations
Fun with Iterables
ndjson to async iterator
Enable basic async test looping in Mocha
type AnyIterable<T>
Check if an Iterable is empty
Wrapper for Iterable API
Asynchronous batched iterable for (mongo) cursors
An iterable transform that apply replace to all items
Super efficiently compares two sorted lists (arrays, strings, anything that is iterable actually).
Create an error from multiple errors. This is a fork of sindresorhus/aggregate-error, but with CommonJS support.
Array.prototype.map analog for iterables.
Functional sequences for processing iterable data in JavaScript
Join (SQL-like) two iterables by a common key.
Map over promises concurrently. This is a fork of sindresorhus/p-map, but with CommonJS support.
Resolve and reduce an array of promises
Chai assertions for iterable objects
A better Array.prototype.every(). Supports iterables, whitelist testing, and more.
Efficient structure representing a sequence of elements, with powerful operations for TypeScript
Applies a callback to each value outputted by an iterable.
ES2015 generator (iterable iterator) for cartesian product. Put combinatorial explosion back in the kennel.
An iterable is a sequence of values.
turns WebSocket into async iterator
Test whether some promise passes a testing function
Split an iterable into evenly sized chunks
A collection of utility functions for working with randomness.
Utilities to manipulate async iterable of chunks of strings
A toolbox to check if an object is iterable, an iterator or a generator, etc.
Create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.
Convert an async iterator/iterable to a readable stream
Backoff generators usable as simple iterables
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
Convert an observable to ES6 async generator.
Cartesian product for big inputs
A library built for ES6 iteration protocol.
typeguard functions to determine whether or not a value is iterable or an iterator in the ES6 sense
🤖 Repeat tests. Repeat tests. Repeat tests.
Combine Multiple Asynchronous Iterators in one (not a sequence)
An unprotected bi-directional linked list. Useful for implementing other collections.
Basic callbag factories and operators to get started with
An iterable is a sequence of values {web}.
Query library for ECMAScript iterables.
A collection of utilities for iterations.
Iterable mapping functions for JavaScript
Typesafe API for processing iterable data in TypeScript and JavaScript
Checks entity if array, arguments, iterable or array-like.
An ObjectIterator implementation.
Iterable to Array for JavaScript
An iter function for JavaScript
Iterable WeakSet / WeakMap using ES2021 WeakRef
Iterator next function for JavaScript
Wait for any promise to be fulfilled. This is a fork of sindresorhus/p-any, but with CommonJS support.
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
A counting function for JavaScript
A simple and fast FIFO collection for enqueuing and dequeuing items.
Replace your slow Array based fixed length ring buffer, or circular queue, with ring-buffer. RingBuffer is roughly 10x faster, and is a drop in replacement.
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
A lazy functional iteration library supporting sync, async, and concurrent iteration.
A utility for creating an iteratively cached (memoized) result of an iterable.
Wait for a specified number of promises to be fulfilled. This is a fork of sindresorhus/p-some, but with CommonJS support.
Simple async iterables for websocket client connections
A range function for JavaScript
List all directories in a given directory
Concurrency using chainable async iterables, such as task pool, event queue, pub/sub, merge, chunk, throttle, etc.
Small, chainable, set of functions like range, map, reduce, filter, zip, for iterable objects.
Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.
Item repetition for JavaScript
Concurrent union
Iterable slicing functions for JavaScript
Iterable zipping functions for JavaScript
Iterable reversion for JavaScript
Iterable consumption for JavaScript
Iterable reducers for JavaScript
Create an iterator for generating uniformly distributed pseudorandom numbers between 0 and 1.
Iterable cycling functions for JavaScript
Read file, stream, string, buffer line by line without putting them all in memory. It supports cool features like `custom line separator`, `various encodings`, `reverse mode`, `iterable protocol`
Iterable sorting for JavaScript
LINQ-like syntax using tagged templates.
Iterable chaining for JavaScript
Iterable filtering functions for JavaScript
Iterable cardinality library for JavaScript
Lazy list with high tree-shaking affinity and easy customization.
Read text file (remote over HTTP(S) or local) line by line as async iterator, with Node, browsers and Deno
Iterable items grouping for JavaScript
AsyncIterable to Array conversion for JavaScript
Make a JS Iterator forkable.
Joins values together.
Iterable windowed iteration for JavaScript
iterable tools
HashMap, LinkedHashMap and Higher Order Functions for all other Iterables, such as Map, Set and Array
Create an iterator which invokes a binary function accepting numeric arguments for each iterated value.
Javascript Iterable/Iterator/Generator-function utilities.
Several hooks for using Wonka streams with React
A bundle of data collections in TypeScript
An extension of the Iterator class with additional utility helper functions.
protocol and utilities for light-weight data streams
An es6-style immutable Stack
Advanced Array utility functions. Extra arguments for map and forEach including first, last, brk, odd, even, penultimate, and more!
Test if a value is iterable-like.
Map that keeps track of the hits and misses
JavaScript iterable transformation library
allows iterating an array of elements with an easy-to-read syntax and gives functionality to the collection and the elements it iterates.
Compute the product of all iterated values.
Create an iterator which returns a subsequence of iterated values from a provided iterator.
transform input into equally-sized blocks of output using async iterators
An agnostic solution to work with any Datastore
Querying infrastructure for JavaScript, with Linq style
Fast iterator library
Generate a series of tuples in lexicographical order
Create an iterator which skips the last value of a provided iterator.
A better sync and async iterator API.
A fully streaming regular expression engine
Observe changes to the DOM using an async iterable — A nicer API for MutationObserver
An iterator abstraction for async operations
Create an iterator which invokes a function for each iterated value.
Lazily evaluated utility library
The easiest way to handle iterables.
An es6-style iterable queue
Updates values based on map function.
Compute the arithmetic mean over all iterated values.
Utilities for building and transforming maps using iterables and streams.
Create an iterator for generating pseudorandom numbers drawn from a discrete uniform distribution.
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
An ES6 Iterable utility library with TypeScript support
Use requestAnimationFrame as an async iterable, in any JavaScript environment
Create an iterator which computes the angle in the plane (in radians) between the positive x-axis and the ray from (0,0) to the point (x,y).
Get the first path that exists on disk of multiple paths
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
Create an iterator which evaluates the base 10 exponential function for each iterated value.
Create an iterator which evaluates the Bessel function of the first kind of order zero for each iterated value.
Create an iterator which evaluates the ramp function for each iterated value.
Utility methods for working with iterables as streams.
Fetch streaming LLM responses as an async iterable
Create an iterator which computes the hyperbolic arcsine of each iterated value.
Create an iterator which computes the hyperbolic arccosine of each iterated value.
Iterable API library
Standard utilities codes and types.
Create an iterator which rounds each iterated value to the nearest power of two on a linear scale.
Lazy number range generator
Transfigure JSON. Provides JSON objects a fluent, Array-like interface for data transformations.
Functions for working with iterators in JavaScript, with TypeScript
Create an iterator which evaluates the Dirac delta function for each iterated value.
Create an iterator which rounds each iterated value to the nearest power of 10 toward negative infinity.
Create an iterator which computes the inverse cotangent of each iterated value.
Create an iterator which computes the arctangent of each iterated value.
Create an iterator which computes the half-value coversed sine for each iterated value.
Create an iterator which evaluates the common logarithm (logarithm with base 10) for each iterated value.
Create an iterator which computes the half-value versed cosine for each iterated value.
Create an iterator which computes `sqrt(1+x) - 1` for each iterated value.
Create an iterator which evaluates the natural logarithm of 1+exp(x) for each iterated value.
Create an iterator which evaluates the natural logarithm of the gamma function for each iterated value.
Create an iterator which evaluates the standard logistic function for each iterated value.
Create an iterator which computes `exp(x) - 1` for each iterated value.
Create an iterator which evaluates the Bessel function of the first kind of order one for each iterated value.
Create an iterator which computes the inverse versed cosine of each iterated value.
Create an iterator which rounds each iterated value to the nearest power of 10 toward positive infinity.
Create an iterator which computes the inverse coversed sine of each iterated value.
Create an iterator which evaluates the signum function for each iterated value.
Create an iterator which computes the squared absolute value of each iterated value.
Create an iterator which rounds each iterated value to the nearest power of 10 on a linear scale.
Create an iterator which performs element-wise subtraction of two or more iterators.
Create an iterator which computes the inverse versed sine of each iterated value.
Create an iterator which evaluates the digamma function for each iterated value.
Create an iterator which computes the inverse half-value versed cosine of each iterated value.
Create an iterator for generating pseudorandom numbers drawn from a beta distribution.
Create an iterator which computes the hyperbolic arctangent of each iterated value.
Create an iterator which rounds each iterated value to the nearest power of two toward zero.
Create an iterator which computes the arccosine of each iterated value.
Create an iterator which computes the cube root of each iterated value.
Create an iterator which computes the inverse coversed cosine of each iterated value.
Create an iterator which evaluates the natural logarithm of the beta function.
Create an iterator which evaluates the inverse complementary error function for each iterated value.
Create an iterator which computes the normalized cardinal sine for each iterated value.
Create an iterator which evaluates the Riemann zeta function for each iterated value.
Create an iterator which performs element-wise addition of two or more iterators.
Create an iterator which evaluates Binet's formula for each iterated value.
Create an iterator which rounds each iterated value toward negative infinity.
Create an iterator which rounds each iterated value to the nearest integer.
Create an iterator which evaluates the complementary error function for each iterated value.
Create an iterator which iteratively computes a cumulative sum.
Create an iterator which computes the inverse half-value versed sine of each iterated value.
Create an iterator which evaluates the natural logarithm of 1-exp(-|x|) for each iterated value.
Create an iterator which iteratively computes a cumulative arithmetic mean of squared absolute values.
Create an iterator which computes the coversed sine for each iterated value.
Create an iterator which rounds each iterated value toward zero.
Create an iterator which computes the base `b` logarithm.
Create an iterator which performs element-wise division of two or more iterators.
Create an iterator which invokes a ternary function accepting numeric arguments for each iterated value.
Create an iterator which evaluates the inverse error function for each iterated value.
Create an iterator which computes the coversed cosine for each iterated value.
Create an iterator which computes the complete elliptic integral of the second kind for each iterated value.
Create an iterator which evaluates the hyperbolic tangent for each iterated value.
Create an iterator which performs element-wise multiplication of two or more iterators.
Create an iterator for generating pseudorandom numbers drawn from a Student's t distribution.
Create an iterator which computes the arcsine of each iterated value.
Create an iterator which computes the half-value coversed cosine for each iterated value.
Compute the maximum value of all iterated values.
Create an iterator which rounds each iterated value to the nearest power of 10 toward zero.
Create an iterator which computes the half-value versed sine for each iterated value.
A doubly linked list implementation in JavaScript