ask-sync
v0.1.5
Published
An easy to use library for interactive data input
Downloads
2
Readme
ask-sync
An easy to use library for interactive data input
Installation
$ npm install ask-sync
Sample code
var ask = require('ask-sync');
var person = ask({
name: ask.string('Person name'),
age: ask.number('Person age'),
sex: ask.string('Person sex', {
values: ['male','female']
}),
});