Bash is great, but when it comes to writing scripts, people usually choose a more convenient programming language. JavaScript is a perfect choice, but the standard Node.js library requires additional hassle before use. The zx package provides useful wrappers around child_process, escapes arguments, and gives sensible defaults. Write your scripts in a file with .mjs extension in order to be able to use await on top level. If you prefer the .js extension, wrap your scripts in something like void async function.

Features

  • All functions ($, cd, fetch, etc) are available straight away without any imports
  • Packages are available without importing inside scripts
  • If only the exitCode is needed, you can use the next code instead
  • Write your scripts in a file with .mjs extension
  • The zx also provides a few experimental functions
  • The zx package provides useful wrappers around child_process

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow zx

zx Web Site

Other Useful Business Software
PairSoft | AP Automation and Doc Management Icon
PairSoft | AP Automation and Doc Management

Free your team from manual processes.

Streamline operations and elevate your team's efficiency with PairSoft. Our AP automation, procurement, and document management solutions eliminate manual processes, cut costs, and free your team to focus on strategic initiatives. Experience our state-of-the-art invoice-to-pay solution, now integrated with advanced AI technology for faster, smarter results. Our customers report a significant 70% reduction in approval times and annual savings of $62,000 in employee hours. At PairSoft, we aim to transform your business operations through automation. Explore the future of automation at pairsoft.com, where you can leverage cutting-edge features like invoice capture, OCR, and comprehensive AP automation to transform your workflow. Whether you are a small business or a large enterprise, our solutions are designed to scale with your needs, providing robust functionality and ease of use. Join the growing number of businesses that trust PairSoft.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of zx!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software, JavaScript Code Generators

Registered

2022-04-08