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

Document Bun.stdin.stream() and Bun.file("/dev/stdin").stream() are not the same, behave differently #11712

Open
guest271314 opened this issue Jun 8, 2024 · 0 comments
Labels
docs Improvements or additions to documentation

Comments

@guest271314
Copy link

What is the type of issue?

Documentation is confusing

What is the issue?

Bun also exposes stdin as a BunFile via Bun.stdin. This is useful for incrementally reading large inputs that are piped into the bun process.

It is not clear that Bun.stdin.stream() and Bun.file("/dev/stdin").stream() behave differently.

Where did you find it?

https://bun.sh/guides/process/stdin

@guest271314 guest271314 added the docs Improvements or additions to documentation label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant