{"library":"cli-styles","type":"library","category":null,"description":"cli-styles is a lightweight utility library designed to standardize the visual appearance of command-line interface (CLI) applications, particularly in relation to user prompts. Instead of being a prompt solution itself, it provides a consistent set of styles for user input (e.g., default, password, invisible), status indicators (question, success, error marks), and prompt delimiters (e.g., '›'). This enables different prompt libraries to adopt a uniform look and feel. The package is currently at version 1.0.0, released in February 2020, and does not appear to be under active development, maintaining a stable API. It is frequently used in conjunction with `prompt-skeleton` and a suite of dedicated prompt libraries like `text-prompt` and `select-prompt` to ensure visual coherence across an application's CLI interactions. Its primary differentiator is its focus on providing reusable styling primitives rather than a full-fledged prompt system.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","cli","terminal","prompt","style","consistent"],"last_verified":"Wed May 27","install":[{"cmd":"npm install cli-styles","imports":["import cliStyles from 'cli-styles'","const cliStyles = require('cli-styles')","cliStyles.input.default('Your input')"]},{"cmd":"yarn add cli-styles","imports":[]},{"cmd":"pnpm add cli-styles","imports":[]}],"homepage":null,"github":"https://github.com/derhuerst/cli-styles","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/cli-styles","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/cli-styles/compatibility"}}