1.0.0 • Published 2 years ago
snake_input v1.0.0
sanke_input
Easy one line input just like python!
Installation
npm install snake_input
Usage
import input from 'snake_input'
const res = await input('The prompt to the user: ')
Api
input(prompt?: string | undefined): Promise<string>
Promts the user with the prompt provided
Returns a the string as a promise
1.0.0
2 years ago