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

Add support for streams in object mode #86

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Add support for streams in object mode #86

merged 1 commit into from
Aug 10, 2023

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Aug 9, 2023

This PR adds support for streams in object mode.

This does so by adding a getStreamAsArray() method. It is like the other methods except the stream's contents is returned as an array instead (e.g. as an array of objects).

@sindresorhus
Copy link
Owner

Conflict

@ehmicky
Copy link
Collaborator Author

ehmicky commented Aug 10, 2023

Fixed 👍

@sindresorhus sindresorhus merged commit bbfdc73 into sindresorhus:main Aug 10, 2023
@ehmicky ehmicky deleted the object-stream branch August 10, 2023 16:30
@ehmicky ehmicky mentioned this pull request Aug 13, 2023
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.

2 participants