@mimo-org/input
v1.0.0
Published
A simple, synchronous input function to read from stdin, inspired by Python's input()
Downloads
25
Maintainers
Readme
@mimo-org/input
A simple, synchronous input function to read from stdin, inspired by Python's input()
.
Installation
npm install @mimo-org/input
Usage
const input = require('@mimo-org/input');
const name = input('Enter your name: ');
console.log(`Hello, ${name}!`);