npm.io

Stdout array lines Packages

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.

no dependenciessimplecommand executionclipromisestdoutstdout array lineserror handlingsmall packagelightweight
0.1.7 • Published 9 months ago

contact@npm.io