module-picker
v1.0.2
Published
a micro CLI to select from various modules listed in package.json
Downloads
2
Readme
Module-Picker
##Promise-based Example:
const modulePicker = require('module-picker');
let select = modulePicker({
filter:'7'
});
select.then(function(answers){
console.log(answers);
});
##Callback-based Example:
const modulePicker = require('module-picker');
modulePicker({
filter:'7',
callback:function(answers){
console.log(answers);
}
});