1.0.2 • Published 4 years ago

console-input v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

console-input

A NodeJS input prompt for the console.

installation

npm install console-input --save

Usage:

input

let { input } = require('input');

const userInput = input('Enter Your Name: ');

console.log(userInput);  

print

let { print } = require('print');
print('Hello World!')            // "Hello World!"

Notes

The input function returns the info entered by the user and stores that info in userInput.

That's it. Very straightforward. Very simple. Great for folks just getting started.

enjoy!

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago