CLI & Terminal Packages
Command-line-interface frameworks and terminal UI/prompt libraries for building polished, scriptable developer tools (Cobra, Clap, Click, Commander).
Packages in CLI & Terminal
tsx
A drop-in replacement for the node CLI that runs TypeScript and ESM files instantly, powered by esbuild.
ts-node
TypeScript execution engine and REPL for Node.js that runs .ts files directly, without a separate compile step.
lint-staged
Run linters and formatters only against the files staged in git, so a slow full-project lint never blocks a commit.
cross-env
Cross-platform CLI for setting environment variables in npm scripts without worrying about Windows vs POSIX syntax.
concurrently
Run multiple terminal commands in parallel, with color-coded output and cross-platform support.
Chalk
The most popular Node.js library for styling terminal string output with ANSI colors.
Commander.js
The complete, battle-tested framework for building Node.js command-line interfaces.
rimraf
Cross-platform recursive file and directory removal for Node.js, modeled on the UNIX `rm -rf` command.
webpack-cli
The official command-line interface for webpack, adding build, watch, serve, and config-validation commands to any project.
Oxlint
Rust-based JavaScript/TypeScript linter that runs 50-100x faster than ESLint, with zero configuration required.
Cobra
The commander library that powers Kubernetes, Hugo, and GitHub CLI's command-line interfaces.
pino-pretty
A CLI and stream that prettifies Pino's ndjson log lines into readable, colorized terminal output for local development.
Clap
The most widely used command-line argument parser for Rust, with both derive and builder APIs.
qrcode
A zero-dependency-on-canvas QR code and 2D barcode generator for Node.js and the browser.
xterm.js
A fast, self-contained TypeScript library for embedding fully-featured terminals in the browser.