Hello, In my opinion getting input from the terminal in nodejs is such a hassle (there is readline for reading lines, and process.stdin and stuff). I wish I could do just something like:const input = input("prompt message: ")or, even better with custom flags. I know a few packages already like this one, but they dont address my need for a simpler package.So, I have built a really simple and clean package,that is like a one liner, to get input from the terminal. I have only tested on linux and it works just fine. However, I am planning to improve it and I dunno if any developers out there would contribute. I am sharing a link to repository for anyone who would like to come in!NOTE: If anyone is uninterested in the fact that the package is on github, I may move it to gitlab
Submitted August 05, 2020 at 12:57PM by Dj_Polyester
No comments:
Post a Comment