Google ZX – A tool for writing better scripts

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zx

    A tool for writing better scripts

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • execa

    Process execution for humans

    I’m partial to Sindre Sorhus’ execa, this document outlines the differences:

    https://github.com/sindresorhus/execa/blob/main/docs/scripts...

  • dotnet-script

    Run C# scripts from the .NET CLI.

    Especially because these languages are only one package/install away and not two. I don‘t really get for which audience is targeted here. Usage in JS projects maybe, but then why not write it as npm tasks. ..

    I‘m playing around with dotnet-scripts [1] at the moment (C# shop mainly) and this has the same issue imho. The reason why I looked into it was because we have developers not accustomed to bash etc. I still find it silly and would rather use ruby so…

    [1] https://github.com/dotnet-script/dotnet-script

  • penny

    Here's an example: https://gitlab.com/vincenttunru/penny/-/blob/main/scripts/bu...

    That used to be a shell script. But this I can way more easily read (even after not touching it for a long time), I get autocompletion, and I can use the APIs I'm already familiar with. It's a pretty neat QoL improvement for me specifically.

  • rubygems

    Library packaging and distribution for Ruby.

    source 'https://rubygems.org'

  • zxpy

    Shell scripts made simple 🐚

  • xonsh

    :shell: Python-powered shell. Full-featured and cross-platform.

    Friends, I'm not saying that tools like zx are not good. I do like to write some scripts using js/ts. I believe pythoners prefer https://xon.sh/ . Perl is also attractive and interesting. Fish is friendly.

    However, I still believe that posix-shell has its own advantages. The balance among size, code length, and expressiveness. I think the only possible competitors are tcl and perl, maybe lua.

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

    If I want to write better shell scripts I usually run shellcheck and adjust accordingly or if I need facilities not provided by the shell i switch to a full fledged programming language. Ans oh yes, `sh` is present almost on every BSD and Linux box for free so I consider it an important thing to at least be comfortable with.

    shellcheck: https://www.shellcheck.net/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you konow that JavaScript is
the 3rd most popular programming language
based on number of metions?