npmjs.org : esc-get-cmd-stdout-array-promise
Runs the provided command and returns a promise that resolves with array of lines of stdout. onError can be 'empty' to receive an empty array regardless of error, 'exit' (process) else reject the promise.
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/esc-get-cmd-stdout-array-promise
Keywords:
no dependencies
, simple
, command execution
, cli
, promise
, stdout
, stdout array lines
, error handling
, small package
, lightweight
, script debugging
, async/await
, zx
, zx alternative
, command line interface
, robust
, MIT license
, reliable
License: MIT
Latest release: 7 months ago
First release: 8 months ago
Downloads: 27 last month
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago
softwarecreations
15 packages871 downloads