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.
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Iterator abstraction based on ES6 specification
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.
Iterate any iterable JS value. 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
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
Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
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
Higher order functions for iterators and async iterators
Composable functional (async) iterable helpers
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
Inline tokens iterator for markdown-it markdown parser.
Execute a method out from an object.
Fast random sampling using reservoir sampling
Read an exact number of bytes from a binary (async) iterable
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
Library of associative containers; it implements TreeMap, TreeSet, TreeMultiMap and TreeMultiSet classes
Simple async iterables for websocket client connections
Run promise-returning & async functions in series
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.
Detect native Symbol.iterator support.
Fun with Iterables
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
Openapi tools common libraries
Apply a function to an array from then end to the beginning.
RequestAnimationFrame friendly async for iterator
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
ndjson to async iterator
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.
The iterable toolbox
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
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.
Double-linked lists with comprehensive set of operations (incl. optional self-organizing behaviors)
Map over promises concurrently. This is a fork of sindresorhus/p-map, but with CommonJS support.
[![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
Reads text lines from stream
Async iterator for GitLab API based on axios
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
Typescript wrapper for pg-query-stream
wrangle deep nested object entries
Functional sequences for processing iterable data in JavaScript
A library built for ES6 iteration protocol.
Parallel mapping for async iterators
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
Adds a counter integer to iterated values.
Creates an iterator that finishes immediately.
Convert a pull stream to an async iterator
Convert an async iterator/iterable to a readable stream
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
Base iterator for extract iterators like tar-iterator and zip-iterator
A simple agent for performing a sequence of http requests in node.js
Test whether some promise passes a testing function
XZ Decompression Library
type AnyIterable<T>
Return an iterator's length.
Extract contents from zip archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms
Iterate over an Array received on the input, giving the next element only after it receives a feedback
A collection of utilities for iterations.
Extract contents from tar archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms
fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.
Calls async iterator next using a callback format
Backoff generators usable as simple iterables
Maximize the parallel calls of an iterator supporting asyncIterator interface
Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]
Extract contents from 7z archives using an iterator API. Pure JavaScript, works on Node.js 0.8+
Combine Multiple Asynchronous Iterators in one (not a sequence)
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
Like `await Promise.all(mytasks.map(async (item) => ....))`, but with super-powers
Resolve and reduce an array of promises
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
Binary data related transducers & reducers
Node-RED nodes to looping (fixed steps, condition based or iterating over arrays, objects, maps, sets, string).
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.
push items to pulling iterators
Turn Node.js Events into Async Iterables
Query library for ECMAScript iterables.
EcmaScript's CreateArrayIterator abstract operation
Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.
async iteratormethod as module.
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.
JS utils
Create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.

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)
Fast execution of an array of functions with the same value as input that can be altered.
Use requestAnimationFrame as an async iterable, in any JavaScript environment
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
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)
Datetime types, relative dates, math, iterators, composable formatters, locales
turns WebSocket into async iterator
A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.
An AsyncReiterable is an append-only collection that allows multiple asynchronous iterations.
JS syntax transformation framework for @effectful/js
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.
An iter function for JavaScript
Assorted file I/O utils (w/ logging support) for NodeJS/Bun
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
Iterable abstract class for TypeScript
Internal APIs for VS Code's utilities and user interface building blocks.
Simple async iterables for websocket client connections
A B-tree based map with support for ordered iteration, range queries, and non-unique keys
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
Deep iteration of any object or iterable collection. (This version revised by @msablanet)
Iterable mapping functions for JavaScript
An essential Array.prototype[Symbol.iterator] polyfill for legacy browsers.
An extension of the Iterator class with additional utility helper functions.
promise-style async sequence flow-control
Stream iterators and other stream utils
Async file walk iterator
Iterator next function for JavaScript
A typescript class that converts arrays into a loopable, O(1) lookup HashMap
A counting function for JavaScript
transform input into equally-sized blocks of output using async iterators
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
Item repetition 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
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
Functional and asynchronous conjurations for Javascript
Calculate fibonacci numbers for endless iterations.
Iterable zipping functions for JavaScript
Time and dates iterator using momentjs
Lazy number range generator
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
lazy fluent iterators
Iterable consumption for JavaScript
Asynchronously map object keys and values into a new object
Compute the product of all iterated values.