Skip to content

Releases: blakeembrey/iterative

Add `iterable` function

30 Mar 04:48
Compare
Choose a tag to compare

Changed

  • Add iterable function for converting iterator to iterable aa4eee8

Fix Async Support

30 Dec 17:43
Compare
Choose a tag to compare

Fixed

  • Fixed iter support in async code
  • Fixed Promise return for reduce
  • Use AnyIterable type for async sum and all

Zip With Value

01 Apr 22:06
Compare
Choose a tag to compare

Added

  • Expose zipWithValue, similar API to zip_longest in Python where you can specify a fillValue explicitly

Iterable Iterators

21 Feb 05:27
Compare
Choose a tag to compare

Fixed

  • Function return signatures should use IterableIterator to easily chain next(filter(map(...)))

Product

15 Feb 07:00
Compare
Choose a tag to compare

Added

  • Support product(...iterables)

Async Iterative

01 Feb 06:43
Compare
Choose a tag to compare

Added

  • Complete support for async iterables using a separate package entry point: iterative/dist/async

Python Built-In Functions

25 Sep 03:20
Compare
Choose a tag to compare

Added

  • Added len, min, max and sum functions to mirror Python built-in functions

Changed

  • Support cmp argument support to sorted function

Dict Function

05 Sep 05:45
Compare
Choose a tag to compare

Added

  • Expose dict(iterable) function for creating a JavaScript object from an iterable

Sorted Function

03 Sep 03:34
Compare
Choose a tag to compare

Added

  • Add sorted function for returning a sorted list from an iterable

Flatten Function

07 May 03:51
Compare
Choose a tag to compare

Added

  • Add flatten function to "chain" an iterable of iterables (allows non-exhaustive iterables returning iterables)