75lb

75lb/object-to-spawn-args

Converts an options object to an array suitable for passing to child_process.spawn()

JavaScript
5
0
MIT License

This Node.js package converts an options object into an array of command-line arguments suitable for passing to `child_process.spawn()`. It automatically formats single-letter properties as short options (e.g., `-c`) and longer properties as long options (e.g., `--name`), with boolean `true` values becoming flags. The tool is designed for Node.js developers who need to programmatically construct command-line arguments from JavaScript objects when spawning child processes.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

75lb's profile
75lb
26 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet