The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 JavaScript Command-line Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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
-
jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
-
fast-xml-parser
Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
-
promptr
Promptr is a CLI tool that lets you use plain English to instruct GPT3 or GPT4 to make changes to your codebase.
-
cz-conventional-changelog
A commitizen adapter for the angular preset of https://github.com/conventional-changelog/conventional-changelog
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Start by registering the app using the official guide.
Inquirer.js is a handy tool for adding interactive prompts to your CLI.
There's spicetify, which you can use to remove podcasts from and customize the UI of the desktop client:
https://github.com/spicetify/spicetify-cli
Adopt a convention like commitizen: https://github.com/commitizen/cz-cli
'typeofchange(scopeofchange): reason for change'
It sort helps force devs to type out more meaningful commit messages.
Project mention: Need help setting up a remote depository using GitHub and VCS | /r/webdev | 2023-05-03Do you run a Webserver during development, even if it is a simple dev-server like https://www.npmjs.com/package/http-server ?
Project mention: Prompts – Lightweight, beautiful and user-friendly interactive prompts | /r/hypeurls | 2023-11-09
Project mention: FFmpeg Lands CLI Multi-Threading as Its "Most Complex Refactoring" in Decades | news.ycombinator.com | 2023-12-12Sounds like you already have a process for most of this, but I found https://github.com/mifi/editly to be incredibly helpful to run ffmpeg and make my little time lapse video. Could be useful for others
As you can see, cli.tsx also looks pretty similar to React's root file, but, it has something more to offer using meow library. meow is a popular library that helps you build nice CLI applications gives you access to create usage docs and handles args and flags.
This article is inspired by this awesome GitHub repository created by @lirantal, please go ahead and have a look it's worth.
Project mention: Ask HN: What are some actual use cases of AI Agents? | news.ycombinator.com | 2024-02-14I taught https://github.com/KillianLucas/open-interpreter how to use https://github.com/ferrislucas/promptr
Then I asked it to add a test suite to a rails side project. It created missing factories, corrected a broken test database configuration, and wrote tests for the classes and controllers that I asked it to.
I didn't have to get involved with mundane details. I did have to intervene here and there, but not much. The tests aren't the best in the world, but IMO they're adding value by at least covering the happy path. They're not as good as an experienced person would write.
I did spend a non-trivial amount of time fiddling with the prompts I used to teach OI about Promptr as well as the prompts I used to get it to successfully create the test suite.
The total cost was around $11 using GPT4 turbo.
I think in this case it was a fun experiment. I think in the future, this type of tooling will be ubiquitous.
JavaScript Command-line related posts
- h5ai – modern HTTP web server index
- Show HN: Geojson-shave, a tool for reducing the size of GeoJSON files
- Scripts should be written using the project main language
- Mastering Node.js CLI: Best Practices and Tips
- Node.js CLI Apps Best Practices
- Interactive Node JS command line
- Prompts – Lightweight, beautiful and user-friendly interactive prompts
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Command-line projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | PM2 | 40,697 |
2 | Inquirer.js | 19,370 |
3 | spicetify-cli | 16,622 |
4 | cz-cli | 16,381 |
5 | terminalizer | 14,953 |
6 | http-server | 13,313 |
7 | gtop | 9,631 |
8 | prompts | 8,630 |
9 | enquirer | 7,498 |
10 | editly | 4,550 |
11 | meow | 3,493 |
12 | nodejs-cli-apps-best-practices | 3,257 |
13 | jquery.terminal | 3,035 |
14 | fast-xml-parser | 2,358 |
15 | Node.CLI-Progress | 1,036 |
16 | sade | 1,030 |
17 | jwt-cracker | 943 |
18 | promptr | 877 |
19 | liftoff | 837 |
20 | cz-conventional-changelog | 747 |
21 | nve | 690 |
22 | yoctocolors | 687 |
23 | terminal-link | 602 |
Sponsored