A shell command executor that runs commands sequentially in a queue, supporting promises and event-based control. Version 3.0.0 is the latest stable release. It allows execution of shell commands as strings or arrays, captures stdout/stderr, supports changing working directories via cd, and provides kill/event features. Unlike parallel executors like execa, exeq enforces sequential execution by default. The package has a small footprint with no dependencies, but is not actively maintained (last release 2019). It works in Node.js environments (>= 0.10) but does not support ESM or TypeScript natively.
npm install exeqNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Runs a series of shell commands sequentially, prints stdout per command, and catches errors.
Use absolute paths or explicit 'cd' to change directory as needed.
Access err.stderr for stderr output and err.code for exit code.
Use 'stdout' event name (or check documentation for actual event names).
Use .catch to handle errors; remaining commands are not executed after failure.
Update to Promise usage: exeq(commands).then(...).catch(...).
Be aware of shell injection risks; sanitize user input.
Use const exeq = require('exeq') or import exeq from 'exeq'.Attach .catch(err => console.error(err.stderr || err.message)).
Verify command exists and is in PATH; use absolute paths if needed.
Ensure Promise is resolved; check results inside .then().
No dependency data recorded yet.