Nitrogenous Polymorphic Molecule
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

date-prompt

0.7.0 • Public • Published

date-prompt 📅

A CLI prompt to ask for date & time.

asciicast

npm version dependency status ISC-licensed

date-prompt uses cli-styles and prompt-skeleton to have a look & feel consistent with other prompts.

Installing

npm install date-prompt

Usage

const numberPrompt = require('date-prompt')
datePrompt()
.on('data', (v) => console.log('Interim value', v))
.on('submit', (v) => console.log('Submitted with', v))
.on('abort', (v) => console.log('Aborted with', v))

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

install

npm i date-prompt

Downloadsweekly downloads

17

version

0.7.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar