JSPM

Found 850 results for iterable

p-locate

Get the first fulfilled promise that satisfies the provided testing function

  • v6.0.0
  • 96.53
  • Published

locate-path

Get the first path that exists on disk of multiple paths

  • v7.2.0
  • 94.12
  • Published

p-map

Map over promises concurrently

  • v7.0.3
  • 91.99
  • Published

aggregate-error

Create an error from multiple errors

  • v5.0.0
  • 88.25
  • Published

es-get-iterator

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

  • v1.1.3
  • 82.88
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 80.46
  • Published

p-each-series

Iterate over promises serially

  • v3.0.0
  • 79.35
  • Published

into-stream

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

  • v8.0.1
  • 79.25
  • Published

p-filter

Filter promises concurrently

  • v4.1.0
  • 78.86
  • Published

p-reduce

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

  • v3.0.0
  • 78.20
  • Published

iterall

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

  • v1.3.0
  • 76.59
  • Published

iterate-iterator

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

  • v1.0.2
  • 75.12
  • Published

p-map-series

Map over promises serially

  • v3.0.0
  • 74.76
  • Published

wonka

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

  • v6.3.5
  • 73.61
  • Published

p-waterfall

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

  • v3.0.0
  • 72.53
  • Published

p-all

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

  • v5.0.0
  • 71.39
  • Published

p-any

Wait for any promise to be fulfilled

  • v4.0.0
  • 69.82
  • Published

p-some

Wait for a specified number of promises to be fulfilled

  • v6.0.0
  • 69.56
  • Published

gensequence

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

  • v7.0.0
  • 68.65
  • Published

fsm-iterator

A finite state machine iterator for JavaScript

  • v1.1.0
  • 65.09
  • Published

is-iterable

Checks if a given object is iterable

  • v1.1.1
  • 62.23
  • Published

iterama

Composable functional (async) iterable helpers

  • v0.6.1
  • 61.85
  • Published

p-every

Test whether all promises passes a testing function

  • v2.0.0
  • 61.41
  • Published

get-iterator

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

  • v2.0.1
  • 61.37
  • Published

it-pushable

An iterable that you can push values into

  • v3.2.3
  • 61.33
  • Published

iterable-lookahead

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

  • v2.0.0
  • 61.13
  • Published

stream-to-it

Convert Node.js streams to streaming iterables

  • v1.0.1
  • 59.85
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 59.55
  • Published

piall

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

  • v0.2.1
  • 57.20
  • Published

it-pipe

Utility to "pipe" async iterables together

  • v3.0.1
  • 57.17
  • Published

it-length-prefixed

Streaming length prefixed buffers with async iterables

  • v10.0.1
  • 56.20
  • Published

p-series

Run promise-returning & async functions in series

  • v3.0.0
  • 55.19
  • Published

calc-stats

Memory-Aware Statistical Calculations

  • v2.6.0
  • 55.02
  • Published

stream-demux

A consumable stream demultiplexer.

  • v10.0.1
  • 54.94
  • Published

async-stream-emitter

An alternantive to EventEmitter using consumable streams.

  • v7.0.1
  • 53.58
  • Published

iter-fun

Fun with Iterables

  • v0.2.0
  • 53.48
  • Published

it-reader

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

  • v6.0.4
  • 53.43
  • Published

iterable-to-stream

Converts iterable objects into readable streams.

  • v2.0.0
  • 51.85
  • Published

it-ws

Simple async iterables for websocket client connections

  • v6.1.5
  • 51.51
  • Published

callbag

A standard for JS callbacks

  • v1.5.1
  • 50.52
  • 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
  • 50.29
  • Published

it-each

Enable basic async test looping in Mocha

  • v0.5.0
  • 48.49
  • Published

it-concat

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

  • v3.0.3
  • 48.47
  • Published

cycled

Cycle through the items of an array

  • v2.0.0
  • 48.26
  • Published

pg-iterator

Typescript wrapper for pg-query-stream

  • v0.3.0
  • 48.24
  • Published

chai-iterator

Chai assertions for iterable objects

  • v3.0.2
  • 48.02
  • Published

iter-tools

The iterable toolbox

  • v7.5.4
  • 47.74
  • Published

map-iter

Applies a callback to each value outputted by an iterable.

  • v1.0.0
  • 46.40
  • Published

@lamansky/every

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

  • v1.0.0
  • 46.40
  • Published

get-all-files

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

  • v5.0.0
  • 45.01
  • 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
  • 44.17
  • Published

it-handshake

Create handshakes for binary protocols with iterable streams

  • v4.1.3
  • 43.62
  • 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
  • 43.38
  • Published

map-iterable

Array.prototype.map analog for iterables.

  • v2.0.0
  • 42.72
  • Published

@esm2cjs/p-map

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

  • v5.5.0
  • 42.71
  • Published

@rimbu/stream

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

  • v2.2.1
  • 42.07
  • Published

sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 42.02
  • Published

test-each

🤖 Repeat tests. Repeat tests. Repeat tests.

  • v7.0.1
  • 41.77
  • Published

array-join

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

  • v3.2.1
  • 41.75
  • Published

check-iterable

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

  • v1.2.0
  • 41.70
  • Published

chunkify

Split an iterable into evenly sized chunks

  • v5.0.0
  • 41.57
  • Published

big-cartesian

Cartesian product for big inputs

  • v6.1.1
  • 41.29
  • Published

p-one

Test whether some promise passes a testing function

  • v2.0.0
  • 40.80
  • Published

await-reduce

Resolve and reduce an array of promises

  • v1.2.3
  • 40.67
  • Published

just-my-luck

A collection of utility functions for working with randomness.

  • v3.0.0
  • 39.89
  • Published

string-stream-utils

Utilities to manipulate async iterable of chunks of strings

  • v0.0.4
  • 38.13
  • Published

extra-iterable

An iterable is a sequence of values.

  • v3.3.2
  • 37.40
  • Published

iterable-backoff

Backoff generators usable as simple iterables

  • v0.1.0
  • 37.29
  • Published

cartesian-product-generator

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

  • v1.1.1
  • 36.83
  • Published

batch-mobile

Asynchronous batched iterable for (mongo) cursors

  • v1.2.4
  • 36.58
  • Published

itiriri

A library built for ES6 iteration protocol.

  • v2.0.1
  • 36.13
  • Published

@szilanor/stream

Typesafe API for processing iterable data in TypeScript and JavaScript

  • v3.1.0
  • 36.04
  • Published

@codibre/fluent-iterable

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

  • v1.39.2
  • 35.37
  • Published

iteration-typeguards

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

  • v0.1.1
  • 34.52
  • Published

@tsdotnet/linked-node-list

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

  • v1.4.11
  • 34.40
  • Published

dom-mutations

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

  • v1.0.0
  • 34.02
  • Published

iter-fest

A collection of utilities for iterations.

  • v0.3.0
  • 34.02
  • Published

request-animation-frames

Use requestAnimationFrame as an async iterable, in any JavaScript environment

  • v1.0.0
  • 33.25
  • 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.10
  • 32.89
  • Published

iteragain

Javascript Iterable/Iterator/Generator-function utilities.

  • v4.1.6
  • 32.84
  • Published

iterable-query

Query library for ECMAScript iterables.

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

callbag-basics

Basic callbag factories and operators to get started with

  • v4.0.0
  • 32.70
  • Published

doddle

Tiny yet feature-packed (async) iteration toolkit.

  • v7.1.6
  • 32.68
  • Published

@tsdotnet/queue

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

  • v1.2.17
  • 32.14
  • 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
  • 31.76
  • Published

doubt

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

  • v0.34.0
  • 31.34
  • Published

iterable-weak

Iterable WeakSet / WeakMap using ES2021 WeakRef

  • v1.0.4
  • 31.30
  • Published

@tsdotnet/memoize

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

  • v1.2.3
  • 31.09
  • Published

lfi

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

  • v4.0.2
  • 29.92
  • 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
  • 29.90
  • 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
  • 29.75
  • 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.51
  • Published

make-set

Ensures that a given input can be used as a set

  • v1.0.0
  • 29.16
  • 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
  • 29.08
  • Published

@tsdotnet/linked-list

A doubly (bidirectional) linked list. Acts as a safe, value focused wrapper for a linked-node-list.

  • v1.2.12
  • 28.77
  • Published

@aptre/it-ws

Simple async iterables for websocket client connections

  • v1.1.2
  • 28.75
  • Published

object-entries

An ObjectIterator implementation.

  • v1.0.0
  • 28.04
  • 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
  • 27.88
  • Published

leseq

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

  • v1.12.2
  • 27.40
  • Published

iterablefu

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

  • v0.4.5
  • 27.26
  • Published

@harperdb/extended-iterable

Extended iterable class, providing lazy array-like methods with automatic async and return/throw forwarding

  • v1.0.1
  • 27.18
  • Published

list-directories

List all directories in a given directory

  • v1.1.0
  • 27.08
  • 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
  • 26.94
  • Published

react-wonka

Several hooks for using Wonka streams with React

  • v2.0.1
  • 26.88
  • Published

iterable-joiner

combine multiple Iterable or AsyncIterable objects into one

  • v1.0.3
  • 26.46
  • Published

advarr

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

  • v0.4.0
  • 25.47
  • Published

it-block

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

  • v6.0.2
  • 25.25
  • Published

compare-lists

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

  • v1.0.10
  • 25.06
  • Published

betterator

A better sync and async iterator API.

  • v2.0.2
  • 24.94
  • Published

weak-ref-collections

Iterable WeakMaps and WeakSets. Provides WeakRefMap and WeakRefSet which store values using WeakRefs and clean themselves up when garbage collected.

  • v1.2.4
  • 24.92
  • Published

@cuties/iterator

Cutie extension for the iterable protocol in JavaScript.

  • v1.1.3
  • 24.83
  • Published

jinqu

Querying infrastructure for JavaScript, with Linq style

  • v2.0.0
  • 24.13
  • Published

iter8

JavaScript iterable transformation library

  • v1.0.3
  • 24.08
  • Published

@bablr/regex-vm

A fully streaming regular expression engine

  • v0.13.1
  • 24.08
  • Published

iterpal

iterable tools

  • v0.4.0
  • 24.04
  • Published

@stdlib/random-iter-randu

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

  • v0.2.1
  • 23.55
  • Published

@mootable/hashmap

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

  • v1.0.7
  • 23.41
  • Published

qq-console

Get the first path that exists on disk of multiple paths

  • v0.0.1
  • 23.36
  • Published

asyncsse

Fetch Server-Sent Events (SSE) as an async iterable

  • v1.4.1
  • 23.24
  • Published

typedata

A bundle of data collections in TypeScript

  • v0.5.1
  • 23.20
  • Published

mutent

An agnostic solution to work with any Datastore

  • v6.1.0
  • 23.17
  • Published

@stdlib/random-iter-uniform

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

  • v0.2.1
  • 23.17
  • Published

big-m

Utilities for building and transforming maps using iterables and streams.

  • v7.0.0
  • 22.87
  • Published

asyncllm

Fetch streaming LLM responses as an async iterable

  • v2.3.1
  • 22.82
  • Published

fluent-iterable

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

  • v0.1.6
  • 22.31
  • Published

stats-map

Map that keeps track of the hits and misses

  • v1.0.0
  • 22.15
  • Published

@stdlib/random-iter-beta

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

  • v0.2.1
  • 21.75
  • 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
  • 21.56
  • 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
  • 21.52
  • Published

iter

Lazily evaluated utility library

  • v3.3.0
  • 21.34
  • Published

array-fns

Functions for working with built-in collection types

  • v1.0.0
  • 21.19
  • Published

iterative

Functions for working with iterators in JavaScript, with TypeScript

  • v1.9.2
  • 20.91
  • Published

@wortise/sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 20.73
  • Published

@upgraded/locate-path

Get the first path that exists on disk of multiple paths

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

wise-river

Object streaming the way it should be

  • v1.0.1
  • 20.67
  • Published

@jeanpaollo/iterable-utils

The goal is to create a package that provides useful functions for iterables.

  • v1.0.0
  • 20.33
  • Published

quickiter

Fast iterator library

  • v0.8.0
  • 19.66
  • Published

streamlets

protocol and utilities for light-weight data streams

  • v0.5.1
  • 19.31
  • Published

@vates/async-each

Run async fn for each item in (async) iterable

  • v1.0.0
  • 19.29
  • Published

@joookiwi/collection

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

  • v1.13.0
  • 19.28
  • Published

iterdone

Tools to create ES6 iterators

  • v0.1.0
  • 19.06
  • Published

@stdlib/iter-slice

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

  • v0.2.2
  • 18.99
  • 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
  • 18.90
  • Published

p-map-browser

Map over promises concurrently

  • v1.2.0
  • 18.59
  • Published

linq.js

Perform queries on collections in the manner of C#'s System.Linq in JavaScript

  • v2.0.0
  • 18.41
  • Published

isit

Tests a value’s type against a string like 'positive integer' or 'non-empty map'.

  • v1.1.0
  • 18.41
  • Published

@stdlib/iter-pop

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

  • v0.2.2
  • 18.40
  • Published

transfigure-json

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

  • v1.1.0
  • 18.20
  • Published

super-iterable

An ES6 Iterable utility library with TypeScript support

  • v0.5.0
  • 17.48
  • Published

iterum

handling iterables like Arrays.

  • v2.0.0
  • 17.33
  • Published

iterified

Convert any callback-based sequence of values into a full-fledged async iterable

  • v1.2.5
  • 17.26
  • Published

find-files-by-patterns

Find files by patterns in directories, upwards or downwards from other paths.

  • v2.0.3
  • 16.76
  • Published

imlazy

Functional programming with lazy immutable iterables

  • v6.5.0
  • 16.60
  • Published

fast-p-map

Map over promises concurrently fast

  • v1.4.2
  • 16.59
  • Published

async-generator

A helper to create async generators

  • v0.1.0
  • 16.51
  • Published

fp-ts-ix

fp-ts binding for ixjs

  • v0.1.1
  • 16.23
  • Published

@stdlib/iter-map

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

  • v0.2.2
  • 15.96
  • Published

@a73/get-all-files-ts

A TypeScript blazing fast recursive directory crawler with lazy sync and async iterator support, fork from get-all-files by @TomerAberbach

  • v1.0.1
  • 15.80
  • Published

@mobily/wonka-extras

A collection of sources and operators for [Wonka](https://github.com/kitten/wonka).

  • v1.0.4
  • 15.33
  • Published

@stdlib/random-iter-lognormal

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

  • v0.2.1
  • 14.99
  • Published

async-iterable-map

Transforms items of an async iterable concurrently

  • v2.0.3
  • 14.97
  • Published

@evologi/join

Join strategies for Iterables, Maps, and Arrays.

  • v0.2.0
  • 14.61
  • Published

streamiterator

Turns browser fetch stream into asynchronous iterator

  • v2.0.8
  • 14.59
  • Published

x-iterable

Extensible Iterable class creation utilities

  • v6.0.1
  • 14.20
  • Published

not-so-weak

Iterable WeakMap, WeakSet and WeakValue.

  • v2.0.0
  • 14.16
  • Published

domyno

Iterator utility functions

  • v1.0.1
  • 14.07
  • Published

object-to-iterable

Transforms ordinary objects into iterables. You can use a for of to iterate through any object's properties

  • v0.0.7
  • 13.92
  • Published

@stdlib/random-iter-triangular

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

  • v0.2.1
  • 13.77
  • Published

@mobily/wonka-hooks

A collection of React hooks for [Wonka](https://github.com/kitten/wonka) and [WonkaExtras](https://github.com/mobily/wonka-extras).

  • v1.1.8
  • 13.63
  • Published

redis-iterate-keys

Iterate over keys in Redis, using the SCAN command.

  • v1.0.0
  • 13.58
  • 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.8.0
  • 13.48
  • Published

lazzy.ts

Fast and lightweight library for lazy operations with iterable objects.

  • v2.1.0
  • 13.43
  • Published

@stdlib/random-iter-normal

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

  • v0.2.1
  • 13.34
  • Published

react-async-iterators

The magic of JavaScript async iterators in React ⛓️ 🧬 🔃

  • v0.10.2
  • 13.27
  • Published

circular-iterable

Create circular, iterable data structures in JS

  • v2.0.1
  • 13.14
  • Published

coseq

Compose chains of functions to manipulate data via synchronous and asynchronous iterators

  • v1.0.0
  • 12.88
  • Published

iterable-chain

Library for working with collections using iterators.

  • v2.0.1
  • 12.88
  • Published

@shlappas/itertools

Some great tools for iteration inspired by python.

  • v2.1.1
  • 12.72
  • Published

@toolbuilder/dynamic-ring-buffer

A ring buffer that manages memory in chunks to support large capacity for data bursts with low overhead when small.

  • v0.1.6
  • 12.56
  • Published

@string-plumbing/mul

Create a string by repeating a smaller one for JavaScript

  • v0.0.1
  • 12.32
  • Published

@stdlib/stats-iter-cumeanabs

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

  • v0.2.2
  • 12.21
  • Published

super-array

Simple utility for enhancing any Array with constant O(1) access for properties by unique key

  • v1.1.2
  • 12.12
  • Published

queue.io

An events based queue iteration JavaScript module

  • v2.3.0
  • 12.12
  • Published