node-spawn-async

spawn child processes asynchronously (by TritonDataCenter)

Node-spawn-async Alternatives

Similar projects and alternatives to node-spawn-async

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better node-spawn-async alternative or higher similarity.

node-spawn-async reviews and mentions

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.

Stats

Basic node-spawn-async repo stats
1
20
10.0
over 2 years ago

TritonDataCenter/node-spawn-async is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of node-spawn-async is JavaScript.


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