JavaScript CLI

Open-source JavaScript projects categorized as CLI

Top 23 JavaScript CLI Projects

  • GitHub repo ava

    Node.js test runner that lets you develop with confidence 🚀

    Project mention: Deno v1.10 Released | news.ycombinator.com | 2021-05-12

    I know a fella working on a Deno port of Ava (https://github.com/avajs/ava). When that and Koa are ported or compatible, I'll be giving Deno a legitimate go.

  • GitHub repo pkg

    Package your Node.js project into an executable

    Project mention: node-js app / make executable win10? | reddit.com/r/node | 2021-06-08
  • GitHub repo chalk

    🖍 Terminal string styling done right

    Project mention: Building a Command Line tool with Node.js and Fauna | dev.to | 2021-06-17

    We’ll also need to add a package for coloring our texts, chalk is an npm package that helps us add color to print on the terminal. To add chalk, let’s use the code block below

  • GitHub repo svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: The smallest SVG possible | dev.to | 2021-04-15

    At this point, I'd urge you to go one step further and optimise with SVGO or manually with SVGOMG — being sure not to melt the shape with precision settings.

  • GitHub repo webpack-dashboard

    A CLI dashboard for webpack dev server

  • GitHub repo fx

    Command-line tool and terminal JSON viewer 🔥

    Project mention: I love jq, I hate jq. Help a competent grepper get a grasp on the terse language! | reddit.com/r/commandline | 2021-06-23

    Depending on how confident you are with javascript, you might want to take a look at https://github.com/antonmedv/fx

  • GitHub repo signale

    Highly configurable logging utility

  • GitHub repo taskbook

    Tasks, boards & notes for the command-line habitat

  • GitHub repo serve

    Static file serving and directory listing (by vercel)

    Project mention: Easiest way to test HTML5 exports on Windows 10? | reddit.com/r/godot | 2021-04-20

    https://github.com/vercel/serve (that one should run on every system since it's implemented in NodeJS)

  • GitHub repo prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

  • GitHub repo fkill

    Fabulously kill processes. Cross-platform.

  • GitHub repo np

    A better `npm publish`

    Project mention: How Did I build My First React Package | dev.to | 2021-06-13

    np This package makes your life easier when dealing with publishing and releasing your component to NPM.

  • GitHub repo enquirer

    Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, Generate, lint-staged, pm2, gluegun, hygen, GitHub Actions Toolkit, @airbnb/nimbus, and many others!

    Project mention: Git Graft: A NPX Tool & Git Hook in TypeScript & Node | dev.to | 2021-06-03

    Enquirer

  • GitHub repo vorpal

    Node's framework for interactive CLIs

    Project mention: Use command from terminal? | reddit.com/r/node | 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

  • GitHub repo standard-version

    :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org

    Project mention: Awesome Dev Tools To Automate Code Tasks 🔥 | dev.to | 2021-04-19

    Standard Version

  • GitHub repo carbon-now-cli

    🎨 Beautiful images of your code — from right inside your terminal.

    Project mention: Ownership Concept Diagram | reddit.com/r/rust | 2021-03-30

    You can use https://carbon.now.sh/ for this!Find the CLI here: https://github.com/mixn/carbon-now-cliAlternative: Silicon (Rust): https://github.com/Aloxaf/silicon

  • GitHub repo create-react-library

    ⚡CLI for creating reusable react libraries.

    Project mention: How Did I build My First React Package | dev.to | 2021-06-13

    create-react-library

  • GitHub repo Release It! 🚀

    🚀 Automate versioning and package publishing

    Project mention: DynamoDB GUI with Electron, React & Typescript | dev.to | 2021-04-11

    Release It - To create tags, bump the versions, manage release betas and detect merged changes.

  • GitHub repo npm-run-all

    A CLI tool to run multiple npm-scripts in parallel or sequential.

    Project mention: Prettier and ESLint Automation Cheat Sheet | dev.to | 2021-06-17

    We can run all these scripts in parallel by using npm-run-all

  • GitHub repo react-blessed

    A react renderer for blessed.

  • GitHub repo flow-typed

    A central repository for Flow library definitions

    Project mention: Is Flow moving away from (or toward) broader community relevance? | reddit.com/r/JSdev | 2021-05-26

    As for configurability of whether casts should error, in my experience with flow it's paradoxically riskier to rely on a type nag when refactoring an unknown "offending" type casts. I've ran into cases where upgrading flow raised a cast issue, it got "fixed" it in a way that made the type system happy, but inadvertently broke tests because falsy values are tricky like that. Here's an example where a type nag showed up for someone refactoring, they did what they thought was reasonable to silence it, and proceeded to accidentally break the entire tool (slipping through tests and code review, to boot). This happened in the flow-typed tool of all places.

  • GitHub repo SingleFile

    Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file

    Project mention: Hoarding newbie here. Want to backup part of a website for online viewing - what is the best way to go about this? Any suggestions are appreciated :) | reddit.com/r/DataHoarder | 2021-05-31
  • GitHub repo percollate

    A command-line tool to turn web pages into beautiful, readable PDF, EPUB, or HTML docs.

    Project mention: POC: convert pages to readable article PDFs from anywhere | reddit.com/r/RemarkableTablet | 2021-01-04

    Nice! I made something similar based on the great https://github.com/danburzo/percollate. I've been meaning to open source it, so people can self host it (runs on Heroku and similar).

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). The latest post mention was on 2021-06-23.

Index

What are some of the best open-source CLI projects in JavaScript? This list will help you:

Project Stars
1 ava 19,087
2 pkg 18,340
3 chalk 16,596
4 svgo 16,283
5 webpack-dashboard 13,791
6 fx 10,823
7 signale 8,461
8 taskbook 8,120
9 serve 6,944
10 prompts 6,635
11 fkill 6,340
12 np 6,115
13 enquirer 6,020
14 vorpal 5,425
15 standard-version 5,153
16 carbon-now-cli 4,951
17 create-react-library 4,303
18 Release It! 🚀 4,231
19 npm-run-all 4,209
20 react-blessed 4,107
21 flow-typed 3,760
22 SingleFile 3,370
23 percollate 3,302