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

replace intoStream with readable.from #268

Open
jimmywarting opened this issue Aug 29, 2021 · 0 comments
Open

replace intoStream with readable.from #268

jimmywarting opened this issue Aug 29, 2021 · 0 comments

Comments

@jimmywarting
Copy link

jimmywarting commented Aug 29, 2021

Is there a need for intoStream when nodejs basically has this built in?

return getStream(intoStream.object(parsedCommits).pipe(writer(changelogContext, writerOpts)));

another option could just be to simply just work with generators instead.

replacing into-stream with node:stream.Readable.from(x) could reduce the pkg by a bit
https://npmgraph.js.org/?q=into-stream@6.0.0

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

No branches or pull requests

1 participant