JavaScript CLI

Open-source JavaScript projects categorized as CLI | Edit details

Top 23 JavaScript CLI Projects

  • GitHub repo ava

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

    Project mention: Some Use-Cases for JS Generator Functions | reddit.com/r/javascript | 2021-09-02

    But this commit broken the unit tests. I use Ava (the only test runner that allows for async tests, so I can write unit tests in my own language) and snapshots for testing the list structure in few unit tests, and somehow the snapshots differ before and after adding iterator to Lists. I still need to investigate why and try to create simple reproduction for this issue on GitHub avajs/ava#2811.

  • GitHub repo pkg

    Package your Node.js project into an executable

    Project mention: Pleasure of Writing Go | news.ycombinator.com | 2021-09-15
  • Syncfusion

    Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.. Syncfusion Essential Studio for JavaScript is a modern UI control library built from the ground up to be lightweight, responsive, modular, and touch-friendly.

  • GitHub repo chalk

    🖍 Terminal string styling done right

    Project mention: How to Build a Command Line Interface (CLI) Application with Node.JS👨‍🎓🤓. | dev.to | 2021-10-13

    chalk:This package lets us print colored messages to the console. It will help us make our CLI application look nice and pretty

  • GitHub repo svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: Create your own React icons library and publish to npm automatically | dev.to | 2021-09-16

    We will use svgo to optimize our SVG icon files since:

  • GitHub repo webpack-dashboard

    A CLI dashboard for webpack dev server

  • GitHub repo fx

    Command-line tool and terminal JSON viewer 🔥

    Project mention: An Introduction to JQ | news.ycombinator.com | 2021-08-24

    https://github.com/antonmedv/fx which uses JavaScript as the query language.

    The author of the tool has also written a guide and a screencast

    - https://medium.com/@antonmedv/discover-how-to-use-fx-effecti...

    - https://youtu.be/ktfeRxKog98

  • GitHub repo signale

    Highly configurable logging utility

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo taskbook

    Tasks, boards & notes for the command-line habitat

  • GitHub repo serve

    Static file serving and directory listing

    Project mention: is there a way to turn a godot project into a website? | reddit.com/r/godot | 2021-09-10

    https://github.com/vercel/serve (nodejs implementation, therefore requires npm or yarn being installed which are package managers for node)

  • GitHub repo prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

  • GitHub repo fkill

    Fabulously kill processes. Cross-platform.

    Project mention: Node.js Packages and Resources | dev.to | 2021-09-06

    fkill - Fabulously kill processes. Cross-platform.

  • GitHub repo np

    A better `npm publish`

    Project mention: Node.js Packages and Resources | dev.to | 2021-09-06

    np - Better npm publish.

  • 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: NPM Audit: Broken by Design | news.ycombinator.com | 2021-07-07
  • GitHub repo standard-version

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

    Project mention: Autodeploy javascript library to npmjs via Github Actions | dev.to | 2021-09-12

    But you can also automate even more, if, for example, you write according to Conventional Commits, you can also automate the creation of tags using the standard-version library.

  • GitHub repo vorpal

    Node's framework for interactive CLIs

    Project mention: Ask a question before a git commit when committing to a certain folder | reddit.com/r/learnjavascript | 2021-08-18

    Assuming the project uses node, and admittedly it's a lil overkill, but you could use vorpal.

  • GitHub repo carbon-now-cli

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

    Project mention: Node.js Packages and Resources | dev.to | 2021-09-06

    carbon-now-cli - Beautiful images of your code — from right inside your terminal.

  • 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 create-react-library

    ⚡CLI for creating reusable react libraries.

    Project mention: Build your own styled-components | dev.to | 2021-08-04

    Using create-react-library to scaffold a React component library.

  • 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 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: Should locally stored webpages adjust for the display size like they do on the "live web"? | reddit.com/r/firefox | 2021-10-17

    I've saved some webpages with Singlefile -- a recommended addon, can be automated, in active development... supposedly high compatibility with websites. The pages I've saved in the past (such as a Wordpress blog recently) have displayed the (mobile and desktop) layouts accordingly, but eurogamer.net shows the full-blown desktop site on Android, and vice versa (the mobile site on desktop).

  • GitHub repo react-blessed

    A react renderer for blessed.

    Project mention: Impressive React-Based Open Source Frameworks and Tools | reddit.com/r/reactjs | 2021-08-04

    react-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 percollate

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

    Project mention: Reading from the web offline and distraction-free | news.ycombinator.com | 2021-10-10

    I do a lot of this work[3] (web to documents) and it's interesting to see other approaches. The medium image problem is something I've faced as well, but never got around to fixing. I'm planning to get a Remarkable soon, so will definitely be trying this out.

    My personal solution has been https://github.com/captn3m0/url-to-epub/ (Node/readability), which I've tested against the entirety of Tor's original fiction collection[0] where it performs well enough (I'm biased). Another tool that does this beautifully well is percollate[1], but it doesn't give enough control of the metadata to the user - something I really care about.

    I've also started to use rdrview[2], which is a C-port of the current Firefox implementation of "reader view". It is very unix-y, so it is easy to pipe content to it (I usually run it through tidy first). Quite helpful in building web-archiving or web-to-pdf or web-to-kindle pipelines easily.

    [0]: https://www.tor.com/category/all-fiction/original-fiction/

    [1]: https://github.com/danburzo/percollate

    [2]: https://github.com/eafer/rdrview

    [3]: https://captnemo.in/ebooks/

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-10-17.

Index

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

Project Stars
1 ava 19,342
2 pkg 18,919
3 chalk 17,204
4 svgo 16,788
5 webpack-dashboard 13,834
6 fx 11,168
7 signale 8,533
8 taskbook 8,221
9 serve 7,228
10 prompts 6,862
11 fkill 6,395
12 np 6,277
13 enquirer 6,204
14 standard-version 5,600
15 vorpal 5,467
16 carbon-now-cli 5,109
17 Release It! 🚀 4,610
18 create-react-library 4,487
19 npm-run-all 4,401
20 SingleFile 4,166
21 react-blessed 4,164
22 flow-typed 3,772
23 percollate 3,463
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.