Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score88%
Downloads4/wk
Published2 years ago (0.6.0)

Well-tested utility functions dealing with async iterables

Functions

f
reduce

Apply reducer function of two arguments cumulatively to the elements of an async iterable source, from left to right, so as to reduce the async iterable to a single value.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";
or

Import directly with a jsr specifier

import * as mod from "jsr:@hongminhee/aitertools/fold";

Add Package

pnpm i jsr:@hongminhee/aitertools
or (using pnpm 10.8 or older)
pnpm dlx jsr add @hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";

Add Package

yarn add jsr:@hongminhee/aitertools
or (using Yarn 4.8 or older)
yarn dlx jsr add @hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";

Add Package

vlt install jsr:@hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";

Add Package

npx jsr add @hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";

Add Package

bunx jsr add @hongminhee/aitertools

Import symbol

import * as mod from "@hongminhee/aitertools/fold";