@hongminhee/aitertools@0.6.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dahlia/aitertoolsWorks with
•JSR Score88%•This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




Downloads4/wk
•Published2 years ago (0.6.0)
Well-tested utility functions dealing with async iterables
f
fromIterable
Turns a synchrnous iterable source into an async iterable.
f
toArray
Creates an array from an async iterable.
f
toMap
Creates a map from an async iterable of key-value pairs. Each pair is represented as an array of two elements.
f
toSet
Creates a set from an async iterable.
Add Package
deno add jsr:@hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";
Import directly with a jsr specifier
import * as mod from "jsr:@hongminhee/aitertools/collections";
Add Package
pnpm i jsr:@hongminhee/aitertools
pnpm dlx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";
Add Package
yarn add jsr:@hongminhee/aitertools
yarn dlx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";
Add Package
vlt install jsr:@hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";
Add Package
npx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";
Add Package
bunx jsr add @hongminhee/aitertools
Import symbol
import * as mod from "@hongminhee/aitertools/collections";