/date-prompt

A CLI date picker prompt.

Primary LanguageJavaScriptISC LicenseISC

date-prompt 📅

A CLI prompt to ask for date & time.

asciicast

npm version ISC-licensed minimum Node.js version

Installing

npm install date-prompt

Usage

const datePrompt = require('date-prompt')

datePrompt('When is your birthday?')
.then(isoStr => console.log('Submitted with', isoStr))
.catch(isoStr => console.log('Aborted with', isoStr))

Related

Contributing

If you have a question or need support using date-prompt, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.