Skip to content

Conversation

@dbushell
Copy link
Owner

For issue #1 - this PR allows an optional ReadableStream input to the parse function instead of a URL.

Current URL example:

const parser = parse('https://feed.syntax.fm/rss');

Stream example:

const response = await fetch('https://feed.syntax.fm/rss');
const parser = parse(response.body);

I've updated the Deno example to use both.

@dbushell dbushell force-pushed the feature/readablestream branch from c1ca05e to a8bb721 Compare July 26, 2024 07:20
@dbushell dbushell marked this pull request as ready for review July 26, 2024 07:22
@dbushell
Copy link
Owner Author

fixes #1

@dbushell dbushell merged commit 046db52 into main Jul 26, 2024
@dbushell dbushell deleted the feature/readablestream branch August 28, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant