Prompt for standard input
Examples
Basic usage (promise):
const prompt = ; ;
Async/Await:
const prompt = ; async { const name = await ; if name === 'Adam' console; else console;};
Callback:
const prompt = ; ;
Prompt for standard input
Basic usage (promise):
const prompt = ; ;
Async/Await:
const prompt = ; async { const name = await ; if name === 'Adam' console; else console;};
Callback:
const prompt = ; ;
npm i promise-prompt
123
1.1.1
MIT
3.38 kB
9