flatiron/prompt
a beautiful command-line prompt for node.js observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5585
- days_rel: n/a
- days_push: 828
- n_releases_24m: 0
Adoption not part of the score
1966 stars · 178 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js library for building interactive command-line prompts. It supports schema-based validation, default values, and hidden password input via prompt.get() and prompt.addProperties().
Use cases
- prompt for user input in a node.js cli script
- ask for username and email on the command line
- validate cli input against a pattern
- hide password input in a terminal prompt
- collect multiple properties with defaults from the user
When to choose
- you need simple, schema-driven interactive prompts in a Node.js CLI
- you want built-in validation, defaults, and hidden password fields
- you prefer a lightweight callback/promise-based prompt API
When to avoid
- you need rich UI elements like lists, checkboxes, or spinners (use inquirer or prompts instead)
- you are not building a Node.js command-line tool
- you need actively developed features or modern async-first design
Facets
library · maturity maintenance
cli developer-tools developer-tools cross-platform command-line-prompt input-validation password-input interactive-cli command-line nodejs
3 sources
- readme: https://github.com/flatiron/prompt · fetched 2026-08-28 · 7ac90f60137d
- homepage: http://github.com/flatiron/prompt · fetched 2026-08-29 · a7cf8f6d7d85
- registry_npm: https://registry.npmjs.org/prompt · fetched 2026-08-29 · 6251573e61d6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| flatiron/prompt | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem