itertools-ts
Version:
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)
29 lines (28 loc) • 730 B
text/typescript
export * as single from "./single";
export * as math from "./math";
export * as multi from "./multi";
export * as set from "./set";
export * as combinatorics from "./combinatorics";
export * as reduce from "./reduce";
export * as summary from "./summary";
export * as transform from "./transform";
export * as infinite from "./infinite";
export { Stream } from "./stream";
export { AsyncStream } from "./async-stream";
export { createPipe } from "./pipe";
export { InvalidArgumentError, LengthError } from "./exceptions";
export type {
Comparable,
NumericString,
Numeric,
Comparator,
Pair,
First,
Last,
FlatMapper,
AsyncFlatMapper,
ZipTuple,
PipeOperation,
PipeOperationSequence,
Pipe,
} from "./types";