Files

9 lines
779 B
Markdown
Raw Permalink Normal View History

2025-11-24 11:25:01 +00:00
# process.stdin
2023-01-02 04:47:46 +04:00
2025-11-24 11:25:01 +00:00
`process.stdin` is a stream in Node.js that represents the standard input, typically the keyboard. It allows your Node.js programs to receive text input from the command line. The `readline` module provides a convenient interface for reading input from `process.stdin` line by line, making it easier to handle user input in interactive command-line applications.
2023-01-02 04:47:46 +04:00
Visit the following resources to learn more:
2025-03-23 19:55:24 +05:30
- [@official@process.stdin](https://nodejs.org/api/process.html#processstdin)
2025-11-24 11:25:01 +00:00
- [@official@Accept input from the command line in Node.js](https://nodejs.org/en/learn/command-line/accept-input-from-the-command-line-in-nodejs#accept-input-from-the-command-line-in-nodejs)
- [@article@Node.js Process stdin & stdout](https://nodecli.com/node-stdin-stdout)