|12 days ago||20 days ago|
|Apache License 2.0||BSD 3-clause "New" or "Revised" License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
My script to install husky, commitlint and lint-staged with zx
3 projects | dev.to | 18 Nov 2023
If you want test it, you can run this script withzx :
2 projects | news.ycombinator.com | 18 Oct 2023
I really love writing with zx. https://github.com/google/zx
We have some folks who have gone wild copy-pasting random fancy bash snippets into various developer helpers scripts. Zx did like 90% of that stuff out of the box, without being a pile of chaotic custom bash.
Scripting with Go: A Modest Proposal
8 projects | news.ycombinator.com | 20 Aug 2023
I ended up using this for my cli scripting needs. https://github.com/google/zx
Bash e limbajul DIAVOLULUI
5 projects | /r/programare | 16 Jun 2023
Is Node.js a good way to implement a CLI app with persistence?
3 projects | /r/node | 2 Jun 2023
It looks like you want just a script. Check if https://github.com/google/zx is sufficient for your needs.
The Case for Bash (2021)
5 projects | news.ycombinator.com | 18 May 2023
Not an official Google product of course but ...
Lua as a Bash alternative
8 projects | /r/linux | 25 Apr 2023
I’m partial to zx and powershell for scripting. It seems like lua is along the lines of ZX so definitely usable
Have you made a bash script that improved your life in some way? My examples
19 projects | /r/commandline | 23 Mar 2023
Also I would notice that I often use bash scripts but in many cases prefer zx - very handy tool where bash and nodejs complement each other perfectly.
[AskJS] Looking for JS course for experienced developers?
You can write a command line utility using zx or commander.js. Hit a public api, spit stuff out in the console, etc.
Show HN: Clamshell- an experimental Python based shell
5 projects | news.ycombinator.com | 28 Jan 2023
zx 7.0.0 release
Feels like this library is trying to solve a problem solved long ago by shelljs
Guide: Hush Shell-Scripting Language
23 projects | news.ycombinator.com | 25 Apr 2022
The purpose of OP's project kind of reminded me of shell.js (shx)  which is a nodejs library that wraps all kinds of common UNIX commands to their own synchronously executed methods.
I guess that most shell projects start off as wanting to be a cross-platform solution to other operating systems, but somewhere in between either escalate to being their own programming language (like all the powershell revamps) or trying to reinvent the backwards-compatibility approach and/or POSIX standards (e.g. oil shell).
What I miss among all these new shell projects is a common standardization effort like sh/dash/bash/etc did back in the days. Without creating something like POSIX that also works on Windows and MacOS, all these shell efforts remain being only toy projects of developers without the possibility that they could actually replace the native shells of Linux distributions.
Most projects in the node.js area I've seen migrate their build scripts at some point to node.js, because maintaining packages and runtimes on Windows is a major shitshow. node.js has the benefit (compared to other environments) that it's a single .exe that you have to copy somewhere and then you're set to go.
When I compare that with python, for example, it is super hard to integrate. All the anaconda- or python-based bundles for ML engineers are pretty messed up environments on Windows; and nobody actually knows where their site-packages/libraries are really coming from and how to even update them correctly with upstream.
Ask HN: Let's Build CheckStyle for Bash?
15 projects | news.ycombinator.com | 20 Feb 2022
Oh people have tried - here are a few https://stackoverflow.com/questions/10239235/are-there-any-l...
I vaguely remember quite liking bish when I saw it years ago https://github.com/tdenniston/bish but it looks like no commits in 6 years.
This shelljs thing looks more promising, but really tedious to use https://github.com/shelljs/shelljs - shell.rm('-rf', 'out/Release'); I'd rather suffer proper bash than have to do that sort of thing.
Nothing seems to have really caught on so far. Bash is easy to learn and hack on, and before you know it, that simple install.sh that started out moving a few files around is 5000 lines, unmaintainable, and critical to bootstrapping your software :)
Release of google/zx 5.0.0
I personally prefer shelljs for stuff like this. zx seems pretty high on the "insane syntactic sugar" train.
How to build a CLI using NodeJS 💻
10 projects | dev.to | 4 Jan 2022
As we are creating starter files, let's use ShellJS to run commands like git clone, mkdir...
shelljs VS bargs - a user suggested alternative
2 projects | 7 Dec 2021
Scripting Languages of the Future
9 projects | news.ycombinator.com | 7 Nov 2021
I like the idea of the topic, exploring it. But the author feels off in a number of places.
> What TypeScript showed is that you could join together the idea of a flexible lightweight (and optional!) type system onto an existing programming language, and do so successfully. . . .The question then is - what if you created a programming language from the start to have this kind of support?
Personally I just don't think languages matter very much. They're very similar, by & large. They have different tooling, packaging, somewhat different looks/feels for executing code, and their standard libraries are different. But TypeScript is popular & fast at least 90% because it is JS, because it works with JS things. Arguing that we should try to recreate TypeScript apart from JS sounds like a mind blowing waste of time. Also, Deno has good integrated TypeScript support.
One of the main issues I see with easy-parallelism is that it's too easy: there's too many cases for uncontrolled parallelism. Throwing tarn.js or other worker-pools at problems seems all too common. But one is still left stitching together each pool/stage of work. I'd like to see SEDA like architectures emerge, and perhaps get added to something like ZX standard library.
Fixing a bug in an open source project - telescope
2 projects | dev.to | 31 Oct 2021
Having never worked with shelljs, I spent a little bit going through their documentation and found out that exec() accepted 3 arguments for the callback, namely code, stdout and stderr. Gaining that little bit of knowledge, I went back into the file to gain an idea of what was going on.
Can we please share Hero Grids and Filters?
8 projects | /r/DotA2 | 20 Aug 2021
i'm using visual studio code as the code editor and right now the vrf cli (using a shelljs wrapper) to decompile/export game files and assets like hero images or icons.
Running migrations for an Aurora Serverless cluster
5 projects | dev.to | 13 Aug 2021
2.The shelljs library allows us to run shell commands from nodejs. You can read more about it "here"
What are some alternatives?
Inquirer.js - A collection of common interactive command line user interfaces.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
execa - Process execution for humans
chalk - 🖍 Terminal string styling done right
Commander.js - node.js command-line interfaces made easy
sudo-block - Block users from running your app with root permissions
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
ora - Elegant terminal spinner
minimist - parse argument options