Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 320 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 320 Bytes

@mimo-org/input

A simple, synchronous input function for Node 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}!`);