Top 23 JavaScript CLI Projects
-
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 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!
-
I'm using AVA for testing and that detects the module declaration and works just fine running ESM tests.
-
Chalk
-
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
-
-
-
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 -
-
Project mention: Looking for a Todo/Checklist terminal application | reddit.com/r/linuxquestions | 2022-08-13
-
Would love if prompts fixed this so it was easy to implement in my CLI app: https://github.com/terkelg/prompts/issues/252
-
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
{ "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" }
-
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-09I 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)
-
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.
-
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.
-
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
-
Also this
-
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.
-
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 :(
-
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.
JavaScript CLI related posts
- Finally!! A Blockchain For Any Programming Language (Video)
- Browser extensions - adding Tailwind CSS
- How to serve *any* website from your own domain (for free!)
- Add personalization to static HTML with Netlify Edge Functions — no browser JavaScript required
- Is using Next only for routing too much?
- Nyan Cat or Giga Cat Epic Game
- Packaging/distributing node.js programs?
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 |
Are you hiring? Post a new remote job listing for free.