79 packages found
Simple command line prompting utility
Typical random-related functions for JavaScript.
Randomly pick an item from a set (using the specified probabilities).
Sample elements from an array-like object.
- stdlib
- stdmath
- random
- rand
- mathematics
- math
- statistics
- stats
- sampling
- with replacement
- replacement
- discrete
- distribution
- urn
- View more
get y/n answer from user on terminal via callback
Generates random numbers, unique random numbers.
- random
- unique
- random-array
- unique-random
- random-objects
- probability
- choice
- weights
- random-char
- random-boolean
- random-int
- random-select
- radom-probability
Confirm (yes/no) prompt. Can be used standalone or with a prompt system like [Enquirer].
- answer
- answers
- ask
- checkbox
- choice
- cli
- command
- confirm
- enquirer
- enquirerprompt
- input
- inquire
- inquirer
- interact
- View more
Handlebars inflection/pluralisation helpers
- handlebars
- helper
- internationalisation
- internationalization
- i18n
- pluralisation
- pluralization
- inflection
- substitution
- choice
Input Field UI Component
Create a readline interface with default settings to use in prompts.
jQuery plugin for fast selects with huge amount of options
List-style prompt. Can be used as a standalone prompt, or with a prompt system like [enquirer].
- answer
- answers
- ask
- checkbox
- choice
- cli
- command
- enquirer-prompt
- enquirerprompt
- input
- inquire
- inquirer
- interact
- list
- View more
Easy and beautiful CLI multiple-choice selection
An instant-runoff-voting algorithm implemented in Typescript.
Base prompt module used for creating custom prompts.
[![NPM Version][either-npm-version-badge]][either-npm] [repo-circleci-badge]: https://img.shields.io/circleci/project/github/Ailrun/typed-f/master.svg?logo=circleci [![Known Vulnerabilities][either-snyk-badge]][either-snyk] [![Supported TypeScript Version
Find an array index of the substitute value that should be chosen when a given index is deleted
Radio prompt. Can be used as a standalone prompt, or as a plugin for [Enquirer].
- answer
- answers
- ask
- checkbox
- choice
- cli
- command
- enquirer
- enquirer-prompt
- enquirerprompt
- input
- inquire
- inquirer
- interact
- View more
Validate and normalise user choice: array, object or both?