semantic-inquirer
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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);

Package Sidebar

Install

npm i semantic-inquirer

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

18.2 kB

Total Files

12

Last publish

Collaborators

  • trapcode