NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3669 most downloaded on npm
A tiny, zero-dependency asynchronous iterator polyfill/ponyfill for ReadableStreams.
Latest stable
0.7.1
Last release 29 days ago
24 Oct 2026
Release timing varies
gaps range from 3 weeks to 1.6 years
Some releases are documented
notes for 7 of 13 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
13 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
78b0c47: Match the native ReadableStream.from method shape and require iterable objects. The standalone fromAnyIterable helper accepts strings.
ReadableStream.from method shape and require iterable objects. The standalone fromAnyIterable helper accepts strings.next once, and read done before value.null as default async iterator options and reject primitive options before acquiring a stream reader.next() and return() through stream cancellation. Reuse reader callbacks to reduce promise allocations and release consumed chunks after operations settle.next() or return() is called with an incompatible receiver, including inherited and proxied iterators.bf594cf: Fix TypeScript issues with the ponyfill
Your coding agent can read these notes before it upgrades. Set up the MCP server →
asyncIterator() now returns ReadableStreamAsyncIterator<R> instead of an internal interface that exposed a private unique symbol brand. The package provides a compatible global declaration for older TypeScript versions and merges with modern lib.dom.d.ts, so ponyfill and polyfill usage share the same iterator type surface.TReturn generic parameter on asyncIterator() has been removed from the public signature. Runtime iterator.return(value) behavior remains spec-compliant and resolves with { done: true, value }, while the public type follows lib.dom's ReadableStreamAsyncIterator<T> shape.types field and a typesVersions map mirroring every subpath in exports, so the package's type definitions can be resolved under classic moduleResolution: "node" in addition to node16 / nodenext / bundler.ReadableStream.prototype.values and ReadableStream.prototype[Symbol.asyncIterator] with Web IDL-conformant descriptors (values is enumerable, [Symbol.asyncIterator] is not) and guarantees the two slots reference the same function object.bd69b3e: Bump deps and switch to OIDC publishing
3b16e97: Update iterator-related types to cope with typescript 5.6 changes. See this writeup) and this PR.
7cb5954: Refactor asyncIterator ponyfill API
7cb5954: Refactor asyncIterator ponyfill API
BREAKING: The asyncIterator from the ponyfill API is refactored, you should now use it like this:
asyncIterator(readableStream);
instead of
asyncIterator.call(readableStream);
82a7030: Fix package.json main and module entry point.
BREAKING CHANGE: The API is redesgined. Check REAMDE.md for details.
0398fc0: Restructure codebase and export ponyfill entry points.
BREAKING CHANGE: The API is redesgined. Check REAMDE.md for details.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.