JSPM

Found 841 results for iterable

p-locate

Get the first fulfilled promise that satisfies the provided testing function

  • v6.0.0
  • 94.69
  • Published

locate-path

Get the first path that exists on disk of multiple paths

  • v7.2.0
  • 94.04
  • Published

p-map

Map over promises concurrently

  • v7.0.3
  • 88.92
  • Published

aggregate-error

Create an error from multiple errors

  • v5.0.0
  • 87.19
  • Published

es-get-iterator

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

  • v1.1.3
  • 82.75
  • Published

into-stream

Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream

  • v8.0.1
  • 78.80
  • Published

p-each-series

Iterate over promises serially

  • v3.0.0
  • 78.76
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 78.63
  • Published

p-reduce

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

  • v3.0.0
  • 78.22
  • Published

p-filter

Filter promises concurrently

  • v4.1.0
  • 78.13
  • Published

iterall

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

  • v1.3.0
  • 76.34
  • Published

p-map-series

Map over promises serially

  • v3.0.0
  • 74.08
  • Published

iterate-iterator

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

  • v1.0.2
  • 74.05
  • Published

wonka

A tiny but capable push & pull stream library for TypeScript and Flow

  • v6.3.5
  • 73.23
  • Published

p-waterfall

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

  • v3.0.0
  • 72.61
  • Published

p-all

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

  • v5.0.0
  • 71.89
  • Published

p-any

Wait for any promise to be fulfilled

  • v4.0.0
  • 68.60
  • Published

p-some

Wait for a specified number of promises to be fulfilled

  • v6.0.0
  • 68.57
  • Published

gensequence

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

  • v7.0.0
  • 67.96
  • Published

fsm-iterator

A finite state machine iterator for JavaScript

  • v1.1.0
  • 62.82
  • Published

p-every

Test whether all promises passes a testing function

  • v2.0.0
  • 61.84
  • Published

iterama

Composable functional (async) iterable helpers

  • v0.6.1
  • 61.17
  • Published

it-pushable

An iterable that you can push values into

  • v3.2.3
  • 60.05
  • Published

get-iterator

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

  • v2.0.1
  • 60.04
  • Published

iterable-lookahead

Iterable wrapper that add methods to read ahead or behind current item.

  • v2.0.0
  • 59.97
  • Published

is-iterable

Checks if a given object is iterable

  • v1.1.1
  • 59.50
  • Published

stream-to-it

Convert Node.js streams to streaming iterables

  • v1.0.1
  • 58.94
  • Published

piall

`Promise.all` and `Promise.allSettled` with concurrency option and async iterable result

  • v0.2.1
  • 57.32
  • Published

it-pipe

Utility to "pipe" async iterables together

  • v3.0.1
  • 57.02
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 56.28
  • Published

it-length-prefixed

Streaming length prefixed buffers with async iterables

  • v10.0.1
  • 54.96
  • Published

p-series

Run promise-returning & async functions in series

  • v3.0.0
  • 54.82
  • Published

it-reader

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

  • v6.0.4
  • 53.88
  • Published

iterable-to-stream

Converts iterable objects into readable streams.

  • v2.0.0
  • 52.86
  • Published

stream-demux

A consumable stream demultiplexer.

  • v10.0.1
  • 52.19
  • Published

async-stream-emitter

An alternantive to EventEmitter using consumable streams.

  • v7.0.1
  • 51.84
  • Published

pg-iterator

Typescript wrapper for pg-query-stream

  • v0.3.0
  • 50.88
  • Published

it-ws

Simple async iterables for websocket client connections

  • v6.1.5
  • 49.74
  • Published

callbag

A standard for JS callbacks

  • v1.5.1
  • 49.54
  • Published

cycled

Cycle through the items of an array

  • v2.0.0
  • 49.14
  • Published

it-concat

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

  • v3.0.3
  • 47.99
  • Published

iter-tools

The iterable toolbox

  • v7.5.3
  • 47.91
  • Published

@shutterstock/p-map-iterable

Set of classes used for async prefetching with backpressure (IterableMapper) and async flushing with backpressure (IterableQueueMapper, IterableQueueMapperSimple)

  • v1.1.2
  • 47.28
  • Published

it-handshake

Create handshakes for binary protocols with iterable streams

  • v4.1.3
  • 46.42
  • Published

get-all-files

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

  • v5.0.0
  • 46.30
  • Published

calc-stats

Memory-Aware Statistical Calculations

  • v2.6.0
  • 46.08
  • Published

iter-fun

Fun with Iterables

  • v0.2.0
  • 45.54
  • Published

it-each

Enable basic async test looping in Mocha

  • v0.5.0
  • 45.01
  • Published

batch-mobile

Asynchronous batched iterable for (mongo) cursors

  • v1.2.4
  • 43.42
  • Published

compare-lists

Super efficiently compares two sorted lists (arrays, strings, anything that is iterable actually).

  • v1.0.10
  • 43.19
  • 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
  • 42.94
  • Published

map-iterable

Array.prototype.map analog for iterables.

  • v2.0.0
  • 42.75
  • Published

sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 42.32
  • Published

array-join

Join (SQL-like) two iterables by a common key.

  • v3.2.1
  • 42.28
  • Published

@esm2cjs/p-map

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

  • v5.5.0
  • 41.77
  • Published

await-reduce

Resolve and reduce an array of promises

  • v1.2.3
  • 41.46
  • Published

chai-iterator

Chai assertions for iterable objects

  • v3.0.2
  • 40.10
  • Published

@lamansky/every

A better Array.prototype.every(). Supports iterables, whitelist testing, and more.

  • v1.0.0
  • 39.98
  • Published

@rimbu/stream

Efficient structure representing a sequence of elements, with powerful operations for TypeScript

  • v2.2.0
  • 39.96
  • Published

map-iter

Applies a callback to each value outputted by an iterable.

  • v1.0.0
  • 39.80
  • Published

cartesian-product-generator

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

  • v1.1.1
  • 39.76
  • Published

extra-iterable

An iterable is a sequence of values.

  • v3.3.2
  • 39.45
  • Published

p-one

Test whether some promise passes a testing function

  • v2.0.0
  • 38.71
  • Published

chunkify

Split an iterable into evenly sized chunks

  • v5.0.0
  • 38.55
  • Published

just-my-luck

A collection of utility functions for working with randomness.

  • v3.0.0
  • 38.30
  • Published

string-stream-utils

Utilities to manipulate async iterable of chunks of strings

  • v0.0.4
  • 38.20
  • Published

check-iterable

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

  • v1.2.0
  • 38.03
  • 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.2
  • 37.88
  • Published

iterable-backoff

Backoff generators usable as simple iterables

  • v0.1.0
  • 37.45
  • Published

@codibre/fluent-iterable

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

  • v1.39.2
  • 35.36
  • Published

big-cartesian

Cartesian product for big inputs

  • v6.1.1
  • 34.12
  • Published

itiriri

A library built for ES6 iteration protocol.

  • v2.0.1
  • 33.77
  • Published

iteration-typeguards

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

  • v0.1.1
  • 33.59
  • Published

test-each

🤖 Repeat tests. Repeat tests. Repeat tests.

  • v7.0.1
  • 33.08
  • Published

@tsdotnet/linked-node-list

An unprotected bi-directional linked list. Useful for implementing other collections.

  • v1.3.20
  • 32.63
  • Published

callbag-basics

Basic callbag factories and operators to get started with

  • v4.0.0
  • 32.10
  • Published

iterable-query

Query library for ECMAScript iterables.

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

iter-fest

A collection of utilities for iterations.

  • v0.3.0
  • 31.26
  • Published

@szilanor/stream

Typesafe API for processing iterable data in TypeScript and JavaScript

  • v3.0.3
  • 31.12
  • Published

doubt

Checks entity if array, arguments, iterable or array-like.

  • v0.34.0
  • 31.11
  • Published

object-entries

An ObjectIterator implementation.

  • v1.0.0
  • 31.11
  • Published

iterable-weak

Iterable WeakSet / WeakMap using ES2021 WeakRef

  • v1.0.4
  • 30.64
  • Published

@esm2cjs/p-any

Wait for any promise to be fulfilled. This is a fork of sindresorhus/p-any, but with CommonJS support.

  • v4.0.0
  • 30.44
  • 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.2.0
  • 30.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.4.4
  • 30.14
  • Published

@tsdotnet/queue

A simple and fast FIFO collection for enqueuing and dequeuing items.

  • v1.2.8
  • 29.96
  • Published

@toolbuilder/ring-buffer

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.

  • v1.2.3
  • 29.84
  • Published

weakref

Extend built-in collections with weak references for efficient garbage collection and optimal performance in memory-intensive applications with IterableWeakSet, IterableWeakMap, and WeakValueMap.

  • v0.2.1
  • 29.82
  • Published

lfi

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

  • v3.8.0
  • 29.70
  • Published

@tsdotnet/memoize

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

  • v1.0.10
  • 29.64
  • Published

@esm2cjs/p-some

Wait for a specified number of promises to be fulfilled. This is a fork of sindresorhus/p-some, but with CommonJS support.

  • v6.0.0
  • 29.60
  • Published

@aptre/it-ws

Simple async iterables for websocket client connections

  • v1.0.1
  • 29.51
  • Published

list-directories

List all directories in a given directory

  • v1.1.0
  • 29.42
  • Published

@toolbuilder/await-for-it

Concurrency using chainable async iterables, such as task pool, event queue, pub/sub, merge, chunk, throttle, etc.

  • v1.4.0
  • 29.41
  • Published

iterablefu

Small, chainable, set of functions like range, map, reduce, filter, zip, for iterable objects.

  • v0.4.5
  • 29.00
  • Published

@stdlib/random-iter-uniform

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

  • v0.2.1
  • 28.90
  • Published

@stdlib/random-iter-randu

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

  • v0.2.1
  • 27.91
  • Published

nexline

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`

  • v1.2.2
  • 27.72
  • Published

leseq

Lazy list with high tree-shaking affinity and easy customization.

  • v1.12.2
  • 26.79
  • Published

readlineiter

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

  • v1.0.1
  • 26.71
  • Published

iterpal

iterable tools

  • v0.4.0
  • 26.07
  • Published

@mootable/hashmap

HashMap, LinkedHashMap and Higher Order Functions for all other Iterables, such as Map, Set and Array

  • v1.0.7
  • 26.03
  • Published

@stdlib/math-iter-tools-map2

Create an iterator which invokes a binary function accepting numeric arguments for each iterated value.

  • v0.2.2
  • 26.00
  • Published

iteragain

Javascript Iterable/Iterator/Generator-function utilities.

  • v4.1.6
  • 25.78
  • Published

react-wonka

Several hooks for using Wonka streams with React

  • v2.0.1
  • 25.74
  • Published

typedata

A bundle of data collections in TypeScript

  • v0.5.1
  • 25.28
  • Published

extra-iterator

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

    • v0.6.0
    • 25.26
    • Published

    streamlets

    protocol and utilities for light-weight data streams

    • v0.5.1
    • 25.17
    • Published

    advarr

    Advanced Array utility functions. Extra arguments for map and forEach including first, last, brk, odd, even, penultimate, and more!

    • v0.4.0
    • 24.53
    • Published

    stats-map

    Map that keeps track of the hits and misses

    • v1.0.0
    • 24.40
    • Published

    iter8

    JavaScript iterable transformation library

    • v1.0.3
    • 24.32
    • Published

    collecty

    allows iterating an array of elements with an easy-to-read syntax and gives functionality to the collection and the elements it iterates.

    • v5.5.1
    • 24.29
    • Published

    @stdlib/iter-slice

    Create an iterator which returns a subsequence of iterated values from a provided iterator.

    • v0.2.2
    • 24.16
    • Published

    it-block

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

    • v6.0.2
    • 23.92
    • Published

    mutent

    An agnostic solution to work with any Datastore

    • v6.1.0
    • 23.86
    • Published

    jinqu

    Querying infrastructure for JavaScript, with Linq style

    • v2.0.0
    • 23.83
    • Published

    quickiter

    Fast iterator library

    • v0.8.0
    • 23.82
    • Published

    @stdlib/iter-pop

    Create an iterator which skips the last value of a provided iterator.

    • v0.2.2
    • 23.66
    • Published

    betterator

    A better sync and async iterator API.

    • v2.0.2
    • 23.30
    • Published

    @bablr/regex-vm

    A fully streaming regular expression engine

    • v0.11.1
    • 23.22
    • Published

    dom-mutations

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

    • v1.0.0
    • 23.05
    • Published

    async-iterable

    An iterator abstraction for async operations

    • v1.0.6
    • 22.95
    • Published

    @stdlib/iter-map

    Create an iterator which invokes a function for each iterated value.

    • v0.2.2
    • 22.94
    • Published

    iter

    Lazily evaluated utility library

    • v3.3.0
    • 22.85
    • Published

    doddle

    The easiest way to handle iterables.

    • v5.0.0-beta.16
    • 22.82
    • Published

    big-m

    Utilities for building and transforming maps using iterables and streams.

    • v7.0.0
    • 22.44
    • Published

    fluent-iterable

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

    • v0.1.6
    • 22.28
    • Published

    super-iterable

    An ES6 Iterable utility library with TypeScript support

    • v0.5.0
    • 22.14
    • Published

    request-animation-frames

    Use requestAnimationFrame as an async iterable, in any JavaScript environment

    • v1.0.0
    • 22.08
    • Published

    @stdlib/math-iter-special-atan2

    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).

    • v0.2.2
    • 21.96
    • Published

    @upgraded/locate-path

    Get the first path that exists on disk of multiple paths

    • v6.0.0-alfa.1
    • 21.84
    • Published

    promise_mtd

    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.

    • v3.2.0
    • 21.83
    • Published

    @stdlib/math-iter-special-besselj0

    Create an iterator which evaluates the Bessel function of the first kind of order zero for each iterated value.

    • v0.2.2
    • 21.70
    • Published

    elbe

    Utility methods for working with iterables as streams.

    • v0.4.2
    • 21.61
    • Published

    asyncllm

    Fetch streaming LLM responses as an async iterable

    • v2.2.0
    • 21.59
    • Published

    @guanghechen/std

    Standard utilities codes and types.

    • v1.0.4
    • 21.34
    • Published

    get-range

    Lazy number range generator

    • v4.0.0
    • 21.31
    • Published

    transfigure-json

    Transfigure JSON. Provides JSON objects a fluent, Array-like interface for data transformations.

    • v1.1.0
    • 21.28
    • Published

    iterative

    Functions for working with iterators in JavaScript, with TypeScript

    • v1.9.2
    • 21.28
    • Published

    @stdlib/math-iter-special-floor10

    Create an iterator which rounds each iterated value to the nearest power of 10 toward negative infinity.

    • v0.2.2
    • 21.25
    • Published

    @stdlib/math-iter-special-log10

    Create an iterator which evaluates the common logarithm (logarithm with base 10) for each iterated value.

    • v0.2.2
    • 21.20
    • Published

    @stdlib/math-iter-special-gammaln

    Create an iterator which evaluates the natural logarithm of the gamma function for each iterated value.

    • v0.2.2
    • 21.12
    • Published

    @stdlib/math-iter-special-besselj1

    Create an iterator which evaluates the Bessel function of the first kind of order one for each iterated value.

    • v0.2.2
    • 21.08
    • Published

    @stdlib/math-iter-special-ceil10

    Create an iterator which rounds each iterated value to the nearest power of 10 toward positive infinity.

    • v0.2.2
    • 21.06
    • Published

    @stdlib/random-iter-beta

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

    • v0.2.1
    • 20.97
    • Published

    @stdlib/math-iter-ops-add

    Create an iterator which performs element-wise addition of two or more iterators.

    • v0.2.2
    • 20.82
    • Published

    @stdlib/math-iter-special-erfc

    Create an iterator which evaluates the complementary error function for each iterated value.

    • v0.2.2
    • 20.77
    • Published

    @stdlib/stats-iter-cumeanabs2

    Create an iterator which iteratively computes a cumulative arithmetic mean of squared absolute values.

    • v0.2.2
    • 20.74
    • Published

    @stdlib/math-iter-tools-map3

    Create an iterator which invokes a ternary function accepting numeric arguments for each iterated value.

    • v0.2.2
    • 20.69
    • Published

    @stdlib/math-iter-special-ellipe

    Create an iterator which computes the complete elliptic integral of the second kind for each iterated value.

    • v0.2.2
    • 20.65
    • Published

    @stdlib/random-iter-t

    Create an iterator for generating pseudorandom numbers drawn from a Student's t distribution.

    • v0.2.1
    • 20.61
    • Published