Zx is good if JavaScript is only language you know. If you have ability to program or learn other programming languages, Python with packages like Shell and Plumbum might be better choices for shell scripting tasks that outgrow shell.
- Python code with Shell is easier to read ana write
- No nees to carry async/await keywords thru the code
- Python code with Shell is easier to read ana write
- No nees to carry async/await keywords thru the code
- Powerful plain text manipulation in the stdlib
https://pypi.org/project/python-shell/
https://plumbum.readthedocs.io/en/latest/