date-prompt

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i date-prompt

Weekly Downloads

72

Version

1.0.0

License

ISC

Unpacked Size

7.01 kB

Total Files

5

Last publish

Collaborators

  • derhuerst