locate-path
Get the first path that exists on disk of multiple paths
Found 2549 results for iterator
Get the first path that exists on disk of multiple paths
Get the first fulfilled promise that satisfies the provided testing function
Minimal async jobs utility library, with streams support
Map over promises concurrently
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
`Iterator.prototype`, or a shared object to use.
Map object keys and values into a new object
Create an error from multiple errors
Filter object keys and values into a new object
A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.
Iterator abstraction based on ES6 specification
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Higher order iterator library for JavaScript/TypeScript.
Reduce a list of values using promises into a promise for a value
Array methods for ES6 Iterators
Filter promises concurrently
Iterate over promises serially
Minimal zero-dependency utilities for using JavaScript Iterables in all environments.
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Map over promises serially
Run promise-returning & async functions in series, each passing its result to the next
Iterate any JS iterator. Works robustly in all environments, all versions.
Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
Iterate any iterable JS value. Works robustly in all environments, all versions.
Run promise-returning & async functions concurrently with optional limited concurrency
Small library to simplify working with Generators and Iterators in Javascript / Typescript
`AsyncIterator.prototype`, or a shared object to use.
Wait for a specified number of promises to be fulfilled
Create an error from multiple errors
Wait for any promise to be fulfilled
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
A zero-dependency cron parser and scheduler for Node.js, Deno and the browser.
Iterator over lines in a string
ES6 iterator based read/write bit streams with support for variable word widths
Simple iterator for flat and multi section lists
Deques are a generalization of stacks and queues
A finite state machine iterator for JavaScript
An iterable that you can push values into
Recursively iterates over arrays and objects
Get the default iterator or async iterator for an iterable or async iterable
iterator for mini-html-parser
Composable functional (async) iterable helpers
Higher order functions for iterators and async iterators
Iterator library for JavaScript and TypeScript
Convert Node.js streams to streaming iterables
Test whether all promises passes a testing function
Utility to "pipe" async iterables together
Streaming length prefixed buffers with async iterables
The iterable toolbox
Execute a method out from an object.
Inline tokens iterator for markdown-it markdown parser.
Read an exact number of bytes from a binary (async) iterable
Fast random sampling using reservoir sampling
Generate random numbers that are consecutively unique
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
filter a javascript iterator
Simple async iterables for websocket client connections
Run promise-returning & async functions in series
Library of associative containers; it implements TreeMap, TreeSet, TreeMultiMap and TreeMultiSet classes
Retrieves the value of a specified property from all elements in the collection.
It iterates through a graph or a tree recursively
Symbol iterator.
TypeScript-STL (Standard Template Library, migrated from C++)
Flexible and performant utility for traversing javascript objects
Asynchronously calls a function on each element in an array in parallel.
Fun with Iterables
Detect native Symbol.iterator support.
Make any iterator or iterable abortable via an AbortSignal
fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
PostCSS plugin to iterate through values
Create handshakes for binary protocols with iterable streams
Create async iterator from regular stream
Cycle through the items of an array
Concat all buffers/strings yielded from an async iterable into a single BufferList/string
Foundation for async iterators as streams
Converts iterable objects into readable streams.
Split an iterable into evenly sized chunks
Apply a function to an array from then end to the beginning.
Openapi tools common libraries
ndjson to async iterator
RequestAnimationFrame friendly async for iterator
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
Transform input into equally-sized blocks of output
An async iterator that joins multiple other async iterators in order, one after another.
Provide helpers that polyfill all methods defined in [iterator helpers proposal](https://github.com/tc39/proposal-iterator-helpers), both for `Iterator` and `AsyncIterator`, and even more.
Fast Async Iterator for browser Readable Streams.
Reduce an array of values via an asynchronous function.
Array like linked list with iterator
Asynchronously calls a function on each element in an array in series.
Creates a prefetched async iterable
The iterable toolbox
A blazing fast recursive directory crawler with lazy sync and async iterator support.
A doubly linked list implementation
Uint8Array async iterator adapters for Node.js streams
The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.
Chai assertions for iterable objects
Async iterator utilities
Standard iterator utilities.
Create an error from multiple errors. This is a fork of sindresorhus/aggregate-error, but with CommonJS support.
Map over promises concurrently. This is a fork of sindresorhus/p-map, but with CommonJS support.
Double-linked lists with comprehensive set of operations (incl. optional self-organizing behaviors)
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Async iterator for GitLab API based on axios
Reads text lines from stream
Node-RED nodes to help flow looping.
Test if a value is iterator-like.
merges async iterators
An implementation for Array.fromAsync, which dumps an async iterator into an array.
A dead simple round-robin array iterator
HighWatermark Processing with Async Iterators
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
wrangle deep nested object entries
Typescript wrapper for pg-query-stream
Functional sequences for processing iterable data in JavaScript
A library built for ES6 iteration protocol.
Parallel mapping for async iterators
Adds a counter integer to iterated values.
Creates an iterator that finishes immediately.
Base iterator for values retrieved using a stack of async functions returning values
ES2015 generator (iterable iterator) for cartesian product. Put combinatorial explosion back in the kennel.
Convert a (async) iterator to a pull stream
Convert an async iterator/iterable to a readable stream
Convert a pull stream to an async iterator
Base iterator for extract iterators like tar-iterator and zip-iterator
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
A simple agent for performing a sequence of http requests in node.js
Test whether some promise passes a testing function
XZ Decompression Library
Return an iterator's length.
type AnyIterable<T>
Extract contents from zip archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms
A collection of utilities for iterations.
Iterate over an Array received on the input, giving the next element only after it receives a feedback
Extract contents from tar archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms
Calls async iterator next using a callback format
fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
Backoff generators usable as simple iterables
Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]
Combine Multiple Asynchronous Iterators in one (not a sequence)
Maximize the parallel calls of an iterator supporting asyncIterator interface
Extract contents from 7z archives using an iterator API. Pure JavaScript, works on Node.js 0.8+
An iterable is a sequence of values.
Converts any DOM node/s to a loopable array
Rust-like Option and Result for TypeScript with near-zero allocations for extreme performance
[a]synchronous functional programming
Create an iterator which iterates over grapheme clusters.
Sorted set data structures
Resolve and reduce an array of promises
Like `await Promise.all(mytasks.map(async (item) => ....))`, but with super-powers
A toolbox to check if an object is iterable, an iterator or a generator, etc.
Assign a value to a property in an Array iterator
Complete implementation of Language-Integrated Query (LINQ) (ECMAScript 2015 Language Specification)
Simple terminal progress indicator made for any loop
Node-RED nodes to looping (fixed steps, condition based or iterating over arrays, objects, maps, sets, string).
Binary data related transducers & reducers
Progress bar in console for Node.js in the style of TQDM Python library
ASync CLasses + ASync ITerators
Complete implementation of Language-Integrated Query (LINQ) (ECMAScript 5.1 Language Specification)
HTML/SVG/XML serialization of nested data structures, iterables & closures
Deeply Iterate over Arrays. Like calling array.flat()[Symbol.iterator](), but without the memory cost
typeguard functions to determine whether or not a value is iterable or an iterator in the ES6 sense
Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).
Event Collections
Create an iterator from an array-like object.
Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]
Browser-friendly fork of sindresorhus/map-obj
Convert an observable to ES6 async generator.
inform an iterator when it is prematurely terminated by the consumer.
Deep iteration of any object or iterable collection.
Turn Node.js Events into Async Iterables
push items to pulling iterators
Query library for ECMAScript iterables.
EcmaScript's CreateArrayIterator abstract operation
async iteratormethod as module.
Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.
Observe changes to the DOM using an async iterable — A nicer API for MutationObserver
Clojure inspired, composable ES6 iterators & generators
2D grid and shape iterators w/ multiple orderings
Modular testing for JavaScript
Create an iterator for generating uniformly distributed pseudorandom numbers between 0 and 1.
Create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.
JS utils

Create a deferred async iterator.
Test if a value is iterable-like.
A lazy functional iteration library supporting sync, async, and concurrent iteration.
Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)
Use requestAnimationFrame as an async iterable, in any JavaScript environment
Fast execution of an array of functions with the same value as input that can be altered.
Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]
Primitives & operators for Communicating Sequential Processes based on async/await and async iterables
Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors
Functions for working with iterators in JavaScript, with TypeScript
Datetime types, relative dates, math, iterators, composable formatters, locales
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)
turns WebSocket into async iterator
An AsyncReiterable is an append-only collection that allows multiple asynchronous iterations.
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands
A utility for creating an iteratively cached (memoized) result of an iterable.
Assorted file I/O utils (w/ logging support) for NodeJS/Bun
An iter function for JavaScript
wrap async/sync Iterable as an asyncIterable
Iterable to Array for JavaScript
Push iteration protocol
LINQ-like syntax using tagged templates.
Fast 2D contour line extraction / generation
JS syntax transformation framework for @effectful/js
Iterable abstract class for TypeScript
Internal APIs for VS Code's utilities and user interface building blocks.
Simple async iterables for websocket client connections
Create an iterator which returns evenly spaced numbers over a specified interval.
Chained iterator for TypeScript
Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils
Iterable mapping functions for JavaScript
Deep iteration of any object or iterable collection. (This version revised by @msablanet)
An essential Array.prototype[Symbol.iterator] polyfill for legacy browsers.
A B-tree based map with support for ordered iteration, range queries, and non-unique keys
promise-style async sequence flow-control
Stream iterators and other stream utils
An extension of the Iterator class with additional utility helper functions.
Iterator next function for JavaScript
Async file walk iterator
A typescript class that converts arrays into a loopable, O(1) lookup HashMap
transform input into equally-sized blocks of output using async iterators
A counting function for JavaScript
Adds missing values, keys and entries functions to native es6 collection implementations
Combinatorial string generator using spintax syntax
execute an async transform and yield in order of completion
A range function for JavaScript
AsyncQueue is a TypeScript class that provides a simple asynchronous queue implementation. It implements the `Symbol.asyncIterator` interface, allowing it to be used in `for-await-of` loops. This enables one or multiple consumers to process items in the q
Item repetition for JavaScript
Python-esque iterator for number ranges
Get array items one-by-one and remember the current one.
A basic iterator result.
Concurrent union
additional plugins for asynquence
[a]synchronous functional programming
Calculate fibonacci numbers for endless iterations.
Functional and asynchronous conjurations for Javascript
Iterable zipping functions for JavaScript
Lazy number range generator
Time and dates iterator using momentjs
Read text file (remote over HTTP(S) or local) line by line as async iterator, with Node, browsers and Deno
The very core of `xrange`, provided as a separate package
Call .next() on generators.
lazy fluent iterators
Iterable consumption for JavaScript
Asynchronously map object keys and values into a new object