1.0.0 • Published 10 months ago

@mimo-org/input v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@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}!`);