dax VS node-spawn-async

Compare dax vs node-spawn-async and see what are their differences.

dax

Cross-platform shell tools for Deno and Node.js inspired by zx. (by dsherret)

node-spawn-async

spawn child processes asynchronously (by TritonDataCenter)
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.
surveyjs.io
featured
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.
www.influxdata.com
featured
dax node-spawn-async
4 1
927 20
- -
8.6 10.0
7 days ago over 2 years ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

dax

Posts with mentions or reviews of dax. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.
  • Bun 1.1
    17 projects | news.ycombinator.com | 1 Apr 2024
    > Also with Deno, it become very easy to write typed cli. .ts file can be run as script very easily with permission access defined on top of the script such as:

    I do this all the time. I used to use npx in my hashbang line to run TS scripts with node, but I've started using Deno more because of the permissions. Another great package for shell scripting with Deno is Dax, which is like the Deno version of Bun shell: https://github.com/dsherret/dax

    > Also project such as https://cliffy.io has made writing cli way more enjoyable than node.

    This looks cool. I've always used the npm package inquirer (which also works with Deno), but I'll have to compare cliffy to that and see how it stacks up.

    > Hono (projects conform to modern web standard, and is runtime agnostic for JS)

    Hono is awesome. It's fast, very well typed, runs on all JS runtimes, and has zero dependencies.

  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    Great point! According to https://github.com/oven-sh/bun/blob/b433beb016470b87850f3c01..., Bun Shell took inspiration from zx[0], dax[1] and bnx[2]

    [0]: https://github.com/google/zx

    [1]: https://github.com/dsherret/dax

    [2]: https://github.com/wobsoriano/bnx

  • Create scripts in JavaScript with zx
    1 project | /r/javascript | 26 Apr 2023
    Found a good alternative for deno: https://github.com/dsherret/dax

node-spawn-async

Posts with mentions or reviews of node-spawn-async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-20.
  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    One thing that surprised me about Node was how slow the default way to shelling out (child_process) could be (probably https://github.com/nodejs/node/issues/14917).

    Although according to the linked issue, it has been "fixed", I still ran into a problem during a batch script that was calling imagemagick through a shell for each file in a massive directory; profiling was telling me that starting (not completing) (yes, I was using the async version) the child process increasingly slows, from sub-millisecond for the first few spawns, to eventually hundreds of milliseconds or seconds... Eventually I had to resort to doing only single spawn a bash script that in turn did all the shelling out.

    It seems that the linked execa still relies on child_process and therefore has the same issue. It saddens me to see the only package for node that appears to actually fix this and provide a workaround seems to be https://github.com/TritonDataCenter/node-spawn-async and unmaintained.

What are some alternatives?

When comparing dax and node-spawn-async you can also consider the following projects:

cinnamon - A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.

murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)

awesome-tagged-templates - A list of libraries and learning resources for ES2015 tagged template literals

zx - A tool for writing better scripts

exa-kernel - EXA Kernel

bnx - zx inspired shell for Bun.