@hongminhee/aitertools@0.6.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dahlia/aitertoolsWell-tested utility functions dealing with async iterables
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
88%
Published
2 years ago (0.6.0)
f
count
Makes an infinite async iterable of evenly spaced values starting with
the start number.
f
cycle
Makes an async iterator that yields elements from the source and saving
a copy of each. When the source is exhausted, yields saved copies
indefinitely.
f
repeat
Makes an async iterator that yields the same value over and over again.
It will repeat indefinitely unless times is specified.
Add Package
deno add jsr:@hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";
Import directly with a jsr specifier
import * as mod from "jsr:@hongminhee/aitertools/infinite";
Add Package
pnpm i jsr:@hongminhee/aitertools
pnpm dlx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";
Add Package
yarn add jsr:@hongminhee/aitertools
yarn dlx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";
Add Package
vlt install jsr:@hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";
Add Package
npx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";
Add Package
bunx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/infinite";