Sane CLI user-input (command prompt, confirm, multiline, password) as promises, it can be used with co@4
Install
npm i --save prompt-promise
Run examples
npm run with-co
npm run without-co
Usage
For more use-cases see examples
var co = ;var prompt = ;var res = ; ; // or with `co@4`;
.end()
, .done()
, .finish()
are just aliases for process.stdin.pause();
its required, nah..
Author
Charlike Mike Reagent
License
Copyright (c) 2014-2015 Charlike Mike Reagent, contributors.
Copyright (c) 2014 TJ Holowaychuk, contributors.
Released under the MIT
license.
Powered and automated by kdf, January 31, 2015