Skip to content
JS
Package category

CLI tools and terminal utilities

Build command-line programs: argument parsing, prompts, colours, spinners.

1,738 packages19 comparisons

Packages compared

1,738 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
html-minifier-terser
Highly configurable, well-tested, JavaScript-based HTML minifier.
15.7m+19%-3 years ago
7.2.0
ESM + CommonJSNoneCLI tools and terminal utilities
pidtree
Cross platform children list of a PID
14.6m-0%-3 months ago
1.0.0
ESM onlyBundledNode.js utilities, CLI tools and terminal utilities
color-support
A module which will endeavor to guess your terminal's level of color support.
14.4m+18%-9 years ago
1.1.3
CommonJSNoneCLI tools and terminal utilities
ansi-html-community
An elegant lib that converts the chalked (ANSI) text to HTML. (Community)
13.7m-3%-5 years ago
0.0.8
CommonJSNoneCLI tools and terminal utilities
has-unicode
Try to guess if your terminal supports unicode
13.4m-7%-10 years ago
2.0.1
CommonJSNoneCLI tools and terminal utilities
has-ansi
Check if a string has ANSI escape codes
12.6m-2%-1 year ago
6.0.2
ESM onlyBundledCLI tools and terminal utilities
prisma
The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.
12.2m+160%-today
8.0.0-rc.17
ESM onlyBundledORMs and query builders, CLI tools and terminal utilities
anser
A low level parser for ANSI sequences.
11.3m+181%-9 months ago
2.3.5
CommonJSBundledCLI tools and terminal utilities
nodemon
Simple monitor script for use during development of a Node.js app.
10m+36%-7 months ago
3.1.14
CommonJSBundledNode.js utilities, CLI tools and terminal utilities
@npmcli/node-gyp
Tools for dealing with node-gyp packages
9.6m+41%-4 months ago
6.0.0
CommonJSNoneCLI tools and terminal utilities
webpack-cli
CLI for webpack & friends
8.4m+8%-28 days ago
7.2.3
CommonJSBundledBundlers, CLI tools and terminal utilities
chalk-template
Terminal string styling with tagged template literals
8m+97%-1 year ago
1.1.2
ESM onlyBundledCLI tools and terminal utilities, Templating
cli-progress
easy to use progress-bar for command-line/terminal applications
8m+75%-3 years ago
3.12.0
CommonJSNoneCLI tools and terminal utilities
yocto-spinner
Tiny terminal spinner
8m+994%-2 months ago
1.2.2
ESM onlyBundledCLI tools and terminal utilities
@oclif/core
base library for oclif CLIs
7.9m+131%-today
5.1.0
CommonJSBundledCLI tools and terminal utilities
update-notifier
Update notifications for your CLI app
7.8m+15%-2 years ago
7.3.1
ESM onlyNoneCLI tools and terminal utilities
wait-on
wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
7.5m+55%-2 months ago
9.1.0
CommonJSNoneCLI tools and terminal utilities
dargs
Reverse minimist. Convert an object of options into an array of command-line arguments.
7.4m+4%-5 years ago
8.1.0
ESM onlyNoneCLI tools and terminal utilities
@commitlint/cli
Lint your commit messages
7.3m+78%-5 days ago
21.2.3
ESM + CommonJSNoneCLI tools and terminal utilities
yargs-unparser
Converts back a yargs argv object to its original array form
7.2m+2%-5 years ago
2.0.0
CommonJSNoneCLI tools and terminal utilities
nx
The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.
7.1m+42%-15 days ago
23.2.1
CommonJSBundledTesting, React
sade
Smooth (CLI) operator 🎶
6.9m+76%-4 years ago
1.8.1
ESM + CommonJSBundledCLI tools and terminal utilities
cli-highlight
Syntax highlighting in your terminal
6.7m+98%-5 years ago
2.1.11
CommonJSBundledCLI tools and terminal utilities
@expo/xcpretty
Parse and format xcodebuild logs
6.3m+337%-17 days ago
4.4.5
CommonJSBundledLinting and formatting, Logging
@angular-devkit/architect
Angular Build Facade
6.2m+17%-1 day ago
0.2202.0
CommonJSBundledAngular, CLI tools and terminal utilities
command-line-args
A mature, feature-complete library to parse command-line options.
5.7m+107%-6 months ago
6.0.2
ESM + CommonJSNoneCLI tools and terminal utilities
is-in-ci
Check if the process is running in a Continuous Integration (CI) environment
5.7m+212%-1 year ago
2.0.0
ESM onlyBundledCLI tools and terminal utilities
@angular-devkit/schematics-cli
Angular Schematics - CLI
5.6m+124%-1 day ago
22.2.0
-NoneAngular, CLI tools and terminal utilities
columnify
Render data in text columns. Supports in-column text-wrap.
5.5m+48%-4 years ago
1.6.0
CommonJSNoneCLI tools and terminal utilities
table-layout
Stylable text tables, handling ansi colour. Useful for console output.
5.4m+93%-2 years ago
4.1.1
ESM + CommonJSNoneTables and data grids, CLI tools and terminal utilities
@npmcli/map-workspaces
Retrieves a name:pathname Map for a given workspaces config
5.4m+53%-4 months ago
6.0.0
CommonJSNoneCLI tools and terminal utilities
command-line-usage
Generates command-line usage information
5.4m+97%-6 months ago
7.0.4
ESM + CommonJSNoneCLI tools and terminal utilities
marked-terminal
A custom render for marked to output to the Terminal
5.4m+71%-1 year ago
7.3.0
ESM + CommonJSNoneCLI tools and terminal utilities, Markdown
@earendil-works/pi-tui
Terminal User Interface library with differential rendering for efficient text-based applications
5.3m--2 days ago
0.87.1
ESM onlyBundledCLI tools and terminal utilities
http-server
A simple zero-configuration command-line http server
5.2m+59%-4 years ago
14.1.1
CommonJSNoneCLI tools and terminal utilities
@schematics/angular
Schematics specific to Angular
5.1m+17%-1 day ago
22.2.0
CommonJSNoneAngular, CLI tools and terminal utilities
ncp
Asynchronous recursive file copy utility.
5.1m+40%-11 years ago
2.0.0
CommonJSNoneCLI tools and terminal utilities
skills
The open agent skills ecosystem
5m+169069007%-7 days ago
1.7.0
ESM onlyNoneCLI tools and terminal utilities
shellwords
Manipulate strings according to the word parsing rules of the UNIX Bourne shell.
4.9m-4%-1 year ago
1.1.1
ESM + CommonJSBundledCLI tools and terminal utilities
ansicolors
Functions that surround a string with ansicolor codes so it prints in color.
4.9m+41%-12 years ago
0.3.2
CommonJSNoneCLI tools and terminal utilities
cardinal
Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.
4.6m+42%-8 years ago
2.1.1
CommonJSNoneCLI tools and terminal utilities
command-exists
check whether a command line command exists in the current environment
4.4m+36%-6 years ago
1.2.9
CommonJSNoneCLI tools and terminal utilities
@angular/cli
CLI tool for Angular
4.4m+14%-1 day ago
22.2.0
CommonJSBundledCLI tools and terminal utilities, Angular
agent-cli-detector
Detect whether a JavaScript CLI is running inside a coding agent.
4.3m--1 month ago
0.1.7
ESM + CommonJSBundledCLI tools and terminal utilities
direction
Detect the direction of text: left-to-right, right-to-left, or neutral
4.2m+104%-4 years ago
2.0.1
ESM onlyBundledCLI tools and terminal utilities
please-upgrade-node
Displays a beginner-friendly message telling your user to upgrade their version of Node
4.1m-7%-7 years ago
3.2.0
CommonJSNoneNode.js utilities, CLI tools and terminal utilities
window-size
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
4.1m-2%-8 years ago
1.1.1
CommonJSNoneCLI tools and terminal utilities
exec-sh
Execute shell command forwarding all stdio.
4m-25%-5 years ago
0.4.0
CommonJSBundledCLI tools and terminal utilities, Node.js utilities
@swc/cli
CLI for the swc project
3.8m+92%-5 months ago
0.8.1
CommonJSNoneBuild tools, CLI tools and terminal utilities
easy-table
Nice text table for the CLI
3.7m+50%-4 years ago
1.2.0
CommonJSBundledCLI tools and terminal utilities

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • html-minifier-terserHighly configurable, well-tested, JavaScript-based HTML minifier.
  • pidtreeCross platform children list of a PID
  • color-supportA module which will endeavor to guess your terminal's level of color support.
  • ansi-html-communityAn elegant lib that converts the chalked (ANSI) text to HTML. (Community)
  • has-unicodeTry to guess if your terminal supports unicode
  • has-ansiCheck if a string has ANSI escape codes
  • prismaThe Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.
  • anserA low level parser for ANSI sequences.
  • nodemonSimple monitor script for use during development of a Node.js app.
  • @npmcli/node-gypTools for dealing with node-gyp packages
  • webpack-cliCLI for webpack & friends
  • chalk-templateTerminal string styling with tagged template literals
  • cli-progresseasy to use progress-bar for command-line/terminal applications
  • yocto-spinnerTiny terminal spinner
  • @oclif/corebase library for oclif CLIs
  • update-notifierUpdate notifications for your CLI app
  • wait-onwait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
  • dargsReverse minimist. Convert an object of options into an array of command-line arguments.
  • @commitlint/cliLint your commit messages
  • yargs-unparserConverts back a yargs argv object to its original array form
  • nxThe core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.
  • sadeSmooth (CLI) operator 🎶
  • cli-highlightSyntax highlighting in your terminal
  • @expo/xcprettyParse and format xcodebuild logs
  • @angular-devkit/architectAngular Build Facade
  • command-line-argsA mature, feature-complete library to parse command-line options.
  • is-in-ciCheck if the process is running in a Continuous Integration (CI) environment
  • @angular-devkit/schematics-cliAngular Schematics - CLI
  • columnifyRender data in text columns. Supports in-column text-wrap.
  • table-layoutStylable text tables, handling ansi colour. Useful for console output.
  • @npmcli/map-workspacesRetrieves a name:pathname Map for a given workspaces config
  • command-line-usageGenerates command-line usage information
  • marked-terminalA custom render for marked to output to the Terminal
  • @earendil-works/pi-tuiTerminal User Interface library with differential rendering for efficient text-based applications
  • http-serverA simple zero-configuration command-line http server
  • @schematics/angularSchematics specific to Angular
  • ncpAsynchronous recursive file copy utility.
  • skillsThe open agent skills ecosystem
  • shellwordsManipulate strings according to the word parsing rules of the UNIX Bourne shell.
  • ansicolorsFunctions that surround a string with ansicolor codes so it prints in color.
  • cardinalSyntax highlights JavaScript code with ANSI colors to be printed to the terminal.
  • command-existscheck whether a command line command exists in the current environment
  • @angular/cliCLI tool for Angular
  • agent-cli-detectorDetect whether a JavaScript CLI is running inside a coding agent.
  • directionDetect the direction of text: left-to-right, right-to-left, or neutral
  • please-upgrade-nodeDisplays a beginner-friendly message telling your user to upgrade their version of Node
  • window-sizeReliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
  • exec-shExecute shell command forwarding all stdio.
  • @swc/cliCLI for the swc project
  • easy-tableNice text table for the CLI