@riasatsk/input
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@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/input
import input from "@riasatsk/input";

const name = await input("What is your name: ");

console.log("Hello " + name + "!");

Readme

Keywords

none

Package Sidebar

Install

npm i @riasatsk/input

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

1.3 kB

Total Files

4

Last publish

Collaborators

  • riasatsk