JavaScript Command-line utilities

Open-source JavaScript projects categorized as Command-line utilities

Top 23 JavaScript Command-line utility Projects

  • commander.js

    node.js command-line interfaces made easy

    Latest mention: Build an Air Quality Reporting Service With Messages API | | 2020-12-03

    It is useful to parse messages meant explicitly for the service and take different actions for different commands. The Commander.js library, initially built for command-line applications, can be used to parse the inbound message for the commands and arguments.

  • chalk

    🖍 Terminal string styling done right

    Latest mention: How to make automated backups of your Ghost blog with node.js | | 2021-01-02

    chalk for colorized console output

  • Inquirer.js

    A collection of common interactive command line user interfaces.

    Latest mention: Interact - a collection of super interactive command-line components | | 2020-12-24

    Frenco here. I just released this library I've been working on this week. Interact is a library similar to inquirer.js if you're coming from NodeJS background and dialouger if you're coming from Rust. It exposes many interactive and customizable components to be used in command-line user interfaces. It is something I wish I could find as a Dart library, and because I couldn't I have built this myself.

  • shelljs

    :shell: Portable Unix shell commands for Node.js

  • blessed

    A high-level terminal interface library for node.js.

  • yargs

    yargs the modern, pirate-themed successor to optimist.

    Latest mention: Create a Todo CLI App with Node JS. | | 2020-11-23

    We would make use of the yargs package -

  • ora

    Elegant terminal spinner

  • vorpal

    Node's framework for interactive CLIs

    Latest mention: Use command from terminal? | | 2020-12-27

    Are you wanting to run your nodejs app, and then control it within the same terminal it is running in? If so, take a look at vorpal

  • node-config

    Node.js Application Configuration

    Latest mention: Today's new PogChamp | | 2021-01-09

    You can use node-config to do exactly what you're doing with your config folder.

  • minimist

    parse argument options

  • listr

    Terminal task list

  • node-progress

    Flexible ascii progress bar for nodejs

  • meow

    🐈 CLI app helper

  • cli-table

    Pretty unicode tables for the CLI with Node.JS

  • update-notifier

    Update notifications for your CLI app

  • node-draftlog

    📜 Create updatable log lines into the terminal, and give life to your logs!

  • node-drawille

    Drawing in terminal with unicode braille characters

  • log-update

    Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.

  • boxen

    Create boxes in the terminal

  • terminal-image

    Display images in the terminal

  • js-liftoff

    Launch your command line tool with ease.

  • cfonts

    Sexy fonts for the console

  • configstore

    Easily load and persist config without having to think about where and how

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).