p-locate
Get the first fulfilled promise that satisfies the provided testing function
Found 850 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.
Isomorphic, functional type-checking for Javascript
Iterate over promises serially
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Filter promises concurrently
Reduce a list of values using promises into a promise for a value
Minimal zero-dependency utilities for using JavaScript Iterables in all environments.
Iterate any JS iterator. Works robustly in all environments, all versions.
Map over promises serially
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
Checks if a given object is iterable
Composable functional (async) iterable helpers
Test whether all promises passes a testing function
Get the default iterator or async iterator for an iterable or async iterable
An iterable that you can push values into
Iterable wrapper that add methods to read ahead or behind current item.
Convert Node.js streams to streaming iterables
Generate random numbers that are consecutively unique
The iterable toolbox
`Promise.all` and `Promise.allSettled` with concurrency option and async iterable result
Utility to "pipe" async iterables together
Streaming length prefixed buffers with async iterables
Run promise-returning & async functions in series
Memory-Aware Statistical Calculations
A consumable stream demultiplexer.
An alternantive to EventEmitter using consumable streams.
Fun with Iterables
Read an exact number of bytes from a binary (async) iterable
Converts iterable objects into readable streams.
Simple async iterables for websocket client connections
A standard for JS callbacks
Set of classes used for async prefetching with backpressure (IterableMapper) and async flushing with backpressure (IterableQueueMapper, IterableQueueMapperSimple)
Enable basic async test looping in Mocha
Concat all buffers/strings yielded from an async iterable into a single BufferList/string
Cycle through the items of an array
Typescript wrapper for pg-query-stream
Chai assertions for iterable objects
The iterable toolbox
Applies a callback to each value outputted by an iterable.
A better Array.prototype.every(). Supports iterables, whitelist testing, and more.
Fast cartesian product
A blazing fast recursive directory crawler with lazy sync and async iterator support.
Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.
ndjson to async iterator
Check if an Iterable is empty
Create handshakes for binary protocols with iterable streams
An iterable transform that apply replace to all items
Create an error from multiple errors. This is a fork of sindresorhus/aggregate-error, but with CommonJS support.
Array.prototype.map analog for iterables.
Map over promises concurrently. This is a fork of sindresorhus/p-map, but with CommonJS support.
Wrapper for Iterable API
Efficient structure representing a sequence of elements, with powerful operations for TypeScript
Functional sequences for processing iterable data in JavaScript
🤖 Repeat tests. Repeat tests. Repeat tests.
Join (SQL-like) two iterables by a common key.
A toolbox to check if an object is iterable, an iterator or a generator, etc.
Split an iterable into evenly sized chunks
Cartesian product for big inputs
Test whether some promise passes a testing function
Resolve and reduce an array of promises
A collection of utility functions for working with randomness.
merges async iterators
Convert an async iterator/iterable to a readable stream
Utilities to manipulate async iterable of chunks of strings
turns WebSocket into async iterator
type AnyIterable<T>
An iterable is a sequence of values.
Backoff generators usable as simple iterables
ES2015 generator (iterable iterator) for cartesian product. Put combinatorial explosion back in the kennel.
Asynchronous batched iterable for (mongo) cursors
A library built for ES6 iteration protocol.
Typesafe API for processing iterable data in TypeScript and JavaScript
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
typeguard functions to determine whether or not a value is iterable or an iterator in the ES6 sense
An unprotected bi-directional linked list. Useful for implementing other collections.
Iterable mapping functions for JavaScript
Iterable to Array for JavaScript
Observe changes to the DOM using an async iterable — A nicer API for MutationObserver
A collection of utilities for iterations.
Convert an observable to ES6 async generator.
Use requestAnimationFrame as an async iterable, in any JavaScript environment
An iter function for JavaScript
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
Javascript Iterable/Iterator/Generator-function utilities.
Query library for ECMAScript iterables.
Combine Multiple Asynchronous Iterators in one (not a sequence)
Basic callbag factories and operators to get started with
Tiny yet feature-packed (async) iteration toolkit.
Iterator next function for JavaScript
A range function for JavaScript
A counting function for JavaScript
A simple and fast FIFO collection for enqueuing and dequeuing items.
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)
Iterable slicing functions for JavaScript
Checks entity if array, arguments, iterable or array-like.
Iterable WeakSet / WeakMap using ES2021 WeakRef
Iterable zipping functions for JavaScript
A utility for creating an iteratively cached (memoized) result of an iterable.
Iterable consumption for JavaScript
Item repetition for JavaScript
Iterable reducers for JavaScript
Iterable reversion for JavaScript
A lazy functional iteration library supporting sync, async, and concurrent iteration.
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
Wait for any promise to be fulfilled. This is a fork of sindresorhus/p-any, but with CommonJS support.
Iterable cycling functions for JavaScript
Wait for a specified number of promises to be fulfilled. This is a fork of sindresorhus/p-some, but with CommonJS support.
Iterable chaining for JavaScript
Ensures that a given input can be used as a set
Read text file (remote over HTTP(S) or local) line by line as async iterator, with Node, browsers and Deno
Iterable cardinality library for JavaScript
A doubly (bidirectional) linked list. Acts as a safe, value focused wrapper for a linked-node-list.
Simple async iterables for websocket client connections
Iterable filtering functions for JavaScript
AsyncIterable to Array conversion for JavaScript
LINQ-like syntax using tagged templates.
An ObjectIterator implementation.
Iterable windowed iteration for JavaScript
Iterable items grouping for JavaScript
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.
Lazy list with high tree-shaking affinity and easy customization.
Small, chainable, set of functions like range, map, reduce, filter, zip, for iterable objects.
An es6-style immutable Stack
Extended iterable class, providing lazy array-like methods with automatic async and return/throw forwarding
List all directories in a given directory
Concurrency using chainable async iterables, such as task pool, event queue, pub/sub, merge, chunk, throttle, etc.
Several hooks for using Wonka streams with React
combine multiple Iterable or AsyncIterable objects into one
Advanced Array utility functions. Extra arguments for map and forEach including first, last, brk, odd, even, penultimate, and more!
transform input into equally-sized blocks of output using async iterators
Super efficiently compares two sorted lists (arrays, strings, anything that is iterable actually).
Make a JS Iterator forkable.
A better sync and async iterator API.
Iterable WeakMaps and WeakSets. Provides WeakRefMap and WeakRefSet which store values using WeakRefs and clean themselves up when garbage collected.
Cutie extension for the iterable protocol in JavaScript.
Querying infrastructure for JavaScript, with Linq style
JavaScript iterable transformation library
A fully streaming regular expression engine
iterable tools
Create an iterator for generating uniformly distributed pseudorandom numbers between 0 and 1.
HashMap, LinkedHashMap and Higher Order Functions for all other Iterables, such as Map, Set and Array
Get the first path that exists on disk of multiple paths
Standard utilities codes and types.
Fetch Server-Sent Events (SSE) as an async iterable
A bundle of data collections in TypeScript
An agnostic solution to work with any Datastore
Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.
Basic callbag factories and operators to get started with
Utilities for building and transforming maps using iterables and streams.
Fetch streaming LLM responses as an async iterable
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
Map that keeps track of the hits and misses
Create an iterator for generating pseudorandom numbers drawn from a beta distribution.
Read text file (remote over HTTP(S) or local) line by line as async iterator, with Node, browsers and Deno
Create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.
Lazily evaluated utility library
Test if a value is iterable-like.
Functions for working with built-in collection types
Functions for working with iterators in JavaScript, with TypeScript
Functional sequences for processing iterable data in JavaScript
Get the first path that exists on disk of multiple paths
Object streaming the way it should be
An es6-style iterable queue
The goal is to create a package that provides useful functions for iterables.
Promise.all + map for all iterables
Fast iterator library
Compute the product of all iterated values.
protocol and utilities for light-weight data streams
Run async fn for each item in (async) iterable
A Javascript implementation of a collection based on Array (from Javascript/Java/Kotlin/C#/PHP), Set (from Javascript/Java/Kotlin) and List (from Java/Kotlin/C#)
Tools to create ES6 iterators
Create an iterator which returns a subsequence of iterated values from a provided iterator.
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.
iso-json-tree
Iterate over async iterable with concurrency limit.
Map over promises concurrently
Perform queries on collections in the manner of C#'s System.Linq in JavaScript
Tests a value’s type against a string like 'positive integer' or 'non-empty map'.
Create an iterator which skips the last value of a provided iterator.
Transfigure JSON. Provides JSON objects a fluent, Array-like interface for data transformations.
Compute the arithmetic mean over all iterated values.
An ES6 Iterable utility library with TypeScript support
handling iterables like Arrays.
Convert any callback-based sequence of values into a full-fledged async iterable
Iterable API library
Find files by patterns in directories, upwards or downwards from other paths.
Join an Iterable of strings for JavaScript
Functional programming with lazy immutable iterables
Map over promises concurrently fast
A helper to create async generators
Concatenate an Iterable of strings for JavaScript
Breaks down iterators in to chunks
fp-ts binding for ixjs
Create an iterator which invokes a function for each iterated value.
A TypeScript blazing fast recursive directory crawler with lazy sync and async iterator support, fork from get-all-files by @TomerAberbach
A collection of sources and operators for [Wonka](https://github.com/kitten/wonka).
Joins values together.
Create an iterator for generating pseudorandom numbers drawn from a lognormal distribution.
Transforms items of an async iterable concurrently
Iterable copy function for JavaScript
Join strategies for Iterables, Maps, and Arrays.
Turns browser fetch stream into asynchronous iterator
Extensible Iterable class creation utilities
Updates values based on map function.
Iterable WeakMap, WeakSet and WeakValue.
Iterable item selection for JavaScript
A circular doubly linked list implementation in JavaScript
Iterator utility functions
Transforms ordinary objects into iterables. You can use a for of to iterate through any object's properties
Create an iterator which introduces additive white uniform noise.
Runnerty module: Iterable executor
Create an iterator for generating pseudorandom numbers drawn from a triangular distribution.
A collection of React hooks for [Wonka](https://github.com/kitten/wonka) and [WonkaExtras](https://github.com/mobily/wonka-extras).
Iterate over keys in Redis, using the SCAN command.
Create a transform stream from an async iterator
An iterable is a sequence of values {web}.
allows iterating an array of elements with an easy-to-read syntax and gives functionality to the collection and the elements it iterates.
Fast and lightweight library for lazy operations with iterable objects.
Create an iterator for generating pseudorandom numbers drawn from a normal distribution.
Utilities for Iterable
Create an iterator which evaluates the binary logarithm for each iterated value.
The magic of JavaScript async iterators in React ⛓️ 🧬 🔃
Concurrent union
Create circular, iterable data structures in JS
Create an iterator which introduces additive white Gaussian noise.
Create an iterator which introduces additive white Laplacian noise.
Create an iterator for generating pseudorandom numbers drawn from a discrete uniform distribution.
Compose chains of functions to manipulate data via synchronous and asynchronous iterators
Library for working with collections using iterators.
Some great tools for iteration inspired by python.
A ring buffer that manages memory in chunks to support large capacity for data bursts with low overhead when small.
Create a string by repeating a smaller one for JavaScript
Create an iterator which iteratively computes a cumulative arithmetic mean of absolute values.
Async Iterable Queue
Create an iterator which evaluates the Riemann zeta function for each iterated value.
Simple utility for enhancing any Array with constant O(1) access for properties by unique key
Create an iterator which computes the half-value versed sine for each iterated value.
An events based queue iteration JavaScript module