JavaScript Command-line

Open-source JavaScript projects categorized as Command-line

Top 23 JavaScript Command-line Projects

  • PM2

    Node.js Production Process Manager with a built-in Load Balancer.

    Project mention: Building a Pseudo Multi-Tenant App in Strapi: Step-by-Step | dev.to | 2023-02-22

    For more documentation on pm2, you can read from here

  • Inquirer.js

    A collection of common interactive command line user interfaces.

    Project mention: I'm looking for a cli tool that can create list prompts to ask questions and act on the responses | reddit.com/r/programmingtools | 2023-03-18

    I guess you are looking for inquirer.js or its python port python-inquirer

  • 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!

  • cz-cli

    The commitizen command line utility. #BlackLivesMatter

    Project mention: Does it make sense to write commit messages that include notes to yourself on how the project is going? | reddit.com/r/learnprogramming | 2023-02-10

    I use Commitizen to enforce a strict commit message. It's not required - but it makes my life easier. It adheres to a standard - but it's certainly not "the" standard.

  • spicetify-cli

    Command-line tool to customize Spotify client. Supports Windows, MacOS, and Linux.

    Project mention: I came across an easter egg in Spicetify that changes the seek bar to star wars swords | reddit.com/r/spicetify | 2023-03-27

    The Spicetify theme is Dribbblish (Beach-Sunset). I looked through the GitHub repo and funnily enough, the only mention of Star Wars that I could find is a commit that was supposed to disable the easter egg...

  • terminalizer

    🦄 Record your terminal and generate animated gif images or share a web player

    Project mention: gh-contribs - github contribution graph in your Terminal | reddit.com/r/commandline | 2023-02-15

    github.com/faressoft/terminalizer/issues/96

  • http-server

    a simple zero-configuration command-line http server

    Project mention: Opened my angular project after a week to find it like that? (All the stuff i built doesn't appear anymore). Any Idea why ? (Note: in the extensions the "Angular Language Service" seems to have had an update). Opening from Chrome shows the html but not the rest of the code. | reddit.com/r/angular | 2023-03-01

    You can use https://www.npmjs.com/package/http-server but you need to build your app before with ng build then serve the generated bundle (be careful to environment file replacement in angular.json)

  • gtop

    System monitoring dashboard for terminal

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

    Project mention: Prompt - User-friendly interactive prompts for Go. | reddit.com/r/golang | 2023-02-10

    Recently, I developed a go package that allows users to pass parameters through input or selection in tui. Similar to create-vue. You can see some screenshots in the README. Based on Bubble Tea. Inspired by Prompts.

  • 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: For achieving the widest adoption among Windows users, which commonly used scripting language would be best suited for a CLI program?% | reddit.com/r/AskProgramming | 2023-03-10

    Although I'm happy there is a way to bundle Node.js apps with support for pnpm, and for a modern-ish version of Node.js, it's somewhat slow in my experience to build locally. Interactivity doesn't have the greatest ecosystem there, especially with TypeScript. Best library I've found is Enquirer.

  • carbon-now-cli

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

    Project mention: I need some help getting to the colors of Neovim | reddit.com/r/neovim | 2022-08-25

    I'm aware that carbon has a nice CLI that could be used for this. I'd like to avoid this option because: (1) privacy concerns: sending the user's content remotely, (2) performance: running locally has to be faster than making API calls, plus it works offline. I'm also aware that you can run Carbon locally, which takes care of the privacy concerns and the performance to some extent, but it's just a local website now, and running a whole browser instance just for that... yikes!

  • editly

    Slick, declarative command line video editing & API

    Project mention: Create a video from images | reddit.com/r/nodered | 2023-02-08

    Maybe this tool helps: https://github.com/mifi/editly

  • meow

    🐈 CLI app helper

    Project mention: How To Build a CLI With Node.js and React | dev.to | 2022-11-05

    You will notice that it is using meow to read the command and flags. Afterward, it passes the flags to the ui component and renders it. meow is a helper library to parse arguments. The text passed to meow() is the help text shown when you call create-micro-service --help.

  • jquery.terminal

    jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands

    Project mention: May I see some of your projects? :) | reddit.com/r/Frontend | 2023-01-17

    Few of my Open Source projects: * jQuery terminal * LIPS Scheme * Gaiman * Sysend * Wayne

  • nodejs-cli-apps-best-practices

    The largest Node.js CLI Apps best practices list ✨

    Project mention: Is it possible to use node outside web devlopment/ creating servers? | reddit.com/r/node | 2022-10-23

    Indeed! I'm co-maintaining blessed-contrib and https://github.com/lirantal/nodejs-cli-apps-best-practices :-)

  • fast-xml-parser

    Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.

    Project mention: XML: read and write with Node.js | dev.to | 2022-12-10

    After experimenting with a few different XML parsers I settled on fast-xml-parser. It's fast, it's simple and it's well maintained. It also handles XML namespaces and attributes well. (This appears to be rare in XML parsers.)

  • sade

    Smooth (CLI) Operator 🎶

  • Node.CLI-Progress

    :hourglass: easy to use progress-bar for command-line/terminal applications

  • liftoff

    Launch your command line tool with ease. (by gulpjs)

  • jwt-cracker

    Simple HS256 JWT token brute force cracker

  • cz-conventional-changelog

    A commitizen adapter for the angular preset of https://github.com/conventional-changelog/conventional-changelog

    Project mention: Releases the Easy Way | dev.to | 2022-05-02

    Install Commitizen globally by running npm install -g commitizen. Then, you’ll need to initialize your project with a Commitizen adapter. Go to your repository in your terminal and run commitizen init cz-conventional-changelog –save-dev –save-exact. This will install the cz-conventional-changelog package as a dev dependency and update your package.json file.

  • yoctocolors

    The smallest and fastest command-line coloring package on the internet

    Project mention: yoctocolors — Tiny and fast terminal colors | reddit.com/r/node | 2022-07-01
  • nve

    Run any command on specific Node.js versions

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

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 2023-03-27.

JavaScript Command-line related posts

Index

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

Project Stars
1 PM2 38,797
2 Inquirer.js 17,634
3 cz-cli 14,968
4 spicetify-cli 13,866
5 terminalizer 13,843
6 http-server 12,548
7 gtop 9,304
8 prompts 7,838
9 enquirer 6,943
10 carbon-now-cli 5,472
11 editly 3,991
12 meow 3,189
13 jquery.terminal 2,857
14 nodejs-cli-apps-best-practices 2,516
15 fast-xml-parser 1,859
16 sade 988
17 Node.CLI-Progress 844
18 liftoff 827
19 jwt-cracker 703
20 cz-conventional-changelog 680
21 yoctocolors 651
22 nve 611
23 terminal-link 560
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com