1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-26 10:34:40 +02:00

chore: add resource under nodejs:nodejs-command-line-apps:taking-input

This commit is contained in:
Kamran Ahmed
2023-06-05 21:18:07 +01:00
parent afa28bddd3
commit 9eb9dc8cd8

View File

@@ -1,3 +1,5 @@
# Taking input
Node.js provides a few ways to take inputs from user, including the built-in `process.stdin` and `readline` module. There are also several third party packages like `prompts` and `Enquirer` built on top of `readline` that provide an easy to use and intuitive interface.
- [How to read from stdin line by line in Node](https://stackoverflow.com/questions/20086849/how-to-read-from-stdin-line-by-line-in-node)