JavaScript CLI

Open-source JavaScript projects categorized as CLI Edit details

Top 23 JavaScript CLI Projects

  • zx

    A tool for writing better scripts

    Project mention: whats the advantages and disadvantages and limitations of worker thread in nodejs compared to multithreading in frameworks like spring ? | reddit.com/r/node | 2022-08-01

    I've also done that, as it is the better solution for applications that are meant to be purely single-threaded. It's also easier than dealing with the async version (either promise-based or callback). Or at least it was, before I discovered https://github.com/google/zx.

  • pkg

    Package your Node.js project into an executable

    Project mention: Finally!! A Blockchain For Any Programming Language (Video) | dev.to | 2022-08-18

    PKG NodeJS Compiler By Vercel

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • ava

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

    Project mention: Try refactoring this | reddit.com/r/node | 2022-07-25

    I'm using AVA for testing and that detects the module declaration and works just fine running ESM tests.

  • chalk

    🖍 Terminal string styling done right

    Project mention: Make TikToks with JavaScript 1 | dev.to | 2022-07-11

    Chalk

  • svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: Used an online SVG editor, this code got added to my file. I've already opened the file. How fucked am I? | reddit.com/r/hacking | 2022-08-11
  • webpack-dashboard

    A CLI dashboard for webpack dev server

  • readme-md-generator

    📄 CLI that generates beautiful README.md files

    Project mention: How To Write a README? | reddit.com/r/learnprogramming | 2022-07-12
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • social-analyzer

    API, CLI, and Web App for analyzing and finding a person's profile in 1000 social media \ websites

    Project mention: Some information and advice about DDoS, from someone who was there during #opPayback | reddit.com/r/anonymous | 2022-02-27
  • 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: Ask HN: Is there a tool / product that enables commenting on HTML elements? | news.ycombinator.com | 2022-08-01
  • signale

    Highly configurable logging utility

  • taskbook

    Tasks, boards & notes for the command-line habitat

    Project mention: Looking for a Todo/Checklist terminal application | reddit.com/r/linuxquestions | 2022-08-13
  • prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

    Project mention: Ctrl-C Manifesto | news.ycombinator.com | 2022-08-06

    Would love if prompts fixed this so it was easy to implement in my CLI app: https://github.com/terkelg/prompts/issues/252

  • np

    A better `npm publish`

    Project mention: How to create and publish a react component library (not the storybook way) | dev.to | 2022-06-20

    Hooray! Our package has been published. You can do npm i simple-counter-component to check it out. To manage versioning, you can use a great library called np.

  • enquirer

    Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert

    Project mention: 💡 Generate package.json From GitHub | dev.to | 2022-07-27

    { "name": "@jonschlinkert/omit-deep", "description": "Recursively omit specified keys from an object", "tags": ["object", "deep", "remove", "omit"], "version": "0.3.0", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "repository": "jonschlinkert/omit-deep", "bugs": "https://github.com/jonschlinkert/omit-deep/issues", "license": "MIT" }

  • fkill

    Fabulously kill processes. Cross-platform.

    Project mention: Alternatives to installing npm packages globally | reddit.com/r/javascript | 2022-06-20

    Generally, npm libraries installed globally aren't standard library you'd use in your programs but more like CLI tools or full blown programs. As an example, fkill is the first one that comes to my mind.

  • standard-version

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

    Project mention: Add Commitint, Commitizen, Standard Version, and Husky to SvelteKit Project | dev.to | 2022-04-09

    I tried gitmoji and followed Make everyone in your project write beautiful commit messages using commitlint and commitizen by @sohandutta, but end up using the setting in this article because it's not compatible to changelog generation of standard-version (Ref: Issue #859)

  • plop

    Consistency Made Simple

    Project mention: Is this bad practice in the long run? | reddit.com/r/reactjs | 2022-08-08

    this allows you to import this Header component with import { Header } from 'path/Header' without Header/Header. Creating this structure manually is annoying, so one will benefit from some code generators like plop or hygen.

  • vorpal

    Node's framework for interactive CLIs

    Project mention: google/zx: write shell scripts in JavaScript | reddit.com/r/shell | 2022-01-07

    Got it, so more about the general idea of using Node to interact with a shell. Fair points but I'm not sure that's where zx falls. I'm looking at it in relation to projects like commander, oclif, and vorpal— frameworks for authoring and packaging local-use CLI tools written in JS, typically aimed at people who know JS and work in a terminal but don't know shell scripting. Those have the overhead of learning a framework, and don't do anything to help you work with the shell. zx seems to come from the other direction: instead of an esoteric framework, shell concepts and shell commands in a Node script.

  • Release It! 🚀

    🚀 Automate versioning and package publishing

    Project mention: Monorepo is so frustrating... | reddit.com/r/reactjs | 2022-07-02

    Fine, but I need a package release tool and release-it tools looks good. I install, configure and on the last step - publishing - I find out that this lib does not support monorepo... https://github.com/release-it/release-it/issues/831 and the release-it-yarn-workspaces lib does not support the latest version of release-it https://github.com/rwjblue/release-it-yarn-workspaces/issues/68

  • carbon-now-cli

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

    Project mention: Send help, I have no idea wtf is going on here | reddit.com/r/badcode | 2021-12-13

    Also this

  • npm-run-all

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

    Project mention: How to build a Hacker news clone using Remix, Tailwind css ? | dev.to | 2022-05-10

    Finally with help of the run-s cli command we create a build script that runs the command sequentially. So run-s build:* will first run remix build followed by build:css script.

  • create-react-library

    ⚡CLI for creating reusable react libraries.

    Project mention: How are you bundling a React Component Library? | reddit.com/r/reactjs | 2021-12-12

    At first i thought that this was THE solution but looking deeper at the source code, this tool is a wrapper around a wrapper around a wrapper.... Don't get me wrong, it probably works, but it's currently using a rollup configuration that was created in 2018, the package itself has not seen any updates in 17 months and has 106 open issues. Also the owner says himself that he's not able to work that much on it anymore and suggest to use TSDX which in return hasn't been updated in several months, many open issues and extensive customization is recommended with patch-package which already in itself is a red-flag :(

  • hygen

    The simple, fast, and scalable code generator that lives in your project.

    Project mention: Is this bad practice in the long run? | reddit.com/r/reactjs | 2022-08-08

    this allows you to import this Header component with import { Header } from 'path/Header' without Header/Header. Creating this structure manually is annoying, so one will benefit from some code generators like plop or hygen.

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 2022-08-18.

JavaScript CLI related posts

Index

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

Project Stars
1 zx 33,612
2 pkg 21,739
3 ava 19,929
4 chalk 18,967
5 svgo 18,085
6 webpack-dashboard 13,888
7 readme-md-generator 9,742
8 social-analyzer 9,167
9 SingleFile 8,942
10 signale 8,685
11 taskbook 8,516
12 prompts 7,424
13 np 6,719
14 enquirer 6,663
15 fkill 6,637
16 standard-version 6,603
17 plop 5,632
18 vorpal 5,541
19 Release It! 🚀 5,500
20 carbon-now-cli 5,356
21 npm-run-all 4,924
22 create-react-library 4,713
23 hygen 4,671
Find remote jobs at our new job board 99remotejobs.com. There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org