snake_input
v1.0.0
Published
Easy one line input just like python!
Readme
sanke_input
Easy one line input just like python!
Installation
npm install snake_inputUsage
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
