@riasatsk/input
v1.2.0
Published
Node.js Terminal input
Readme
@riasatsk/input
@riasatsk/input is a simple utility for reading user input from the command line in Node.js applications. It wraps the readline module to make input prompts more straightforward and easy to use.
Installation
To use @riasatsk/input in your project, you need to install it via npm or yarn. Ensure you have Node.js installed on your machine.
Using npm
npm install @riasatsk/inputimport input from "@riasatsk/input";
const name = await input("What is your name: ");
console.log("Hello " + name + "!");