Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain stream usage in README #446

Merged
merged 1 commit into from
Apr 18, 2020
Merged

Explain stream usage in README #446

merged 1 commit into from
Apr 18, 2020

Conversation

mnmkng
Copy link
Contributor

@mnmkng mnmkng commented Apr 9, 2020

I realized that Parser does not support streams by accident. I'd been sucessfully piping to Parser for quite some time and only now, when faced with multi-byte characters split over multiple chunks I realized, that I'd just been lucky. I think the WritableStream interface deserves a mention in the README. Especially when considering readable.pipe(parser) seems to be working, aside from the multibyte chars.

I realized that `Parser` does not support streams by accident. I'd been sucessfully `piping` to `Parser` for quite some time and only now, when faced with multi-byte characters split over multiple chunks I realized, that I'd just been lucky. I think the `WritableStream` interface deserves a mention in the README. Especially when considering `readable.pipe(parser)` seems to be working, aside from the multibyte chars.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.226% when pulling 2a5f2d3 on mnmkng:patch-1 into 8904a71 on fb55:master.

Copy link
Owner

@fb55 fb55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this!

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.

3 participants