iterext
v1.1.1
Published
Ports of Rust's Iterator and future-rs' StreamExt
Downloads
4
Readme
iterext
Approximate ports of Rust's Iterator and future-rs' StreamExt to TypeScript.
Example
import { Iter } from "./mod.ts";
Iter.repeatWith((i) => "A".repeat(i + 1))
.enumerate()
.map(([index, value]) => `[${index}] ${value}`)
.take(100)
.forEach(console.log);