RepositoryJavaScript
EN

enquirer/enquirer

Stylish, intuitive and user-friendly prompts. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and more! Please follow Enquirer's author: https://github.com/jonschlinkert

8.0kstars
294forks
169issues
3views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: yeoman

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: confirm

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: readline

#1 Repository Của Tháng

🎯 Enquirer: Thư viện prompt CLI mạnh mẽ, nhẹ và đẹp cho Node.js

Prompt không chỉ là câu hỏi — mà là cách người dùng trải nghiệm dòng lệnh của bạn.

Enquirer là thư viện JavaScript dùng để tạo các prompt tương tác trong terminal — nhanh, dễ dùng và rất linh hoạt. Được tạo bởi jonschlinkert và doowb, nó đang được hàng trăm dự án lớn như ESLint, Webpack, Yarn, PM2, pnpm, RedwoodJS, Cypress, Google Lighthouse, AWS Amplify, GitHub Actions Toolkit... tin dùng.

✨ Điểm nổi bật

  • Nhanh: Tải trong ~4ms, nhanh hơn cả một khung hình phim HD ở 60fps.
  • Nhẹ: Chỉ có một phụ thuộc duy nhất là ansi-colors.
  • Dễ tích hợp: Hỗ trợ Promise và async/await, kèm giá trị mặc định hợp lý.
  • Dễ sử dụng: Điều hướng input và lựa chọn trơn tru, hỗ trợ tạo quiz hoặc ghi lại phím bấm.
  • Trực quan: Các tổ hợp phím giúp người dùng thao tác nhanh chóng.
  • Linh hoạt: Dùng từng prompt độc lập hoặc kết hợp nhiều prompt.
  • Đẹp mắt: Tùy chỉnh style ngữ nghĩa và biểu tượng cho từng phần prompt.
  • Mở rộng: Tạo prompt tùy chỉnh bằng cách kế thừa prompt có sẵn.
  • Cắm thêm plugin: Dễ dàng mở rộng tính năng thông qua plugin.
  • Kiểm tra đầu vào: Hỗ trợ xác thực người dùng tùy chọn.
  • Được kiểm thử tốt: Test dễ viết, không cần giả lập trùng tượng.

💡 Vì sao đáng chú ý

Không chỉ là công cụ giao tiếp CLI, Enquirer mang trải nghiệm “đối thoại” tự nhiên vào dòng lệnh — giúp người dùng cảm thấy dần dần chứ không bị thăm hỏi. Với tốc độ siêu nhanh và kích thước nhỏ gọn, nó phù hợp từ dự án nhỏ lẻ đến ứng dụng doanh nghiệp lớn. Đặc biệt, khả năng tùy biến hoàn toàn giúp bạn kiểm soát từng chi tiết giao diện prompt.


#JavaScript #CLI #NodeJS #Prompt #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryShell
ohmyzsh/ohmyzsh

🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.

190.7k
Nov 16, 2026
RepositoryRust
sharkdp/bat

A cat(1) clone with wings.

61.4k
Nov 21, 2026
RepositoryRust
sharkdp/fd

A simple, fast and user-friendly alternative to 'find'

45.1k
Nov 14, 2026
RepositoryPython
chubin/cheat.sh

the only cheat sheet you need

41.9k
Sep 22, 2026
RepositoryRust
sharkdp/hyperfine

A command-line benchmarking tool

29.3k
Nov 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

473.8k
Nov 22, 2026
RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

211.6k
Nov 21, 2026
RepositoryPython
nextlevelbuilder/ui-ux-pro-max-skill

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

152.8k
Nov 22, 2026
RepositoryJavaScript
sweetalert2/sweetalert2

✨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦🇪🇺

18.1k
Nov 16, 2026