0.1.1 • Published 3 years ago

semantic-inquirer v0.1.1

Weekly downloads
15
License
MIT
Repository
github
Last release
3 years ago

semantic-inquirer

NOTE This package is currently for personal usage

A semantic version for inquirer npm package

npm i semantic-inquirer 
# or 
yarn add semantic-inquirer

Usage

const {Q} = require('semantic-inquirer');

async function main(){
   const isReady = await Q.yesOrNo('Are you ready to eat?')
   console.log(isReady ? 'You are ready to eat!' : 'I will ask some other time.')

   const isVegetarian = await Q.trueOrFalse('Vegeteran?');
   if(isVegetarian){
        // Hide the beefs and chicken
   }
}

main().catch(console.log);
0.1.0

3 years ago

0.1.1

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago