JSPM

Found 2549 results for iterator

locate-path

Get the first path that exists on disk of multiple paths

  • v8.0.0
  • 87.20
  • Published

p-locate

Get the first fulfilled promise that satisfies the provided testing function

  • v7.0.0
  • 85.44
  • Published

asynckit

Minimal async jobs utility library, with streams support

  • v0.5.0
  • 82.97
  • Published

p-map

Map over promises concurrently

  • v7.0.4
  • 81.79
  • Published

stop-iteration-iterator

Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.

  • v1.1.0
  • 79.84
  • Published

iterator.prototype

`Iterator.prototype`, or a shared object to use.

  • v1.1.5
  • 78.98
  • Published

map-obj

Map object keys and values into a new object

  • v6.0.0
  • 78.18
  • Published

aggregate-error

Create an error from multiple errors

  • v5.0.0
  • 77.98
  • Published

filter-obj

Filter object keys and values into a new object

  • v6.1.0
  • 74.50
  • Published

@sec-ant/readable-stream

A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.

  • v0.6.0
  • 74.12
  • Published

es-get-iterator

Get an iterator for any JS language value. Works robustly across all environments, all versions.

  • v1.1.3
  • 73.89
  • Published

es6-iterator

Iterator abstraction based on ES6 specification

  • v2.0.3
  • 73.87
  • Published

obliterator

Higher order iterator library for JavaScript/TypeScript.

  • v2.0.5
  • 73.05
  • Published

p-reduce

Reduce a list of values using promises into a promise for a value

  • v3.0.0
  • 72.31
  • Published

iterare

Array methods for ES6 Iterators

  • v1.2.1
  • 71.85
  • Published

p-filter

Filter promises concurrently

  • v4.1.0
  • 71.47
  • Published

p-each-series

Iterate over promises serially

  • v3.0.0
  • 70.43
  • Published

iterall

Minimal zero-dependency utilities for using JavaScript Iterables in all environments.

  • v1.3.0
  • 69.58
  • Published

make-iterator

Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.

  • v2.0.0
  • 67.81
  • Published

p-map-series

Map over promises serially

  • v3.0.0
  • 66.18
  • Published

p-waterfall

Run promise-returning & async functions in series, each passing its result to the next

  • v3.0.0
  • 65.49
  • Published

iterate-iterator

Iterate any JS iterator. Works robustly in all environments, all versions.

  • v1.0.2
  • 65.15
  • Published

iterate-value

Iterate any iterable JS value. Works robustly in all environments, all versions.

  • v1.0.2
  • 65.09
  • Published

response-iterator

Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch

  • v1.0.10
  • 64.76
  • Published

p-all

Run promise-returning & async functions concurrently with optional limited concurrency

  • v5.0.1
  • 64.51
  • Published

gensequence

Small library to simplify working with Generators and Iterators in Javascript / Typescript

  • v8.0.8
  • 64.46
  • Published

p-some

Wait for a specified number of promises to be fulfilled

  • v7.0.0
  • 63.16
  • Published

p-any

Wait for any promise to be fulfilled

  • v4.0.0
  • 62.40
  • Published

p-settle

Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency

  • v5.2.1
  • 61.83
  • Published

well-known-symbols

An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.

  • v4.1.0
  • 61.79
  • Published

cron-schedule

A zero-dependency cron parser and scheduler for Node.js, Deno and the browser.

  • v6.0.0
  • 61.10
  • Published

next-line

Iterator over lines in a string

  • v1.1.0
  • 60.56
  • Published

@thi.ng/bitstream

ES6 iterator based read/write bit streams with support for variable word widths

  • v2.4.45
  • 59.50
  • Published

section-iterator

Simple iterator for flat and multi section lists

  • v2.0.0
  • 59.06
  • Published

@blakeembrey/deque

Deques are a generalization of stacks and queues

  • v1.0.5
  • 57.85
  • Published

fsm-iterator

A finite state machine iterator for JavaScript

  • v1.1.0
  • 57.71
  • Published

it-pushable

An iterable that you can push values into

  • v3.2.3
  • 57.15
  • Published

deep-for-each

Recursively iterates over arrays and objects

  • v3.0.0
  • 57.09
  • Published

get-iterator

Get the default iterator or async iterator for an iterable or async iterable

  • v2.0.1
  • 56.18
  • Published

dom-iterator

iterator for mini-html-parser

  • v1.0.2
  • 55.09
  • Published

@hyperjump/pact

Higher order functions for iterators and async iterators

  • v1.4.0
  • 54.60
  • Published

iterama

Composable functional (async) iterable helpers

  • v0.6.1
  • 54.56
  • Published

stream-to-it

Convert Node.js streams to streaming iterables

  • v1.0.1
  • 54.01
  • Published

p-every

Test whether all promises passes a testing function

  • v2.0.0
  • 53.67
  • Published

it-pipe

Utility to "pipe" async iterables together

  • v3.0.1
  • 53.14
  • Published

it-length-prefixed

Streaming length prefixed buffers with async iterables

  • v10.0.1
  • 53.04
  • Published

methmeth

Execute a method out from an object.

  • v1.1.0
  • 52.62
  • Published

reservoir

Fast random sampling using reservoir sampling

  • v0.1.2
  • 52.43
  • Published

it-reader

Read an exact number of bytes from a binary (async) iterable

  • v6.0.4
  • 52.21
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 51.66
  • Published

reduce-object

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

  • v0.1.3
  • 51.15
  • Published

jstreemap

Library of associative containers; it implements TreeMap, TreeSet, TreeMultiMap and TreeMultiSet classes

  • v1.28.2
  • 49.69
  • Published

it-ws

Simple async iterables for websocket client connections

  • v6.1.5
  • 49.61
  • Published

p-series

Run promise-returning & async functions in series

  • v3.0.0
  • 49.47
  • Published

arr-pluck

Retrieves the value of a specified property from all elements in the collection.

  • v0.1.0
  • 49.34
  • Published

recursive-iterator

It iterates through a graph or a tree recursively

  • v3.3.0
  • 49.25
  • Published

tstl

TypeScript-STL (Standard Template Library, migrated from C++)

  • v3.0.0
  • 49.01
  • Published

object-traversal

Flexible and performant utility for traversing javascript objects

  • v1.0.1
  • 48.57
  • Published

each-parallel-async

Asynchronously calls a function on each element in an array in parallel.

  • v1.0.0
  • 48.40
  • Published

iter-fun

Fun with Iterables

  • v0.2.0
  • 48.30
  • Published

abortable-iterator

Make any iterator or iterable abortable via an AbortSignal

  • v5.1.0
  • 48.06
  • Published

readdir-enhanced

fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.

  • v6.0.4
  • 47.85
  • Published

postcss-each

PostCSS plugin to iterate through values

  • v1.1.0
  • 47.69
  • Published

it-handshake

Create handshakes for binary protocols with iterable streams

  • v4.1.3
  • 47.32
  • Published

stream2asynciter

Create async iterator from regular stream

  • v1.0.3
  • 46.59
  • Published

cycled

Cycle through the items of an array

  • v2.0.0
  • 46.50
  • Published

it-concat

Concat all buffers/strings yielded from an async iterable into a single BufferList/string

  • v3.0.3
  • 46.34
  • Published

@endo/stream

Foundation for async iterators as streams

  • v1.3.1
  • 45.88
  • Published

iterable-to-stream

Converts iterable objects into readable streams.

  • v2.0.0
  • 45.87
  • Published

chunkify

Split an iterable into evenly sized chunks

  • v5.0.0
  • 45.41
  • Published

map-reverse

Apply a function to an array from then end to the beginning.

  • v1.0.1
  • 45.16
  • Published

rafor

RequestAnimationFrame friendly async for iterator

  • v1.0.2
  • 44.70
  • Published

@thi.ng/transducers

Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations

  • v9.6.31
  • 44.67
  • Published

block-iterator

Transform input into equally-sized blocks of output

  • v1.1.2
  • 44.09
  • Published

join-async-iterator

An async iterator that joins multiple other async iterators in order, one after another.

  • v1.1.1
  • 44.04
  • Published

iterator-helper

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.

  • v1.3.4
  • 44.03
  • Published

iter-tools

The iterable toolbox

  • v7.5.4
  • 43.73
  • Published

asyncreduce

Reduce an array of values via an asynchronous function.

  • v0.1.4
  • 43.71
  • Published

linkedlist

Array like linked list with iterator

  • v1.0.1
  • 43.71
  • Published

each-series-async

Asynchronously calls a function on each element in an array in series.

  • v1.0.1
  • 43.60
  • Published

get-all-files

A blazing fast recursive directory crawler with lazy sync and async iterator support.

  • v6.0.0
  • 42.67
  • Published

x3-linkedlist

A doubly linked list implementation

  • v1.2.0
  • 42.35
  • Published

@endo/stream-node

Uint8Array async iterator adapters for Node.js streams

  • v1.2.1
  • 42.04
  • Published

2

The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.

  • v3.0.0
  • 41.99
  • Published

chai-iterator

Chai assertions for iterable objects

  • v3.0.2
  • 41.99
  • Published

@stdlib/iter

Standard iterator utilities.

  • v0.3.3
  • 41.33
  • Published

@esm2cjs/aggregate-error

Create an error from multiple errors. This is a fork of sindresorhus/aggregate-error, but with CommonJS support.

  • v4.0.1
  • 41.03
  • Published

@thi.ng/dcons

Double-linked lists with comprehensive set of operations (incl. optional self-organizing behaviors)

  • v3.2.190
  • 40.86
  • Published

@esm2cjs/p-map

Map over promises concurrently. This is a fork of sindresorhus/p-map, but with CommonJS support.

  • v5.5.0
  • 40.84
  • Published

@dramaorg/delectus-culpa-reprehenderit

[![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

  • v3.5.94
  • 40.48
  • Published

array-from-async

An implementation for Array.fromAsync, which dumps an async iterator into an array.

  • v3.0.0
  • 39.60
  • Published

roundround

A dead simple round-robin array iterator

  • v0.2.0
  • 39.47
  • Published

hwp

HighWatermark Processing with Async Iterators

  • v0.4.1
  • 39.25
  • Published

@zitterorg/magni-eos

[![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

  • v5.8.60
  • 38.91
  • Published

pg-iterator

Typescript wrapper for pg-query-stream

  • v0.3.0
  • 38.88
  • Published

deep-entries

wrangle deep nested object entries

  • v5.0.2
  • 38.71
  • Published

sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 38.64
  • Published

itiriri

A library built for ES6 iteration protocol.

  • v2.0.1
  • 38.48
  • Published

paramap-it

Parallel mapping for async iterators

  • v0.1.1
  • 38.33
  • Published

stack-base-iterator

Base iterator for values retrieved using a stack of async functions returning values

  • v3.0.4
  • 37.61
  • Published

cartesian-product-generator

ES2015 generator (iterable iterator) for cartesian product. Put combinatorial explosion back in the kennel.

  • v1.1.1
  • 37.55
  • Published

add-counter

Adds a counter integer to iterated values.

  • v1.0.0
  • 37.48
  • Published

empty-iterator

Creates an iterator that finishes immediately.

  • v1.0.0
  • 37.38
  • Published

@thi.ng/color

Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets

  • v5.8.20
  • 37.19
  • Published

extract-base-iterator

Base iterator for extract iterators like tar-iterator and zip-iterator

  • v3.4.2
  • 37.14
  • Published

http-agent

A simple agent for performing a sequence of http requests in node.js

  • v0.1.2
  • 36.84
  • Published

p-one

Test whether some promise passes a testing function

  • v2.0.0
  • 36.60
  • Published

xz-compat

XZ Decompression Library

  • v1.2.1
  • 36.45
  • Published

zip-iterator

Extract contents from zip archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms

  • v3.2.7
  • 36.13
  • Published

node-red-contrib-serial-iterator

Iterate over an Array received on the input, giving the next element only after it receives a feedback

  • v0.1.3
  • 36.11
  • Published

iter-fest

A collection of utilities for iterations.

  • v0.3.1
  • 36.10
  • Published

tar-iterator

Extract contents from tar archive type using an iterator API using streams or paths. Use stream interface and pipe transforms to add decompression algorithms

  • v3.3.6
  • 36.00
  • Published

@jsdevtools/readdir-enhanced

fs.readdir with sync, async, streaming, and async iterator APIs + filtering, recursion, absolute paths, etc.

  • v6.0.4
  • 35.92
  • Published

iterable-backoff

Backoff generators usable as simple iterables

  • v0.1.0
  • 35.66
  • Published

maximize-iterator

Maximize the parallel calls of an iterator supporting asyncIterator interface

  • v5.0.5
  • 35.64
  • Published

linq-collections

Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]

  • v1.0.254
  • 35.63
  • Published

7z-iterator

Extract contents from 7z archives using an iterator API. Pure JavaScript, works on Node.js 0.8+

  • v2.2.5
  • 35.63
  • Published

extra-iterable

An iterable is a sequence of values.

  • v3.3.2
  • 35.56
  • Published

nalloc

Rust-like Option and Result for TypeScript with near-zero allocations for extreme performance

  • v0.2.2
  • 35.07
  • Published

rubico

[a]synchronous functional programming

  • v2.8.5
  • 34.81
  • Published

js-sorted-set

Sorted set data structures

  • v0.7.0
  • 34.48
  • Published

iterate-async

Like `await Promise.all(mytasks.map(async (item) => ....))`, but with super-powers

  • v1.10.0
  • 34.35
  • Published

await-reduce

Resolve and reduce an array of promises

  • v1.2.3
  • 34.33
  • Published

check-iterable

A toolbox to check if an object is iterable, an iterator or a generator, etc.

  • v1.2.0
  • 34.33
  • Published

prop-assign

Assign a value to a property in an Array iterator

    • v1.0.0
    • 34.19
    • Published

    linq-es2015

    Complete implementation of Language-Integrated Query (LINQ) (ECMAScript 2015 Language Specification)

    • v2.5.1
    • 34.07
    • Published

    nqdm

    Simple terminal progress indicator made for any loop

    • v2.0.2
    • 33.91
    • Published

    node-red-contrib-loop

    Node-RED nodes to looping (fixed steps, condition based or iterating over arrays, objects, maps, sets, string).

    • v1.0.1
    • 33.36
    • Published

    asclasit

    ASync CLasses + ASync ITerators

    • v0.1.8
    • 32.48
    • Published

    linq-es5

    Complete implementation of Language-Integrated Query (LINQ) (ECMAScript 5.1 Language Specification)

    • v1.11.15
    • 31.95
    • Published

    @thi.ng/hiccup

    HTML/SVG/XML serialization of nested data structures, iterables & closures

    • v5.4.3
    • 31.81
    • Published

    flat-iter

    Deeply Iterate over Arrays. Like calling array.flat()[Symbol.iterator](), but without the memory cost

    • v0.3.0
    • 31.76
    • Published

    iteration-typeguards

    typeguard functions to determine whether or not a value is iterable or an iterator in the ES6 sense

    • v0.1.1
    • 31.74
    • Published

    @codibre/fluent-iterable

    Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

    • v1.39.2
    • 31.57
    • Published

    ecol

    Event Collections

    • v1.1.1
    • 31.57
    • Published

    linq-collection

    Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]

    • v1.0.249
    • 31.25
    • Published

    deep-iterator

    Deep iteration of any object or iterable collection.

    • v1.1.0
    • 31.06
    • Published

    for-emit-of

    Turn Node.js Events into Async Iterables

    • v1.4.0
    • 30.80
    • Published

    iterable-query

    Query library for ECMAScript iterables.

    • v1.0.0-pre.16
    • 30.67
    • Published

    @stdlib/random-iter-uniform

    Create an iterator for generating pseudorandom numbers drawn from a continuous uniform distribution.

    • v0.2.2
    • 30.47
    • Published

    async.iterator

    async iteratormethod as module.

    • v0.5.2
    • 30.43
    • Published

    dom-mutations

    Observe changes to the DOM using an async iterable — A nicer API for MutationObserver

    • v1.0.2
    • 30.37
    • Published

    @thi.ng/iterators

    Clojure inspired, composable ES6 iterators & generators

    • v6.1.119
    • 30.31
    • Published

    thunk-test

    Modular testing for JavaScript

    • v1.3.9
    • 30.02
    • Published

    @stdlib/random-iter-randu

    Create an iterator for generating uniformly distributed pseudorandom numbers between 0 and 1.

    • v0.2.2
    • 29.96
    • Published

    sporks

    JS utils

    • v1.0.1
    • 29.86
    • Published

    @stdlib/math-iter-tools-map

    Create an iterator which invokes a unary function accepting a single numeric argument for each iterated value.

    • v0.2.3
    • 29.81
    • Published

    reiterator

    ![](assets/logo.png)

    • v1.1.4
    • 29.77
    • Published

    lfi

    A lazy functional iteration library supporting sync, async, and concurrent iteration.

    • v4.1.2
    • 29.37
    • Published

    @thi.ng/rasterize

    Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)

    • v1.0.187
    • 29.22
    • Published

    fast-iterator

    Fast execution of an array of functions with the same value as input that can be altered.

    • v0.3.0
    • 29.21
    • Published

    request-animation-frames

    Use requestAnimationFrame as an async iterable, in any JavaScript environment

    • v1.0.0
    • 29.11
    • Published

    linq-typescript

    Linq-Collections (ES5): [IEnumerable, IQueryable, ...] + [List, Dictionary, Stack, ... + readonly]

    • v1.0.251
    • 28.99
    • Published

    @thi.ng/csp

    Primitives & operators for Communicating Sequential Processes based on async/await and async iterables

    • v3.3.20
    • 28.98
    • Published

    @thi.ng/hdom

    Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors

    • v9.4.108
    • 28.73
    • Published

    iterative

    Functions for working with iterators in JavaScript, with TypeScript

    • v1.9.2
    • 28.56
    • Published

    itertools-ts

    Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)

    • v2.5.0
    • 28.28
    • Published

    @thi.ng/date

    Datetime types, relative dates, math, iterators, composable formatters, locales

    • v2.8.2
    • 28.23
    • Published

    @tsdotnet/linq

    A familiar set of functions that operate on JavaScript iterables (ES2015+) in a similar way to .NET's LINQ does with enumerables.

    • v1.5.14
    • 27.78
    • Published

    asyncreiterable

    An AsyncReiterable is an append-only collection that allows multiple asynchronous iterations.

    • v3.0.0
    • 27.76
    • Published

    @thi.ng/geom-axidraw

    Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands

    • v1.0.81
    • 27.30
    • Published

    @tsdotnet/memoize

    A utility for creating an iteratively cached (memoized) result of an iterable.

    • v1.2.5
    • 27.17
    • Published

    @thi.ng/file-io

    Assorted file I/O utils (w/ logging support) for NodeJS/Bun

    • v2.2.29
    • 27.11
    • Published

    ts-iterable

    Iterable abstract class for TypeScript

    • v1.0.1
    • 26.48
    • Published

    @sussudio/base

    Internal APIs for VS Code's utilities and user interface building blocks.

    • v0.2.0
    • 26.30
    • Published

    @aptre/it-ws

    Simple async iterables for websocket client connections

    • v1.1.2
    • 26.30
    • Published

    btreemap

    A B-tree based map with support for ordered iteration, range queries, and non-unique keys

    • v2.1.1
    • 26.27
    • Published

    @stdlib/iter-linspace

    Create an iterator which returns evenly spaced numbers over a specified interval.

    • v0.2.3
    • 26.23
    • Published

    @thi.ng/dsp

    Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils

    • v4.7.110
    • 26.08
    • Published

    @msamblanet/deep-iterator

    Deep iteration of any object or iterable collection. (This version revised by @msablanet)

    • v2.0.1
    • 25.83
    • Published

    @ungap/array-iterator

    An essential Array.prototype[Symbol.iterator] polyfill for legacy browsers.

    • v0.2.0
    • 25.67
    • Published

    extra-iterator

    An extension of the Iterator class with additional utility helper functions.

    • v0.15.2
    • 25.56
    • Published

    asynquence

    promise-style async sequence flow-control

    • v0.10.2
    • 25.56
    • Published

    quelle

    Stream iterators and other stream utils

    • v1.0.4
    • 25.55
    • Published

    walk-it

    Async file walk iterator

    • v6.0.1
    • 25.50
    • Published

    @vixsonous/map-array

    A typescript class that converts arrays into a loopable, O(1) lookup HashMap

      • v2.0.1
      • 25.27
      • Published

      it-block

      transform input into equally-sized blocks of output using async iterators

      • v6.0.2
      • 25.14
      • Published

      es6-collections-iterators

      Adds missing values, keys and entries functions to native es6 collection implementations

      • v0.2.1
      • 25.07
      • Published

      spintax

      Combinatorial string generator using spintax syntax

      • v1.1.2
      • 24.91
      • Published

      @ai-zen/async-queue

      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

      • v1.3.2
      • 24.76
      • Published

      xrange

      Python-esque iterator for number ranges

      • v2.2.1
      • 24.58
      • Published

      array-iter-next-crnt

      Get array items one-by-one and remember the current one.

      • v0.1.1
      • 24.51
      • Published

      claimyr-rubico

      [a]synchronous functional programming

      • v1.9.3
      • 24.38
      • Published

      spellbook

      Functional and asynchronous conjurations for Javascript

      • v1.3.0
      • 24.37
      • Published

      fibonacci

      Calculate fibonacci numbers for endless iterations.

      • v1.6.12
      • 24.33
      • Published

      moment-iterator

      Time and dates iterator using momentjs

      • v1.0.8
      • 24.29
      • Published

      get-range

      Lazy number range generator

      • v4.0.0
      • 24.20
      • Published

      fetchline

      Read text file (remote over HTTP(S) or local) line by line as async iterator, with Node, browsers and Deno

      • v1.0.1
      • 24.12
      • Published

      @xrange/core

      The very core of `xrange`, provided as a separate package

        • v1.0.2
        • 23.99
        • Published

        map-obj-async

        Asynchronously map object keys and values into a new object

        • v0.0.2
        • 23.86
        • Published