Allow transform streams convert output to an array of any objects, instead of a single string · Issue #21 · sindresorhus/execa · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to think through the ideal API for this and #20 as well, but something like:
execa('./cli',[],{transforms: {// shortcut to a built-in transform we providestdout: 'line',stderr: through2(function(chunk,encoding,callback){// custom processing here})}}).then(function(result){result.stdout;// => an array of linesresult.stderr;// => an array of whatever the custom transform emits});
The text was updated successfully, but these errors were encountered:
We need to think through the ideal API for this and #20 as well, but something like:
The text was updated successfully, but these errors were encountered: