JSPM

Found 850 results for iterable

fsm-iterator

A finite state machine iterator for JavaScript

  • v1.1.0
  • 65.11
  • Published

is-iterable

Checks if a given object is iterable

  • v1.1.1
  • 62.17
  • Published

iterama

Composable functional (async) iterable helpers

  • v0.6.1
  • 62.07
  • Published

it-pushable

An iterable that you can push values into

  • v3.2.3
  • 61.63
  • Published

get-iterator

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

  • v2.0.1
  • 61.41
  • Published

iterable-lookahead

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

  • v2.0.0
  • 61.28
  • Published

p-every

Test whether all promises passes a testing function

  • v2.0.0
  • 61.22
  • Published

stream-to-it

Convert Node.js streams to streaming iterables

  • v1.0.1
  • 60.03
  • Published

unique-random

Generate random numbers that are consecutively unique

  • v4.0.0
  • 59.50
  • Published

piall

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

  • v0.2.1
  • 57.13
  • Published

it-pipe

Utility to "pipe" async iterables together

  • v3.0.1
  • 57.11
  • Published

it-length-prefixed

Streaming length prefixed buffers with async iterables

  • v10.0.1
  • 56.21
  • Published

calc-stats

Memory-Aware Statistical Calculations

  • v2.6.0
  • 55.39
  • Published

stream-demux

A consumable stream demultiplexer.

  • v10.0.1
  • 55.06
  • Published

p-series

Run promise-returning & async functions in series

  • v3.0.0
  • 54.94
  • Published

iter-fun

Fun with Iterables

  • v0.2.0
  • 53.74
  • Published

it-reader

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

  • v6.0.4
  • 53.59
  • Published

async-stream-emitter

An alternantive to EventEmitter using consumable streams.

  • v7.0.1
  • 53.57
  • 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.42
  • Published

callbag

A standard for JS callbacks

  • v1.5.1
  • 50.74
  • 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.34
  • 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.37
  • Published

cycled

Cycle through the items of an array

  • v2.0.0
  • 48.18
  • Published

pg-iterator

Typescript wrapper for pg-query-stream

  • v0.3.0
  • 48.10
  • Published

chai-iterator

Chai assertions for iterable objects

  • v3.0.2
  • 47.80
  • Published

iter-tools

The iterable toolbox

  • v7.5.4
  • 47.77
  • Published

map-iter

Applies a callback to each value outputted by an iterable.

  • v1.0.0
  • 46.50
  • Published

@lamansky/every

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

  • v1.0.0
  • 46.48
  • Published

get-all-files

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

  • v5.0.0
  • 45.42
  • 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.12
  • Published

it-handshake

Create handshakes for binary protocols with iterable streams

  • v4.1.3
  • 43.58
  • 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.33
  • Published

map-iterable

Array.prototype.map analog for iterables.

  • v2.0.0
  • 42.67
  • Published

@esm2cjs/p-map

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

  • v5.5.0
  • 42.67
  • Published

check-iterable

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

  • v1.2.0
  • 41.90
  • Published

array-join

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

  • v3.2.1
  • 41.90
  • Published

@rimbu/stream

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

  • v2.2.1
  • 41.89
  • Published

sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 41.79
  • Published

test-each

🤖 Repeat tests. Repeat tests. Repeat tests.

  • v7.0.1
  • 41.77
  • Published

chunkify

Split an iterable into evenly sized chunks

  • v5.0.0
  • 41.52
  • Published

big-cartesian

Cartesian product for big inputs

  • v6.1.1
  • 41.25
  • Published

p-one

Test whether some promise passes a testing function

  • v2.0.0
  • 40.75
  • Published

just-my-luck

A collection of utility functions for working with randomness.

  • v3.0.0
  • 40.03
  • Published

await-reduce

Resolve and reduce an array of promises

  • v1.2.3
  • 39.82
  • Published

string-stream-utils

Utilities to manipulate async iterable of chunks of strings

  • v0.0.4
  • 38.19
  • Published

iterable-backoff

Backoff generators usable as simple iterables

  • v0.1.0
  • 37.46
  • Published

extra-iterable

An iterable is a sequence of values.

  • v3.3.2
  • 37.45
  • Published

cartesian-product-generator

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

  • v1.1.1
  • 36.94
  • Published

batch-mobile

Asynchronous batched iterable for (mongo) cursors

  • v1.2.4
  • 36.71
  • Published

@szilanor/stream

Typesafe API for processing iterable data in TypeScript and JavaScript

  • v3.1.0
  • 36.21
  • Published

itiriri

A library built for ES6 iteration protocol.

  • v2.0.1
  • 36.09
  • Published

@codibre/fluent-iterable

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

  • v1.39.2
  • 35.37
  • Published

@tsdotnet/linked-node-list

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

  • v1.4.11
  • 34.56
  • 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.48
  • Published

dom-mutations

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

  • v1.0.0
  • 33.99
  • Published

iter-fest

A collection of utilities for iterations.

  • v0.3.0
  • 33.98
  • Published

request-animation-frames

Use requestAnimationFrame as an async iterable, in any JavaScript environment

  • v1.0.0
  • 33.40
  • 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.94
  • Published

iterable-query

Query library for ECMAScript iterables.

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

callbag-basics

Basic callbag factories and operators to get started with

  • v4.0.0
  • 32.82
  • Published

iteragain

Javascript Iterable/Iterator/Generator-function utilities.

  • v4.1.6
  • 32.81
  • 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.18
  • 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.86
  • 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.31
  • Published

@tsdotnet/memoize

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

  • v1.2.3
  • 31.06
  • 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.94
  • Published

lfi

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

  • v4.0.2
  • 29.89
  • 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.89
  • 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.55
  • 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.17
  • Published

make-set

Ensures that a given input can be used as a set

  • v1.0.0
  • 29.13
  • 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.90
  • Published

@aptre/it-ws

Simple async iterables for websocket client connections

  • v1.1.2
  • 28.89
  • Published

object-entries

An ObjectIterator implementation.

  • v1.0.0
  • 28.01
  • 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.96
  • Published

leseq

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

  • v1.12.2
  • 27.40
  • Published

@harperdb/extended-iterable

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

  • v1.0.1
  • 27.31
  • Published

iterablefu

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

  • v0.4.5
  • 27.30
  • Published

list-directories

List all directories in a given directory

  • v1.1.0
  • 27.05
  • 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
  • 27.02
  • Published

react-wonka

Several hooks for using Wonka streams with React

  • v2.0.1
  • 26.85
  • Published

iterable-joiner

combine multiple Iterable or AsyncIterable objects into one

  • v1.0.3
  • 26.43
  • 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.45
  • Published

it-block

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

  • v6.0.2
  • 25.26
  • Published

compare-lists

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

  • v1.0.10
  • 25.04
  • 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
  • 25.01
  • Published

betterator

A better sync and async iterator API.

  • v2.0.2
  • 24.92
  • Published

@cuties/iterator

Cutie extension for the iterable protocol in JavaScript.

  • v1.1.3
  • 24.92
  • Published

iter8

JavaScript iterable transformation library

  • v1.0.3
  • 24.16
  • Published

@bablr/regex-vm

A fully streaming regular expression engine

  • v0.13.1
  • 24.16
  • Published

jinqu

Querying infrastructure for JavaScript, with Linq style

  • v2.0.0
  • 24.10
  • Published

iterpal

iterable tools

  • v0.4.0
  • 24.01
  • Published

@stdlib/random-iter-randu

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

  • v0.2.1
  • 23.63
  • Published

@mootable/hashmap

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

  • v1.0.7
  • 23.52
  • Published

qq-console

Get the first path that exists on disk of multiple paths

  • v0.0.1
  • 23.43
  • Published

asyncsse

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

  • v1.4.1
  • 23.21
  • 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.14
  • Published

big-m

Utilities for building and transforming maps using iterables and streams.

  • v7.0.0
  • 22.98
  • Published

asyncllm

Fetch streaming LLM responses as an async iterable

  • v2.3.1
  • 22.93
  • Published

fluent-iterable

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

  • v0.1.6
  • 22.38
  • Published

stats-map

Map that keeps track of the hits and misses

  • v1.0.0
  • 22.26
  • Published

@stdlib/random-iter-beta

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

  • v0.2.1
  • 21.75
  • 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.60
  • 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.53
  • Published

iter

Lazily evaluated utility library

  • v3.3.0
  • 21.41
  • Published

array-fns

Functions for working with built-in collection types

  • v1.0.0
  • 21.17
  • Published

iterative

Functions for working with iterators in JavaScript, with TypeScript

  • v1.9.2
  • 20.89
  • Published

@upgraded/locate-path

Get the first path that exists on disk of multiple paths

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

@wortise/sequency

Functional sequences for processing iterable data in JavaScript

  • v0.20.0
  • 20.80
  • Published

wise-river

Object streaming the way it should be

  • v1.0.1
  • 20.77
  • Published

@vates/async-each

Run async fn for each item in (async) iterable

  • v1.0.0
  • 20.47
  • Published

@jeanpaollo/iterable-utils

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

  • v1.0.0
  • 20.41
  • Published

quickiter

Fast iterator library

  • v0.8.0
  • 19.66
  • Published

streamlets

protocol and utilities for light-weight data streams

  • v0.5.1
  • 19.37
  • 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.25
  • Published

iterdone

Tools to create ES6 iterators

  • v0.1.0
  • 19.13
  • Published

@stdlib/iter-slice

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

  • v0.2.2
  • 18.97
  • 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.66
  • Published

linq.js

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

  • v2.0.0
  • 18.47
  • Published

isit

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

  • v1.1.0
  • 18.39
  • Published

@stdlib/iter-pop

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

  • v0.2.2
  • 18.38
  • Published

transfigure-json

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

  • v1.1.0
  • 18.26
  • Published

super-iterable

An ES6 Iterable utility library with TypeScript support

  • v0.5.0
  • 17.55
  • Published

iterum

handling iterables like Arrays.

  • v2.0.0
  • 17.35
  • Published

iterified

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

  • v1.2.5
  • 17.28
  • Published

find-files-by-patterns

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

  • v2.0.3
  • 16.74
  • Published

imlazy

Functional programming with lazy immutable iterables

  • v6.5.0
  • 16.58
  • Published

fast-p-map

Map over promises concurrently fast

  • v1.4.2
  • 16.57
  • Published

async-generator

A helper to create async generators

  • v0.1.0
  • 16.49
  • Published

fp-ts-ix

fp-ts binding for ixjs

  • v0.1.1
  • 16.29
  • Published

@stdlib/iter-map

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

  • v0.2.2
  • 16.01
  • 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.78
  • Published

@mobily/wonka-extras

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

  • v1.0.4
  • 15.31
  • 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.95
  • Published

@evologi/join

Join strategies for Iterables, Maps, and Arrays.

  • v0.2.0
  • 14.93
  • Published

streamiterator

Turns browser fetch stream into asynchronous iterator

  • v2.0.8
  • 14.58
  • Published

x-iterable

Extensible Iterable class creation utilities

  • v6.0.1
  • 14.27
  • Published

not-so-weak

Iterable WeakMap, WeakSet and WeakValue.

  • v2.0.0
  • 14.21
  • Published

domyno

Iterator utility functions

  • v1.0.1
  • 14.08
  • 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.94
  • Published

@stdlib/random-iter-triangular

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

  • v0.2.1
  • 13.81
  • 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.67
  • Published

redis-iterate-keys

Iterate over keys in Redis, using the SCAN command.

  • v1.0.0
  • 13.63
  • 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.52
  • Published

lazzy.ts

Fast and lightweight library for lazy operations with iterable objects.

  • v2.1.0
  • 13.50
  • Published

@stdlib/random-iter-normal

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

  • v0.2.1
  • 13.38
  • Published

react-async-iterators

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

  • v0.10.2
  • 13.28
  • Published

circular-iterable

Create circular, iterable data structures in JS

  • v2.0.1
  • 13.12
  • Published

coseq

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

  • v1.0.0
  • 12.86
  • Published

iterable-chain

Library for working with collections using iterators.

  • v2.0.1
  • 12.86
  • Published

@shlappas/itertools

Some great tools for iteration inspired by python.

  • v2.1.1
  • 12.78
  • 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.61
  • Published

@string-plumbing/mul

Create a string by repeating a smaller one for JavaScript

  • v0.0.1
  • 12.31
  • Published

@stdlib/stats-iter-cumeanabs

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

  • v0.2.2
  • 12.23
  • Published

queue.io

An events based queue iteration JavaScript module

  • v2.3.0
  • 12.12
  • Published

super-array

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

  • v1.1.2
  • 12.11
  • Published

@zerodep/struct-linkedlist

A factory that returns an optionally-typed, iterable Linked List data structure.

  • v2.5.11
  • 11.78
  • Published

pamatcher

A pattern matching library for JavaScript iterators

  • v0.3.0
  • 11.69
  • Published

ai-reduce

Reduce for async iterables.

  • v2.1.0
  • 11.69
  • Published

@chocolatey/conjoin

A fast and flexible joiner for iterables and arrays with a tiny footprint

  • v3.0.1
  • 11.69
  • Published

@jsdsl/iterator

A collection of classes that allow iteration over a predefined collection of elements.

  • v1.1.2
  • 11.22
  • Published

@mhyfritz/bin-data

Bin data into given number of chunks and pick a representative value for each bin.

  • v0.0.6
  • 11.22
  • 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
  • 11.22
  • Published

get-range

Lazy number range generator

  • v4.0.0
  • 11.22
  • Published

async-iters-merge-sort

Merge multiple async iterables into a single sorted async iterable

  • v1.0.2
  • 11.11
  • Published

any-size

Get the size of a value.

  • v1.2.0
  • 11.11
  • Published

@stdlib/math-iter-tools-map2

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

  • v0.2.2
  • 11.07
  • Published

wbtree

A weight balanced tree

  • v0.0.0
  • 11.02
  • Published