{"library":"node-run-cmd","type":"library","category":null,"description":"node-run-cmd is a Node.js package designed to execute console or terminal commands programmatically. It supports both single and multiple commands, with options for sequential or parallel execution. The current stable version is 1.0.1, marking its initial public release. It offers robust control over command execution, including setting working directories, environment variables, detached mode, and callbacks for data, errors, and completion. It returns promises for asynchronous handling and also supports a callback style. Key differentiators include its detailed options object for fine-grained control over child processes and the ability to define different working directories for individual commands within an array. The package explicitly cautions against its use for cross-platform applications or when `node-fs-extra` can accomplish filesystem-related tasks more effectively, positioning itself as a solution for specific, platform-dependent command execution needs.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","node","console","terminal","bash","command","shell"],"install":[{"cmd":"npm install node-run-cmd","imports":["const nrc = require('node-run-cmd');"]},{"cmd":"yarn add node-run-cmd","imports":[]},{"cmd":"pnpm add node-run-cmd","imports":[]}],"homepage":null,"github":"https://github.com/c-h-/node-run-cmd","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-run-cmd","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-run-cmd/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}