Skip to main content
Home

Built and signed on GitHub Actions

Well-tested utility functions dealing with async iterables

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 Score
88%
Published
2 years ago (0.6.0)
Package root>CHANGES.md
<!-- deno-fmt-ignore-file --> Changelog ========= Version 0.6.0 ------------- Released on March 26, 2024. - Now aitertools is [available on JSR]. - Now aitertools is no more available on [deno.land/x] and [nest.land]. [available on JSR]: https://jsr.io/@hongminhee/aitertools [deno.land/x]: https://deno.land/x/aitertools [nest.land]: https://nest.land/package/aitertools Version 0.5.0 ------------- Released on November 23, 2023. - Now aitertools is [available on npm]. - Now every submodule is inside *src/* directory. This is a breaking change for users whom import submodules directly. For users whom import from *mod.ts* module, this is not a breaking change. - Added *src/range.ts* module. - Added `range()` function. - Added `Range` class. - Added `takeEnd()` function. - Added `dropEnd()` function. [available on npm]: https://www.npmjs.com/package/aitertools Version 0.4.0 ------------- Released on July 17, 2022. - Added *unique.ts* module. - Added `groupBy()` function. - Added `unique()` function. Version 0.3.1 ------------- Released on June 8, 2022. - Added the following missing re-exports to *mod.ts* module: - `toMap()` from *collections.ts* - `toSet()` from *collections.ts* - `concat()` from *concat.ts* - `drop()` from *drop.ts* - `dropWhile()` from *drop.ts* - `filter()` from *filter.ts* - `map()` from *map.ts* Version 0.3.0 ------------- Released on June 8, 2022. - Added `fromIterable()` function. - Added `toMap()` function. - Added `toSet()` function. - Added *concat.ts* module. - Added `concat()` function. - Added *drop.ts* module. - Added `drop()` function. - Added `dropWhile()` function. - Added *filter.ts* module. - Added `filter()` function. - Added *fold.ts* module. - Added `reduce()` function. - Added *map.ts* module. - Added `map()` function. - Added *tee.ts* module. - Added `tee()` function. - Added optional parameter `msg` to `assertStreams<T>()` function. - Added optional parameter `msg` to `assertStreamStartsWith<T>()` function. Version 0.2.1 ------------- Released on June 4, 2022. - Fixed an off-by-one bug that `take()` had returned a non-empty async iterator when `count <= 0`. Version 0.2.0 ------------- Released on May 24, 2022. - Added *mod.ts* module which re-exports everything from other modules. - Added `cycle()` function. - Added `repeat()` function. Version 0.1.1 ------------- Released on June 4, 2022. - Fixed an off-by-one bug that `take()` had returned a non-empty async iterator when `count <= 0`. Version 0.1.0 ------------- Initial release. Released on May 23, 2022.