# terkelg/prompts

❯ Lightweight, beautiful and user-friendly interactive prompts

Repository: https://github.com/terkelg/prompts
Canonical: https://ross.abutalabs.com/products/prompts
Language: JavaScript
License: MIT
License Family: permissive
Topics: prompt, prompts, cli, command-line, nodejs, interface, choice, prompter
Last push: 2025-05-14T16:42:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 21, release rhythm 8, longevity 100
- inputs: {"age_days": 3112, "days_push": 476, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9310, forks 318 (observed 2026-08-28T04:10:30.475985+00:00)

## What it is
A lightweight Node.js library for building beautiful, user-friendly interactive command-line prompts. It supports various prompt types (text, number, confirm, select, etc.) with a promise-based API and minimal dependencies.

## Use cases
- ask users questions in a cli tool
- build interactive command-line wizards
- collect user input in node scripts
- create multi-step prompt chains
- add confirm dialogs to cli apps
- replace inquirer with a lighter alternative

## When to choose
- you need lightweight cli prompts with minimal dependencies
- you prefer a promise/async-await based api
- you want consistent, attractive terminal prompts in node.js
- you need programmatically testable prompt flows

## When to avoid
- you need prompts outside the node.js ecosystem
- you require highly customized or complex form layouts beyond simple prompts
- you are building a gui or web application rather than a cli

## Facets
- artifact type: library
- maturity: stable
- function: cli, developer-tools, terminal-ui
- domain: developer-tools, frontend
- platform: cli, cross-platform
- tags: interactive-prompts, command-line-interface, async-await, user-input, javascript, command-line, nodejs

## Member repositories
- terkelg/prompts (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:30.475985+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:22:30.840111+00:00, confidence not recorded.
  - readme: https://github.com/terkelg/prompts (fetched 2026-08-28T04:10:30.475985+00:00, sha a997d95c02ca)
  - registry_npm: https://registry.npmjs.org/prompts (fetched 2026-08-29T08:22:51.140122+00:00, sha 6f51c86d8db3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
