npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

enquirer-prompts

1.0.0

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:157
$ npm install enquirer-prompts
DailyWeeklyMonthlyYearly

enquirer-prompts NPM version NPM monthly downloads NPM total downloads

Plugin that adds a number of common prompt types to Enquirer

Install

Install with npm:

$ npm install --save enquirer-prompts

Usage

var Enquirer = require('enquirer');
var enquirer = new Enquirer();

// register as a plugin
enquirer.use(require('enquirer-prompts'));

Visit the individual prompts for usage instructions.

Prompt types

The following prompt types are included in this module (any of these modules can also be used standalone):

  • prompt-checkbox: Multiple-choice/checkbox prompt. Can be used standalone or with a prompt system like Enquirer. | homepage
  • prompt-confirm: Confirm (yes/no) prompt. Can be used standalone or with a prompt system like Enquirer. | homepage
  • prompt-editor: Editor prompt. Opens your text editor and waits for you to save your input during… more | homepage
  • prompt-expand: Expand prompt. Can be used as a standalone prompt, or with a prompt system like… more | homepage
  • prompt-list: List-style prompt. Can be used as a standalone prompt, or with a prompt system like… more | homepage
  • prompt-password: Password prompt. Can be used as a standalone prompt, or with a prompt system like… more | homepage
  • prompt-radio: Radio prompt. This prompt behaves like other radio-button interfaces, where only one choice is enabled… more | homepage
  • prompt-rawlist: Rawlist prompt. Can be used as a standalone prompt, or with a prompt system like… more | homepage

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for advice on opening issues, pull requests, and coding standards.

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

Author

Jon Schlinkert

  • github/jonschlinkert
  • twitter/jonschlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.6.0, on May 27, 2017.