Some common used 3rd party packages for node cli app

Some 3rd party packages:

  • inquirer : A collection of common interactive command line user interfaces.
  • ora: Elegant terminal spinner.
  • chalk:Terminal string styling done right.
  • find-up: Find a file or directory by walking up parent directories.
  • semver:  The semantic versioner for npm.
  • ssri:  `ssri` short for Standard Subresource Integrity, is a Node.js utility for parsing, manipulating, serializing, generating, and verifying Subresource Integrity hashes.

Some other packages recommended:

  • colors: It help to set color and style in your node.js console.
  • kleur: The fastest Node.js library for formatting terminal text with ANSI colors~!
  • ink: React for CLIs. Build and test your CLI output using components.
  • figlet: This project aims to fully implement the FIGfont spec in JavaScript. It works in the browser and with Node.js.
  • debug: A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers.
  • prompts: Lightweight, beautiful and user-friendly interactive prompts.
  • commander: The complete solution for node.js command-line interfaces, inspired by Ruby's commander.
  • yargs: Yargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface. 
  • arg: is yet another command line option parser.
  • meow: CLI app helper, a lot of features to help on CLI app.
  • ansi-escapesANSI escape codes for manipulating the terminal.
  • cli-truncate: Truncate a string to a specific width in the terminal
  • clui: This is a Node.js toolkit for quickly building nice looking command line interfaces which can respond to changing terminal sizes.
posted @   FlyDragon  阅读(199)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· SQL Server 2025 AI相关能力初探
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示